============================= 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 4 locks held by syz.7.578/7073: #0: ffffffff8c11c660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:312 #1: ffff888073d55148 (dev->qdisc_running_key ?: &qdisc_running_key){+...}-{0:0}, at: net_tx_action+0x6bc/0x870 net/core/dev.c:5128 #2: ffff888073d55108 (&sch->q.lock){+.-.}-{2:2}, at: spin_lock include/linux/spinlock.h:363 [inline] #2: ffff888073d55108 (&sch->q.lock){+.-.}-{2:2}, at: sch_direct_xmit+0x305/0x4a0 net/sched/sch_generic.c:354 #3: ffffffff8c11c660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:311 stack backtrace: CPU: 1 PID: 7073 Comm: syz.7.578 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 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 fq_codel_dequeue+0x26a9/0x28c0 net/sched/sch_fq_codel.c:319 qdisc_peek_dequeued+0x6e/0x1f0 include/net/sch_generic.h:1115 tbf_dequeue+0x7d/0xce0 net/sched/sch_tbf.c:265 dequeue_skb net/sched/sch_generic.c:292 [inline] qdisc_restart net/sched/sch_generic.c:397 [inline] __qdisc_run+0x237/0x1480 net/sched/sch_generic.c:415 qdisc_run+0x103/0x2f0 include/net/pkt_sched.h:132 net_tx_action+0x6bc/0x870 net/core/dev.c:5128 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 4c 7d 55 08 85 c0 74 4a 4d 85 ff 75 66 e9 fe 00 00 00 48 89 df e8 a6 e7 5e 08 e8 c1 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:ffffc9000338f588 EFLAGS: 00000286 RAX: 2e1953bd7a126c00 RBX: ffff8880b903a340 RCX: 2e1953bd7a126c00 RDX: dffffc0000000000 RSI: ffffffff8a0b1820 RDI: ffffffff8a59a480 RBP: 1ffff11017227613 R08: dffffc0000000000 R09: ffffed1017207469 R10: ffffed1017207469 R11: 1ffff11017207468 R12: ffff8880b913b088 R13: dffffc0000000000 R14: ffff8880b913ae08 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 schedule+0x11b/0x1e0 kernel/sched/core.c:6478 schedule_timeout+0x97/0x280 kernel/time/timer.c:1890 do_wait_for_common+0x29a/0x440 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x48/0x60 kernel/sched/completion.c:138 rdmsr_safe_on_cpu+0x139/0x210 arch/x86/lib/msr-smp.c:183 msr_read+0x10a/0x1b0 arch/x86/kernel/msr.c:67 vfs_read+0x2f6/0xcf0 fs/read_write.c:483 ksys_read+0x14d/0x250 fs/read_write.c:623 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa377bbfba9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa375e27038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007fa377e06fa0 RCX: 00007fa377bbfba9 RDX: 0000000000018ff8 RSI: 0000200000019680 RDI: 0000000000000005 RBP: 00007fa377c42e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa377e07038 R14: 00007fa377e06fa0 R15: 00007fff4e6dc3e8 ---------------- Code disassembly (best guess): 0: be ff ff ff ff mov $0xffffffff,%esi 5: e8 4c 7d 55 08 call 0x8557d56 a: 85 c0 test %eax,%eax c: 74 4a je 0x58 e: 4d 85 ff test %r15,%r15 11: 75 66 jne 0x79 13: e9 fe 00 00 00 jmp 0x116 18: 48 89 df mov %rbx,%rdi 1b: e8 a6 e7 5e 08 call 0x85ee7c6 20: e8 c1 75 2a 00 call 0x2a75e6 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