============================= 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 10 locks held by kworker/u4:1/144: #0: ffff88814c70c138 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900016ffd00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8c11c460 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:311 #3: ffffc90000dd0be0 ((&icsk->icsk_retransmit_timer)){+.-.}-{0:0}, at: lockdep_copy_map include/linux/lockdep.h:45 [inline] #3: ffffc90000dd0be0 ((&icsk->icsk_retransmit_timer)){+.-.}-{0:0}, at: call_timer_fn+0xbb/0x530 kernel/time/timer.c:1441 #4: ffff88807b9ebca0 (slock-AF_INET){+.-.}-{2:2}, at: spin_lock include/linux/spinlock.h:363 [inline] #4: ffff88807b9ebca0 (slock-AF_INET){+.-.}-{2:2}, at: tcp_write_timer+0x29/0x280 net/ipv4/tcp_timer.c:673 #5: ffffffff8c11c460 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:312 #6: ffffffff8c11c4c0 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:312 #7: ffffffff8c11c4c0 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:312 #8: ffff888024b21908 (&sch->q.lock){+.-.}-{2:2}, at: spin_lock include/linux/spinlock.h:363 [inline] #8: ffff888024b21908 (&sch->q.lock){+.-.}-{2:2}, at: __dev_xmit_skb net/core/dev.c:3911 [inline] #8: ffff888024b21908 (&sch->q.lock){+.-.}-{2:2}, at: __dev_queue_xmit+0xb8a/0x2ed0 net/core/dev.c:4253 #9: ffffffff8c11c460 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:311 stack backtrace: CPU: 1 PID: 144 Comm: kworker/u4:1 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Workqueue: bat_events batadv_nc_worker Call Trace: dump_stack_lvl+0x168/0x230 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:793 sfq_enqueue+0x148e/0x2260 net/sched/sch_sfq.c:-1 qdisc_enqueue include/net/sch_generic.h:832 [inline] tbf_enqueue+0x224/0x6e0 net/sched/sch_tbf.c:243 dev_qdisc_enqueue+0x48/0x210 net/core/dev.c:3852 __dev_xmit_skb net/core/dev.c:3936 [inline] __dev_queue_xmit+0xd7e/0x2ed0 net/core/dev.c:4253 neigh_hh_output include/net/neighbour.h:493 [inline] neigh_output include/net/neighbour.h:507 [inline] ip_finish_output2+0xc69/0x1080 net/ipv4/ip_output.c:228 dst_output include/net/dst.h:452 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0x11c3/0x1c00 net/ipv4/ip_output.c:532 __tcp_transmit_skb+0x1ced/0x31c0 net/ipv4/tcp_output.c:1404 tcp_send_probe0+0x4d/0x450 net/ipv4/tcp_output.c:4118 tcp_probe_timer net/ipv4/tcp_timer.c:395 [inline] tcp_write_timer_handler+0x686/0x9a0 net/ipv4/tcp_timer.c:659 tcp_write_timer+0x126/0x280 net/ipv4/tcp_timer.c:675 call_timer_fn+0x16c/0x530 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x525/0x7c0 kernel/time/timer.c:1767 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780 handle_softirqs+0x328/0x820 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x12f/0x220 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:finish_lock_switch+0x134/0x280 kernel/sched/core.c:4804 Code: be ff ff ff ff e8 ec 7c 55 08 85 c0 74 4a 4d 85 ff 75 66 0f 1f 44 00 00 48 89 df e8 46 e7 5e 08 e8 71 75 2a 00 fb 48 83 c4 08 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 48 89 df e8 d9 0f fe ff 43 80 3c RSP: 0018:ffffc900016ff6c8 EFLAGS: 00000282 RAX: f37ec9ed5d707600 RBX: ffff8880b913a300 RCX: f37ec9ed5d707600 RDX: dffffc0000000000 RSI: ffffffff8a0b1620 RDI: ffffffff8a59a240 RBP: 1ffff1101722760b R08: dffffc0000000000 R09: fffffbfff1ff7637 R10: fffffbfff1ff7637 R11: 1ffffffff1ff7636 R12: 1ffff110172275b9 R13: dffffc0000000000 R14: ffff8880b913adc8 R15: 0000000000000000 finish_task_switch+0x12f/0x640 kernel/sched/core.c:4921 context_switch kernel/sched/core.c:5052 [inline] __schedule+0x11c3/0x4390 kernel/sched/core.c:6395 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6799 irqentry_exit+0x63/0x70 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:681 RIP: 0010:lock_acquire+0x1f2/0x3f0 kernel/locking/lockdep.c:5627 Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f6 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 66 43 c7 44 3d 09 00 00 43 c6 44 3d 0b RSP: 0018:ffffc900016ffaa0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: f37ec9ed5d707600 RDX: 0000000000000000 RSI: ffffffff8a0b28c0 RDI: ffffffff8a59a240 RBP: ffffc900016ffbc0 R08: dffffc0000000000 R09: fffffbfff1ff7619 R10: fffffbfff1ff7619 R11: 1ffffffff1ff7618 R12: ffffffff8c11c460 R13: 1ffff920002dff60 R14: 0000000000000246 R15: dffffc0000000000 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xc9/0x5c0 net/batman-adv/network-coding.c:723 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 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: be ff ff ff ff mov $0xffffffff,%esi 5: e8 ec 7c 55 08 call 0x8557cf6 a: 85 c0 test %eax,%eax c: 74 4a je 0x58 e: 4d 85 ff test %r15,%r15 11: 75 66 jne 0x79 13: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 18: 48 89 df mov %rbx,%rdi 1b: e8 46 e7 5e 08 call 0x85ee766 20: e8 71 75 2a 00 call 0x2a7596 25: fb sti 26: 48 83 c4 08 add $0x8,%rsp * 2a: 5b pop %rbx <-- trapping instruction 2b: 41 5c pop %r12 2d: 41 5d pop %r13 2f: 41 5e pop %r14 31: 41 5f pop %r15 33: 5d pop %rbp 34: c3 ret 35: 48 89 df mov %rbx,%rdi 38: e8 d9 0f fe ff call 0xfffe1016 3d: 43 rex.XB 3e: 80 .byte 0x80 3f: 3c .byte 0x3c