From: Youngmin Nam <youngmin.nam@samsung.com>
To: Joel Fernandes <joelagnelf@nvidia.com>
Cc: paulmck@kernel.org,
syzbot <syzbot+ae5b16688c0c675b1a1f@syzkaller.appspotmail.com>,
jiangshanlai@gmail.com, josh@joshtriplett.org,
linux-kernel@vger.kernel.org, mathieu.desnoyers@efficios.com,
rcu@vger.kernel.org, rostedt@goodmis.org,
syzkaller-bugs@googlegroups.com, youngmin.nam@samsung.com,
joonki.min@samsung.com, jkkkkk.choi@samsung.com,
d7271.choe@samsung.com
Subject: Re: [syzbot] [rcu?] WARNING in srcu_invoke_callbacks (2)
Date: Wed, 6 Aug 2025 17:24:02 +0900 [thread overview]
Message-ID: <aJMRIm7+KlCqT5hB@perf> (raw)
In-Reply-To: <2c367857-e1a5-4235-94f4-724441e94968@nvidia.com>
[-- Attachment #1: Type: text/plain, Size: 2811 bytes --]
On Wed, Feb 19, 2025 at 10:09:06AM -0500, Joel Fernandes wrote:
>
>
> On 2/19/2025 8:58 AM, Paul E. McKenney wrote:
> > On Wed, Feb 19, 2025 at 08:25:38AM -0500, Joel Fernandes wrote:
> >> On Tue, Feb 18, 2025 at 09:47:27AM -0800, syzbot wrote:
> >>> Hello,
> >>>
> >>> syzbot found the following issue on:
> >>>
> >>> HEAD commit: a64dcfb451e2 Linux 6.14-rc2
> >>> git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
> >>> console output: https://syzkaller.appspot.com/x/log.txt?x=12398f18580000
> >>> kernel config: https://syzkaller.appspot.com/x/.config?x=c9c47badcd079906
> >>> dashboard link: https://syzkaller.appspot.com/bug?extid=ae5b16688c0c675b1a1f
> >>> compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
> >>> userspace arch: arm64
> >>>
> >>> Unfortunately, I don't have any reproducer for this issue yet.
> >>>
> >>> Downloadable assets:
> >>> disk image: https://storage.googleapis.com/syzbot-assets/c0a862fcec77/disk-a64dcfb4.raw.xz
> >>> vmlinux: https://storage.googleapis.com/syzbot-assets/f03793fc001b/vmlinux-a64dcfb4.xz
> >>> kernel image: https://storage.googleapis.com/syzbot-assets/ae71c33eae14/Image-a64dcfb4.gz.xz
> >>>
> >>> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> >>> Reported-by: syzbot+ae5b16688c0c675b1a1f@syzkaller.appspotmail.com
> >>>
> >>> ------------[ cut here ]------------
> >>> WARNING: CPU: 0 PID: 6430 at kernel/rcu/srcutree.c:1798 srcu_invoke_callbacks+0x368/0x3d8
> >>
> >> This is weird, happens to be WARN_ON_ONCE(ready_cbs.len); in
> >> srcu_invoke_callbacks().
> >
> > Thank you for tracking that down!
>
> Sure!
>
> >> Perhaps, stack corruption or the SRCU cblist's ->seglen got corrupted?
> >
> > That has been the usual cause. And a double call_srcu() is a common
> > cause of ->cblist corruption. We have CONFIG_DEBUG_OBJECTS_RCU_HEAD=y
> > set up for SRCU as well as for RCU, it appears, so perhaps retry with
> > that should this ever become reproducible?
> Makes sense, will keep an eye out for it!
>
> thanks,
>
> - Joel
>
Hello all,
syzbot reports that this issue is still occurring on recent kernels,
for example 6.16 (see https://syzkaller.appspot.com/bug?extid=ae5b16688c0c675b1a1f).
And the "CONFIG_DEBUG_OBJECTS_RCU_HEAD=y" has been set as well.
(see https://syzkaller.appspot.com/text?tag=KernelConfig&x=dcbf08d90aa89bca)
But there were no logs related with double call_srcu().
(see https://syzkaller.appspot.com/text?tag=CrashLog&x=13e40434580000)
Unfortunately we don’t yet have a simple reproducer to reliably trigger the warning.
Could you please advise whether a patch for this has already landed in mainline,
or suggest any additional methods we could use to further validate and test it?
Thanks.
Youngmin
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
prev parent reply other threads:[~2025-08-06 8:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-18 17:47 [syzbot] [rcu?] WARNING in srcu_invoke_callbacks (2) syzbot
2025-02-19 13:25 ` Joel Fernandes
2025-02-19 13:58 ` Paul E. McKenney
2025-02-19 15:09 ` Joel Fernandes
[not found] ` <CGME20250806081852epcas2p31662b77b33cb6ade6f7a5e85d53d6865@epcas2p3.samsung.com>
2025-08-06 8:24 ` Youngmin Nam [this message]
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=aJMRIm7+KlCqT5hB@perf \
--to=youngmin.nam@samsung.com \
--cc=d7271.choe@samsung.com \
--cc=jiangshanlai@gmail.com \
--cc=jkkkkk.choi@samsung.com \
--cc=joelagnelf@nvidia.com \
--cc=joonki.min@samsung.com \
--cc=josh@joshtriplett.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=paulmck@kernel.org \
--cc=rcu@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=syzbot+ae5b16688c0c675b1a1f@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;
as well as URLs for NNTP newsgroup(s).