[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250326030457.83426-1-richard120310@gmail.com>
Date: Wed, 26 Mar 2025 11:04:57 +0800
From: I Hsin Cheng <richard120310@...il.com>
To: syzbot+7ea0b96c4ddb49fd1a70@...kaller.appspotmail.com
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com,
I Hsin Cheng <richard120310@...il.com>
Subject: Re: [syzbot] [ocfs2?] KMSAN: uninit-value in _find_next_bit
#syz test
diff --git a/fs/ocfs2/quota_local.c b/fs/ocfs2/quota_local.c
index 2956d888c131..3f57fdeb72fa 100644
--- a/fs/ocfs2/quota_local.c
+++ b/fs/ocfs2/quota_local.c
@@ -307,8 +307,7 @@ static int ocfs2_add_recovery_chunk(struct super_block *sb,
kfree(rc);
return -ENOMEM;
}
- memcpy(rc->rc_bitmap, dchunk->dqc_bitmap,
- (ol_chunk_entries(sb) + 7) >> 3);
+ memcpy(rc->rc_bitmap, dchunk->dqc_bitmap, ol_chunk_entries(sb));
list_add_tail(&rc->rc_list, head);
return 0;
}
Powered by blists - more mailing lists