=============================
WARNING: suspicious RCU usage
syzkaller #0 Not tainted
-----------------------------
net/sched/sch_api.c:304 suspicious rcu_dereference_protected() usage!
other info that might help us debug this:
rcu_scheduler_active = 2, debug_locks = 1
7 locks held by kworker/u4:8/4629:
#0: ffff88814d1ab938 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_one_work+0x761/0x1010 kernel/workqueue.c:-1
#1: ffffc90002f9fd00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x79f/0x1010 kernel/workqueue.c:2285
#2: ffffffff8c31eb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:312
#3: ffffffff8c31eb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:313
#4: ffff88802017b148 (dev->qdisc_running_key ?: &qdisc_running_key){+...}-{0:0}, at: net_tx_action+0x6d9/0x880 net/core/dev.c:5154
#5: ffff88802017b108 (&sch->q.lock){+.-.}-{2:2}, at: spin_lock include/linux/spinlock.h:364 [inline]
#5: ffff88802017b108 (&sch->q.lock){+.-.}-{2:2}, at: sch_direct_xmit+0x311/0x4b0 net/sched/sch_generic.c:357
#6: ffffffff8c31eb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:312
stack backtrace:
CPU: 0 PID: 4629 Comm: kworker/u4:8 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
Workqueue: bat_events batadv_nc_worker
Call Trace:
dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
qdisc_lookup+0xa6/0x650 net/sched/sch_api.c:304
qdisc_tree_reduce_backlog+0x190/0x430 net/sched/sch_api.c:783
cake_dequeue+0x1bd6/0x4b10 net/sched/sch_cake.c:2205
qdisc_peek_dequeued+0x6e/0x1f0 include/net/sch_generic.h:1125
tbf_dequeue+0x7d/0xce0 net/sched/sch_tbf.c:265
dequeue_skb net/sched/sch_generic.c:295 [inline]
qdisc_restart net/sched/sch_generic.c:400 [inline]
__qdisc_run+0x236/0x1490 net/sched/sch_generic.c:418
qdisc_run+0x103/0x2f0 include/net/pkt_sched.h:131
net_tx_action+0x6d9/0x880 net/core/dev.c:5154
handle_softirqs+0x339/0x830 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:check_preemption_disabled+0x2e/0x110 lib/smp_processor_id.c:55
Code: 56 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 05 79 3b 45 76 65 8b 0d e2 95 45 76 f7 c1 ff ff ff 7f 74 1f <65> 48 8b 0c 25 28 00 00 00 48 3b 4c 24 08 0f 85 c4 00 00 00 48 83
RSP: 0018:ffffc90002f9fa68 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000080000001
RDX: 0000000000000000 RSI: ffffffff8a79fde0 RDI: ffffffff8a79fda0
RBP: ffffc90002f9fbd0 R08: ffffffff8d89f02f R09: 1ffffffff1b13e05
R10: dffffc0000000000 R11: fffffbfff1b13e06 R12: 1ffff920005f3f64
R13: dffffc0000000000 R14: ffff8880790a0c80 R15: ffff8880236bc810
rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:331 [inline]
rcu_is_watching+0x11/0xa0 kernel/rcu/tree.c:1123
trace_lock_release include/trace/events/lock.h:58 [inline]
lock_release+0xb5/0x8a0 kernel/locking/lockdep.c:5634
rcu_read_unlock include/linux/rcupdate.h:773 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:416 [inline]
batadv_nc_worker+0x25b/0x5c0 net/batman-adv/network-coding.c:723
process_one_work+0x85f/0x1010 kernel/workqueue.c:2310
worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
----------------
Code disassembly (best guess):
0: 56 push %rsi
1: 53 push %rbx
2: 48 83 ec 10 sub $0x10,%rsp
6: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax
d: 00 00
f: 48 89 44 24 08 mov %rax,0x8(%rsp)
14: 65 8b 05 79 3b 45 76 mov %gs:0x76453b79(%rip),%eax # 0x76453b94
1b: 65 8b 0d e2 95 45 76 mov %gs:0x764595e2(%rip),%ecx # 0x76459604
22: f7 c1 ff ff ff 7f test $0x7fffffff,%ecx
28: 74 1f je 0x49
* 2a: 65 48 8b 0c 25 28 00 mov %gs:0x28,%rcx <-- trapping instruction
31: 00 00
33: 48 3b 4c 24 08 cmp 0x8(%rsp),%rcx
38: 0f 85 c4 00 00 00 jne 0x102
3e: 48 rex.W
3f: 83 .byte 0x83