From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+7d1563afac6cb196a444@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [fs?] KASAN: use-after-free Read in hpfs_count_dnodes
Date: Tue, 28 Oct 2025 23:10:29 +0800 [thread overview]
Message-ID: <tencent_BC66CF1362C363496C83ADE45C377E776D05@qq.com> (raw)
In-Reply-To: <68ffe16b.050a0220.3344a1.039f.GAE@google.com>
#syz test
diff --git a/fs/hpfs/map.c b/fs/hpfs/map.c
index be73233502f8..9036f1ee581d 100644
--- a/fs/hpfs/map.c
+++ b/fs/hpfs/map.c
@@ -257,7 +257,7 @@ struct dnode *hpfs_map_dnode(struct super_block *s, unsigned secno,
struct quad_buffer_head *qbh)
{
struct dnode *dnode;
- if (hpfs_sb(s)->sb_chk) {
+ /*if (hpfs_sb(s)->sb_chk)*/ {
if (hpfs_chk_sectors(s, secno, 4, "dnode")) return NULL;
if (secno & 3) {
hpfs_error(s, "dnode %08x not byte-aligned", secno);
next prev parent reply other threads:[~2025-10-28 15:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-27 21:17 syzbot
2025-10-28 15:10 ` Edward Adam Davis [this message]
2025-10-28 16:13 ` 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_BC66CF1362C363496C83ADE45C377E776D05@qq.com \
--to=eadavis@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+7d1563afac6cb196a444@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®