mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+7ea0b96c4ddb49fd1a70@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [ocfs2?] KMSAN: uninit-value in _find_next_bit
Date: Sun, 23 Mar 2025 18:17:07 +0800	[thread overview]
Message-ID: <tencent_2E6078366F502DC96E3897D0EBBAED7ACE0A@qq.com> (raw)
In-Reply-To: <67ddd191.050a0220.25ae54.006a.GAE@google.com>

#syz test

diff --git a/fs/ocfs2/quota_local.c b/fs/ocfs2/quota_local.c
index 2956d888c131..a6e8376045b5 100644
--- a/fs/ocfs2/quota_local.c
+++ b/fs/ocfs2/quota_local.c
@@ -307,6 +307,12 @@ 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__);
+	int bit;
+	for_each_set_bit(bit, (void*)dchunk->dqc_bitmap, ol_chunk_entries(sb));
+	printk("dqc_bitmap inited all chunk entires. %s\n", __func__);
 	memcpy(rc->rc_bitmap, dchunk->dqc_bitmap,
 	       (ol_chunk_entries(sb) + 7) >> 3);
 	list_add_tail(&rc->rc_list, head);


  parent reply	other threads:[~2025-03-23 10:31 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-21 20:52 syzbot
2025-03-22  1:40 ` Edward Adam Davis
2025-03-22  6:02   ` syzbot
2025-03-22  8:41 ` Edward Adam Davis
2025-03-22  9:05   ` syzbot
2025-03-23  2:36 ` Edward Adam Davis
2025-03-23  9:52   ` syzbot
2025-03-23 10:17 ` Edward Adam Davis [this message]
2025-03-23 10:43   ` syzbot
2025-03-24  1:01 ` [syzbot] " syzbot
2025-03-24  1:39 ` syzbot
2025-03-26  1:09 ` [PATCH] " I Hsin Cheng
2025-03-26  1:23 ` I Hsin Cheng
2025-03-26  1:59   ` syzbot
2025-03-26  2:19 ` I Hsin Cheng
2025-03-26  2:43   ` syzbot
2025-03-26  3:04 ` I Hsin Cheng
2025-03-26  3:58   ` syzbot
2025-03-26  3:20 ` [syzbot] " syzbot
2026-04-17 10:12 ` Forwarded: [PATCH] ocfs2: zero-initialize quota recovery bitmap allocation syzbot
2026-04-17 16:21 ` Forwarded: Re: [syzbot] KMSAN: uninit-value in ocfs2_recover_local_quota_file syzbot
     [not found] <20250324010140.2046646-1-lizhi.xu@windriver.com>
2025-03-24  1:21 ` [syzbot] [ocfs2?] KMSAN: uninit-value in _find_next_bit syzbot
     [not found] <20250324013855.2122966-1-lizhi.xu@windriver.com>
2025-03-24  2:23 ` syzbot
     [not found] <20250326032012.83642-1-richard120310@gmail.com>
2025-03-26  4:15 ` syzbot
     [not found] <20260417101223.2490735-1-tristmd@gmail.com>
2026-04-17 12:37 ` syzbot
     [not found] <177644287136.3789634.17252147648817406714@talencesecurity.com>
2026-04-17 19:43 ` syzbot

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=tencent_2E6078366F502DC96E3897D0EBBAED7ACE0A@qq.com \
    --to=eadavis@qq.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+7ea0b96c4ddb49fd1a70@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®