[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <67e0aef7.050a0220.a7ebc.0007.GAE@google.com>
Date: Sun, 23 Mar 2025 18:01:43 -0700
From: syzbot <syzbot+7ea0b96c4ddb49fd1a70@...kaller.appspotmail.com>
To: linux-kernel@...r.kernel.org
Subject: Re: [syzbot] Re: [syzbot] [ocfs2?] KMSAN: uninit-value in _find_next_bit
For archival purposes, forwarding an incoming command email to
linux-kernel@...r.kernel.org.
***
Subject: Re: [syzbot] [ocfs2?] KMSAN: uninit-value in _find_next_bit
Author: lizhi.xu@...driver.com
#syz test
diff --git a/fs/ocfs2/quota_local.c b/fs/ocfs2/quota_local.c
index 2956d888c131..cc8bb0650b8f 100644
--- a/fs/ocfs2/quota_local.c
+++ b/fs/ocfs2/quota_local.c
@@ -309,6 +309,9 @@ static int ocfs2_add_recovery_chunk(struct super_block *sb,
}
memcpy(rc->rc_bitmap, dchunk->dqc_bitmap,
(ol_chunk_entries(sb) + 7) >> 3);
+ printk("bitmap has been memcpy to rc, %s\n", __func__);
+ for_each_set_bit(bit, rc->rc_bitmap, ol_chunk_entries(sb));
+ printk("bitmap has been inited, %s\n", __func__);
list_add_tail(&rc->rc_list, head);
return 0;
}
Powered by blists - more mailing lists