From: syzbot <syzbot+c32ff62cf4913d345d0c@syzkaller.appspotmail.com>
To: parri.andrea@gmail.com
Cc: parri.andrea@gmail.com, linux-kernel@vger.kernel.org,
syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [xfs?] KASAN: slab-use-after-free Write in xlog_cil_push_work
Date: Thu, 26 Nov 2026 08:14:48 -0800 [thread overview]
Message-ID: <6b085af8.28411dd9.2968b4.0005.GAE@google.com> (raw)
In-Reply-To: <20261126161439.154819-1-parri.andrea@gmail.com>
> #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
Patch testing via #syz test is temporarily disabled.
See https://github.com/google/syzkaller/issues/8122 for details.
>
> diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c
> index 6c93b4f5629c1..4acd0c3451da9 100644
> --- a/fs/xfs/xfs_buf.c
> +++ b/fs/xfs/xfs_buf.c
> @@ -1382,6 +1382,9 @@ xfs_buf_submit(
>
> ASSERT(!(bp->b_flags & _XBF_DELWRI_Q));
>
> + if (bp->b_flags & XBF_WRITE)
> + xfs_buf_wait_unpin(bp);
> +
> /*
> * On log shutdown we stale and complete the buffer immediately. We can
> * be called to read the superblock before the log has been set up, so
> @@ -1402,9 +1405,6 @@ xfs_buf_submit(
> goto ioerror;
> }
>
> - if (bp->b_flags & XBF_WRITE)
> - xfs_buf_wait_unpin(bp);
> -
> /*
> * Make sure we capture only current IO errors rather than stale errors
> * left over from previous use of the buffer (e.g. failed readahead).
next parent reply other threads:[~2026-11-26 16:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20261126161439.154819-1-parri.andrea@gmail.com>
2026-11-26 16:14 ` syzbot [this message]
2026-09-22 0:13 syzbot
2026-09-26 1:31 ` 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=6b085af8.28411dd9.2968b4.0005.GAE@google.com \
--to=syzbot+c32ff62cf4913d345d0c@syzkaller.appspotmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=parri.andrea@gmail.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®