From: Zheng Shuhao <viennaoffh@gmail.com>
To: "Carlos Maiolino" <cem@kernel.org>
Cc: linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org,
syzbot+e7f24354da9f7915bc54@syzkaller.appspotmail.com
Subject: Re: [PATCH] xfs: fix slab-use-after-free in xrep_newbt_free()
Date: Fri, 16 Oct 2026 22:16:18 +0800 [thread overview]
Message-ID: <6ad231b5.6655ddc8.1e37bf.a74a@mx.google.com> (raw)
In-Reply-To: <atIj2DeA3TOMJQ2-@cronus.toxiclabs.cc>
Hi Carlos,
Thank you for the pointer, and my apologies for the confusion. This is
my first patch submission to the Linux kernel, and I was not aware of the
known-identity requirement for patch authorship and Signed-off-by.
Understood now; I will use my real name for all future submissions:
Zheng Shuhao <viennaoffh@gmail.com>
(vienna-0FFH was my GitHub handle only.)
For reference, this is the testing I did on the patch before posting:
* Built the patched tree with KASAN + XFS_DEBUG enabled; checkpatch.pl
--strict reports 0 errors and 0 warnings.
* Reproduced the use-after-free deterministically in QEMU on an
unpatched kernel; the KASAN splat matches the syzbot report exactly
(xfs_defer_item_unpause <- xrep_newbt_free <- xrep_bmap_build_new_fork,
and the xfs_defer_pending object is freed by xfs_defer_finish_noroll).
* With the patch applied, the same trigger produces no KASAN report: the
scrub ioctl just returns -EIO and the shutdown path unwinds cleanly.
* Regression runs on the patched kernel: all metadata scrub types,
invalid scrub inputs (bad flags/generation/agno/type), and forced bmap
btree rebuilds from 5 up to 1500 extents (covering both extents- and
btree-format forks), with read-back verification of the files. No
regressions; normal scrub/repair paths still succeed.
I can share the reproducer and test scripts if that is useful.
Would you prefer that I resend this as v2 with the correct
From:/Signed-off-by: lines, or can you fix up the authorship when
applying? Either way works for me.
Thanks,
Zheng Shuhao
next prev parent reply other threads:[~2026-10-16 14:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-16 8:55 [PATCH] xfs: fix slab-use-after-free in xrep_newbt_free() vienna-0FFH
2026-10-16 13:17 ` Carlos Maiolino
2026-10-16 14:16 ` Zheng Shuhao [this message]
2026-10-16 15:23 ` Darrick J. Wong
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=6ad231b5.6655ddc8.1e37bf.a74a@mx.google.com \
--to=viennaoffh@gmail.com \
--cc=cem@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=syzbot+e7f24354da9f7915bc54@syzkaller.appspotmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.