[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <68d776ad.a70a0220.10c4b.000a.GAE@google.com>
Date: Fri, 26 Sep 2025 22:31:25 -0700
From: syzbot <syzbot+e126b819d8187b282d44@...kaller.appspotmail.com>
To: linux-kernel@...r.kernel.org
Subject: Forwarded: KMSAN: uninit-value in hfsplus_strcasecmp
For archival purposes, forwarding an incoming command email to
linux-kernel@...r.kernel.org.
***
Subject: KMSAN: uninit-value in hfsplus_strcasecmp
Author: rampxxxx@...il.com
#syz test
---
fs/hfsplus/bfind.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/hfsplus/bfind.c b/fs/hfsplus/bfind.c
index 901e83d65d20..75f1c029c2ed 100644
--- a/fs/hfsplus/bfind.c
+++ b/fs/hfsplus/bfind.c
@@ -18,7 +18,7 @@ int hfs_find_init(struct hfs_btree *tree, struct
hfs_find_data *fd)
fd->tree = tree;
fd->bnode = NULL;
- ptr = kmalloc(tree->max_key_len * 2 + 4, GFP_KERNEL);
+ ptr = kzalloc(tree->max_key_len * 2 + 4, GFP_KERNEL);
if (!ptr)
return -ENOMEM;
fd->search_key = ptr;
--
2.50.1
Powered by blists - more mailing lists