public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+e126b819d8187b282d44@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Forwarded: KMSAN: uninit-value in hfsplus_strcasecmp
Date: Fri, 26 Sep 2025 22:31:25 -0700	[thread overview]
Message-ID: <68d776ad.a70a0220.10c4b.000a.GAE@google.com> (raw)
In-Reply-To: <0000000000001c59010612fd7c60@google.com>

For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.

***

Subject: KMSAN: uninit-value in hfsplus_strcasecmp
Author: rampxxxx@gmail.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

  parent reply	other threads:[~2025-09-27  5:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06 12:56 [syzbot] [hfs?] KMSAN: uninit-value in hfsplus_strcasecmp syzbot
2024-03-29  8:02 ` syzbot
2025-09-26 19:25 ` Forwarded: " syzbot
2025-09-27  5:31 ` syzbot [this message]
2025-09-27  5:44 ` syzbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=68d776ad.a70a0220.10c4b.000a.GAE@google.com \
    --to=syzbot+e126b819d8187b282d44@syzkaller.appspotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox