[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_A1836F2960A3B98451B765576926CA937305@qq.com>
Date: Sun, 31 Dec 2023 08:24:36 +0800
From: Edward Adam Davis <eadavis@...com>
To: syzbot+6450929faa7a97cd42d1@...kaller.appspotmail.com
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [reiserfs?] KMSAN: uninit-value in reiserfs_new_inode (2)
please test uninit-value in reiserfs_new_inode
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 861deac3b092
diff --git a/fs/reiserfs/namei.c b/fs/reiserfs/namei.c
index 994d6e6995ab..3a824fb170d5 100644
--- a/fs/reiserfs/namei.c
+++ b/fs/reiserfs/namei.c
@@ -638,6 +638,10 @@ static int reiserfs_create(struct mnt_idmap *idmap, struct inode *dir,
if (retval)
return retval;
+#ifdef DISPLACE_NEW_PACKING_LOCALITIES
+ REISERFS_I(dir)->new_packing_locality = 0;
+#endif
+
if (!(inode = new_inode(dir->i_sb))) {
return -ENOMEM;
}
Powered by blists - more mailing lists