From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+eaba5abe296837a640c0@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [ext4?] KMSAN: uninit-value in ext4_inlinedir_to_tree
Date: Tue, 30 Apr 2024 13:34:02 +0800 [thread overview]
Message-ID: <tencent_7437344BBA742F76EB67C63D0F362897D209@qq.com> (raw)
In-Reply-To: <000000000000440b0a06173e6ca8@google.com>
please test uv in ext4_inlinedir_to_tree
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index 5e4f65c14dfb..3611952570a7 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -1182,7 +1182,7 @@ static int htree_dirblock_to_tree(struct file *dir_file,
int ext4_htree_fill_tree(struct file *dir_file, __u32 start_hash,
__u32 start_minor_hash, __u32 *next_hash)
{
- struct dx_hash_info hinfo;
+ struct dx_hash_info hinfo = {};
struct ext4_dir_entry_2 *de;
struct dx_frame frames[EXT4_HTREE_LEVEL], *frame;
struct inode *dir;
next prev parent reply other threads:[~2024-04-30 5:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-29 16:05 syzbot
2024-04-30 5:34 ` Edward Adam Davis [this message]
2024-04-30 7:35 ` syzbot
2024-04-30 7:13 ` [syzbot] " syzbot
2024-04-30 17:28 ` syzbot
[not found] <CABtBSaYXM0jR-HovWtxiX+KWhmL7M0aDwo6w488igKgkrCOyJg@mail.gmail.com>
2024-04-30 8:47 ` [syzbot] [ext4?] " syzbot
[not found] <CABtBSaZ-Qqb0ZB7CC1JMuO2pkT6YmRvibhb67x=QkOQMCdq8ow@mail.gmail.com>
2024-04-30 20:09 ` 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=tencent_7437344BBA742F76EB67C63D0F362897D209@qq.com \
--to=eadavis@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+eaba5abe296837a640c0@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/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
all inboxes | Powered by JetHome®