From: Qing Wang <wangqing7171@gmail.com>
To: syzbot+7c31755f2cea07838b0c@syzkaller.appspotmail.com
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
miklos@szeredi.hu, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [fuse?] KMSAN: uninit-value in fuse_fileattr_get
Date: Fri, 6 Feb 2026 14:00:17 +0800 [thread overview]
Message-ID: <20260206060017.1208322-1-wangqing7171@gmail.com> (raw)
In-Reply-To: <698561f9.a00a0220.34fa92.0022.GAE@google.com>
#syz test
diff --git a/fs/file_attr.c b/fs/file_attr.c
index 13cdb31a3e94..8b5565cbccb0 100644
--- a/fs/file_attr.c
+++ b/fs/file_attr.c
@@ -377,7 +377,7 @@ SYSCALL_DEFINE5(file_getattr, int, dfd, const char __user *, filename,
struct filename *name __free(putname) = NULL;
unsigned int lookup_flags = 0;
struct file_attr fattr;
- struct file_kattr fa;
+ struct file_kattr fa = {};
int error;
BUILD_BUG_ON(sizeof(struct file_attr) < FILE_ATTR_SIZE_VER0);
next prev parent reply other threads:[~2026-02-06 6:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-06 3:37 syzbot
2026-02-06 3:46 ` Qing Wang
2026-02-06 4:16 ` syzbot
2026-02-06 5:50 ` Edward Adam Davis
2026-02-06 6:20 ` syzbot
2026-02-06 6:00 ` Qing Wang [this message]
2026-02-06 6:53 ` syzbot
2026-02-06 6:20 ` [PATCH] fs: init flags_valid before calling vfs_fileattr_get Edward Adam Davis
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=20260206060017.1208322-1-wangqing7171@gmail.com \
--to=wangqing7171@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=syzbot+7c31755f2cea07838b0c@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®