[syzbot] [net?] WARNING: suspicious RCU usage in corrupted (3)

7 views
Skip to first unread message

syzbot

unread,
May 26, 2025, 4:39:38 AM5/26/25
to and...@kernel.org, da...@davemloft.net, edum...@google.com, ho...@kernel.org, ku...@kernel.org, linux-...@vger.kernel.org, net...@vger.kernel.org, pab...@redhat.com, syzkall...@googlegroups.com, t...@kernel.org, yang...@kylinos.cn
Hello,

syzbot found the following issue on:

HEAD commit: 079e5c56a5c4 bpf: Fix error return value in bpf_copy_from_..
git tree: bpf-next
console output: https://syzkaller.appspot.com/x/log.txt?x=12739ad4580000
kernel config: https://syzkaller.appspot.com/x/.config?x=c6c517d2f439239
dashboard link: https://syzkaller.appspot.com/bug?extid=9767c7ed68b95cfa69e6
compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=114915f4580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15566170580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/8d7d35d067bc/disk-079e5c56.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/74d2648ea7f4/vmlinux-079e5c56.xz
kernel image: https://storage.googleapis.com/syzbot-assets/e751e253ee4f/bzImage-079e5c56.xz

The issue was bisected to:

commit ee971630f20fd421fffcdc4543731ebcb54ed6d0
Author: Feng Yang <yang...@kylinos.cn>
Date: Tue May 6 06:14:33 2025 +0000

bpf: Allow some trace helpers for all prog types

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=130ddad4580000
final oops: https://syzkaller.appspot.com/x/report.txt?x=108ddad4580000
console output: https://syzkaller.appspot.com/x/log.txt?x=170ddad4580000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+9767c7...@syzkaller.appspotmail.com
Fixes: ee971630f20f ("bpf: Allow some trace helpers for all prog types")

=============================
WARNING: suspicious RCU usage
6.15.0-rc4-syzkaller-g079e5c56a5c4 #0 Not tainted
-----------------------------
net/core/netclassid_cgroup.c:24 suspicious rcu_dereference_check() usage!

other info that might help us debug this:


rcu_scheduler_active = 2,


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
For information about bisection process see: https://goo.gl/tpsmEJ#bisection

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Sep 8, 2025, 4:12:05 PM9/8/25
to alexei.st...@gmail.com, and...@kernel.org, a...@kernel.org, b...@vger.kernel.org, char...@posteo.net, dan...@iogearbox.net, da...@davemloft.net, edd...@gmail.com, edum...@google.com, hao...@google.com, ho...@kernel.org, jiayua...@linux.dev, john.fa...@gmail.com, jo...@kernel.org, kps...@kernel.org, ku...@kernel.org, linux-...@vger.kernel.org, linux-k...@vger.kernel.org, marti...@linux.dev, myk...@fb.com, net...@vger.kernel.org, pab...@redhat.com, s...@fomichev.me, sh...@kernel.org, so...@kernel.org, syzkall...@googlegroups.com, t...@kernel.org, yang...@kylinos.cn, yongho...@linux.dev
syzbot suspects this issue was fixed by commit:

commit 7f12c33850482521c961c5c15a50ebe9b9a88d1e
Author: Charalampos Mitrodimas <char...@posteo.net>
Date: Wed Jun 11 17:20:43 2025 +0000

net, bpf: Fix RCU usage in task_cls_state() for BPF programs

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=13745562580000
start commit: 079e5c56a5c4 bpf: Fix error return value in bpf_copy_from_..
git tree: bpf-next
If the result looks correct, please mark the issue as fixed by replying with:

#syz fix: net, bpf: Fix RCU usage in task_cls_state() for BPF programs

Charalampos Mitrodimas

unread,
Sep 14, 2025, 7:37:19 PM9/14/25
to syzbot, alexei.st...@gmail.com, and...@kernel.org, a...@kernel.org, b...@vger.kernel.org, dan...@iogearbox.net, da...@davemloft.net, edd...@gmail.com, edum...@google.com, hao...@google.com, ho...@kernel.org, jiayua...@linux.dev, john.fa...@gmail.com, jo...@kernel.org, kps...@kernel.org, ku...@kernel.org, linux-...@vger.kernel.org, linux-k...@vger.kernel.org, marti...@linux.dev, myk...@fb.com, net...@vger.kernel.org, pab...@redhat.com, s...@fomichev.me, sh...@kernel.org, so...@kernel.org, syzkall...@googlegroups.com, t...@kernel.org, yang...@kylinos.cn, yongho...@linux.dev
Correct, also did test-run to make sure.

#syz fix: net, bpf: Fix RCU usage in task_cls_state() for BPF programs

C. Mitrodimas
Reply all
Reply to author
Forward
0 new messages