lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_FFC5C6E792E24668C997EEDB6ED34CA52706@qq.com>
Date: Sat, 22 Mar 2025 16:41:59 +0800
From: Edward Adam Davis <eadavis@...com>
To: syzbot+7ea0b96c4ddb49fd1a70@...kaller.appspotmail.com
Cc: linux-kernel@...r.kernel.org,
	syzkaller-bugs@...glegroups.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..03a66d75be8b 100644
--- a/fs/ocfs2/quota_local.c
+++ b/fs/ocfs2/quota_local.c
@@ -307,6 +307,9 @@ static int ocfs2_add_recovery_chunk(struct super_block *sb,
 		kfree(rc);
 		return -ENOMEM;
 	}
+	printk("ents: %u, sb: %p, chunk: %d, blksize: %lu, rcb: %p, inited size: %d, %s\n",
+               ol_chunk_entries(sb), sb, chunk, sb->s_blocksize, rc->rc_bitmap,
+               (ol_chunk_entries(sb) + 7) >> 3, __func__);
 	memcpy(rc->rc_bitmap, dchunk->dqc_bitmap,
 	       (ol_chunk_entries(sb) + 7) >> 3);
 	list_add_tail(&rc->rc_list, head);
@@ -485,6 +488,8 @@ static int ocfs2_recover_local_quota_file(struct inode *lqinode,
 			break;
 		}
 		dchunk = (struct ocfs2_local_disk_chunk *)hbh->b_data;
+		printk("ents: %u, sb: %p, chunk: %d, blksize: %lu, rcb: %p, offset: %d, %s\n",
+                       ol_chunk_entries(sb), sb, chunk, sb->s_blocksize, rchunk->rc_bitmap, bit, __func__);
 		for_each_set_bit(bit, rchunk->rc_bitmap, ol_chunk_entries(sb)) {
 			qbh = NULL;
 			status = ocfs2_read_quota_block(lqinode,


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ