------------[ cut here ]------------
WARNING: CPU: 1 PID: 9229 at net/sched/sch_cake.c:2094 cake_dequeue+0x2af1/0x4690 net/sched/sch_cake.c:2094
Modules linked in:
CPU: 1 PID: 9229 Comm: syz-executor Not tainted 6.10.0-syzkaller-11323-g7846b618e0a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:cake_dequeue+0x2af1/0x4690 net/sched/sch_cake.c:2094
Code: 74 08 4c 89 f7 e8 af d7 6b f8 4d 89 26 eb 05 e8 75 e1 08 f8 45 31 f6 4c 8b a4 24 08 01 00 00 e9 d4 de ff ff e8 60 e1 08 f8 90 <0f> 0b 90 48 8b 94 24 f0 00 00 00 48 89 d0 48 c1 e8 03 42 0f b6 04
RSP: 0018:ffffc90000a189c0 EFLAGS: 00010246
RAX: ffffffff898a6160 RBX: 000000000000ffff RCX: ffff88801ffc0000
RDX: 0000000080000102 RSI: 000000000000ffff RDI: 0000000000000400
RBP: ffffc90000a18c28 R08: ffffffff898a5f7c R09: ffffffff898a69e5
R10: 0000000000000003 R11: ffff88801ffc0000 R12: ffff88805b400010
R13: dffffc0000000000 R14: 000000000000ffff R15: ffff88805b400000
FS: 0000555558fef500(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fba477e0d58 CR3: 000000002df26000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
dequeue_skb net/sched/sch_generic.c:293 [inline]
qdisc_restart net/sched/sch_generic.c:398 [inline]
__qdisc_run+0x272/0x2170 net/sched/sch_generic.c:416
qdisc_run+0xda/0x270 include/net/pkt_sched.h:127
net_tx_action+0x89c/0xa50 net/core/dev.c:5322
handle_softirqs+0x2c4/0x970 kernel/softirq.c:554
__do_softirq kernel/softirq.c:588 [inline]
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637
irq_exit_rcu+0x9/0x30 kernel/softirq.c:649
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5763
Code: 2b 00 74 08 4c 89 f7 e8 1a cb 86 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc9000cf5f5c0 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff920019ebec4 RCX: 3a1d87b7368b3500
RDX: dffffc0000000000 RSI: ffffffff8bcadea0 RDI: ffffffff8c1fa440
RBP: ffffc9000cf5f710 R08: ffffffff92fd0617 R09: 1ffffffff25fa0c2
R10: dffffc0000000000 R11: fffffbfff25fa0c3 R12: 1ffff920019ebec0
R13: dffffc0000000000 R14: ffffc9000cf5f620 R15: 0000000000000246
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:351 [inline]
d_walk+0x76/0x710 fs/dcache.c:1240
d_invalidate+0x14d/0x2d0 fs/dcache.c:1602
simple_recursive_removal+0x3a7/0x8f0 fs/libfs.c:620
debugfs_remove+0x49/0x70 fs/debugfs/inode.c:815
nsim_dev_port_debugfs_exit drivers/net/netdevsim/dev.c:426 [inline]
__nsim_dev_port_del+0x171/0x1b0 drivers/net/netdevsim/dev.c:1426
nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1437 [inline]
nsim_dev_reload_destroy+0x28a/0x490 drivers/net/netdevsim/dev.c:1658
nsim_drv_remove+0x58/0x160 drivers/net/netdevsim/dev.c:1673
device_remove drivers/base/dd.c:566 [inline]
__device_release_driver drivers/base/dd.c:1270 [inline]
device_release_driver_internal+0x4a9/0x7c0 drivers/base/dd.c:1293
bus_remove_device+0x34f/0x420 drivers/base/bus.c:574
device_del+0x57a/0x9b0 drivers/base/core.c:3868
device_unregister+0x20/0xc0 drivers/base/core.c:3909
nsim_bus_dev_del drivers/net/netdevsim/bus.c:462 [inline]
del_device_store+0x363/0x480 drivers/net/netdevsim/bus.c:226
kernfs_fop_write_iter+0x3a1/0x500 fs/kernfs/file.c:334
new_sync_write fs/read_write.c:497 [inline]
vfs_write+0xa72/0xc90 fs/read_write.c:590
ksys_write+0x1a0/0x2c0 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc2c31746df
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 29 8c 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 7c 8c 02 00 48
RSP: 002b:00007ffe3c6d3f50 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fc2c31746df
RDX: 0000000000000001 RSI: 00007ffe3c6d3fa0 RDI: 0000000000000005
RBP: 00007fc2c31e45b2 R08: 0000000000000000 R09: 00007ffe3c6d3da7
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001
R13: 00007ffe3c6d3fa0 R14: 00007fc2c3e34620 R15: 0000000000000003
----------------
Code disassembly (best guess):
0: 2b 00 sub (%rax),%eax
2: 74 08 je 0xc
4: 4c 89 f7 mov %r14,%rdi
7: e8 1a cb 86 00 call 0x86cb26
c: f6 44 24 61 02 testb $0x2,0x61(%rsp)
11: 0f 85 85 01 00 00 jne 0x19c
17: 41 f7 c7 00 02 00 00 test $0x200,%r15d
1e: 74 01 je 0x21
20: fb sti
21: 48 c7 44 24 40 0e 36 movq $0x45e0360e,0x40(%rsp)
28: e0 45
* 2a: 4b c7 44 25 00 00 00 movq $0x0,0x0(%r13,%r12,1) <-- trapping instruction
31: 00 00
33: 43 c7 44 25 09 00 00 movl $0x0,0x9(%r13,%r12,1)
3a: 00 00
3c: 43 rex.XB
3d: c7 .byte 0xc7
3e: 44 rex.R
3f: 25 .byte 0x25