=============================
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
9 locks held by kworker/1:6/4280:
#0: ffff888017870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1: ffffc900031bfd00 ((work_completion)(&w->work)#2){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
#2: ffffffff8e2d4b68 (nf_conntrack_mutex){+.+.}-{3:3}, at: nf_ct_iterate_cleanup+0x47/0x3c0 net/netfilter/nf_conntrack_core.c:2394
#3: ffffc90000dd0bc0 ((&d->timer)){+.-.}-{0:0}, at: lockdep_copy_map include/linux/lockdep.h:45 [inline]
#3: ffffc90000dd0bc0 ((&d->timer)){+.-.}-{0:0}, at: call_timer_fn+0xca/0x540 kernel/time/timer.c:1662
#4: ffffffff8d11f2a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:312
#5: ffffffff8d11f300 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:313
#6: ffff88802ca31108 (&sch->q.lock){+.-.}-{2:2}, at: spin_lock include/linux/spinlock.h:364 [inline]
#6: ffff88802ca31108 (&sch->q.lock){+.-.}-{2:2}, at: __dev_xmit_skb net/core/dev.c:3926 [inline]
#6: ffff88802ca31108 (&sch->q.lock){+.-.}-{2:2}, at: __dev_queue_xmit+0xa2b/0x2e50 net/core/dev.c:4268
#7: ffff88802ca31148 (dev->qdisc_running_key ?: &qdisc_running_key){+...}-{0:0}, at: tipc_l2_send_msg+0x2eb/0x3a0 net/tipc/bearer.c:519
#8: ffffffff8d11f2a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:312
stack backtrace:
CPU: 1 PID: 4280 Comm: kworker/1:6 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Workqueue: events iterate_cleanup_work
Call Trace:
dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
qdisc_lookup+0xa6/0x640 net/sched/sch_api.c:304
qdisc_tree_reduce_backlog+0x188/0x480 net/sched/sch_api.c:800
netem_dequeue+0xe07/0x1410 net/sched/sch_netem.c:745
qdisc_peek_dequeued+0x6e/0x1f0 include/net/sch_generic.h:1131
tbf_dequeue+0x7b/0xcf0 net/sched/sch_tbf.c:265
dequeue_skb net/sched/sch_generic.c:332 [inline]
qdisc_restart net/sched/sch_generic.c:439 [inline]
__qdisc_run+0x26b/0x18b0 net/sched/sch_generic.c:457
__dev_xmit_skb net/core/dev.c:3957 [inline]
__dev_queue_xmit+0xdce/0x2e50 net/core/dev.c:4268
tipc_l2_send_msg+0x2eb/0x3a0 net/tipc/bearer.c:519
tipc_bearer_xmit_skb+0x292/0x3c0 net/tipc/bearer.c:578
tipc_disc_timeout+0x5e1/0x740 net/tipc/discover.c:340
call_timer_fn+0x17b/0x540 kernel/time/timer.c:1672
expire_timers kernel/time/timer.c:1723 [inline]
__run_timers+0x56c/0x810 kernel/time/timer.c:1994
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:2007
handle_softirqs+0x336/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:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:171 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:226 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0xc/0x90 kernel/kcov.c:307
Code: 00 00 00 4a 89 7c 09 10 4a 89 74 09 18 4a 89 44 09 20 48 ff c2 48 89 11 c3 0f 1f 44 00 00 48 8b 04 24 65 48 8b 15 f4 13 89 7e <65> 8b 0d f5 13 89 7e 81 e1 00 01 ff 00 74 11 81 f9 00 01 00 00 75
RSP: 0018:ffffc900031bfac0 EFLAGS: 00000246
RAX: ffffffff88323295 RBX: ffff88802be985a8 RCX: 00000000000130b5
RDX: ffff8880290b9dc0 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 1ffff110057d30b5 R08: ffffffff91050157 R09: 1ffffffff220a02a
R10: dffffc0000000000 R11: fffffbfff220a02b R12: dffffc0000000000
R13: 000000000002616b R14: ffffc900031bfb60 R15: ffffffff88323590
get_next_corpse net/netfilter/nf_conntrack_core.c:2349 [inline]
nf_ct_iterate_cleanup+0xc5/0x3c0 net/netfilter/nf_conntrack_core.c:2395
nf_ct_iterate_cleanup_net+0x11d/0x190 net/netfilter/nf_conntrack_core.c:2479
iterate_cleanup_work+0x66/0x120 net/netfilter/nf_nat_masquerade.c:83
process_one_work+0x867/0xff0 kernel/workqueue.c:2310
worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 00 4a 89 add %cl,-0x77(%rdx)
5: 7c 09 jl 0x10
7: 10 4a 89 adc %cl,-0x77(%rdx)
a: 74 09 je 0x15
c: 18 4a 89 sbb %cl,-0x77(%rdx)
f: 44 09 20 or %r12d,(%rax)
12: 48 ff c2 inc %rdx
15: 48 89 11 mov %rdx,(%rcx)
18: c3 ret
19: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
1e: 48 8b 04 24 mov (%rsp),%rax
22: 65 48 8b 15 f4 13 89 mov %gs:0x7e8913f4(%rip),%rdx # 0x7e89141e
29: 7e
* 2a: 65 8b 0d f5 13 89 7e mov %gs:0x7e8913f5(%rip),%ecx # 0x7e891426 <-- trapping instruction
31: 81 e1 00 01 ff 00 and $0xff0100,%ecx
37: 74 11 je 0x4a
39: 81 f9 00 01 00 00 cmp $0x100,%ecx
3f: 75 .byte 0x75