------------[ cut here ]------------ WARNING: CPU: 1 PID: 4477 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6e7/0x7f0 Modules linked in: CPU: 1 PID: 4477 Comm: kworker/u4:14 Not tainted 6.1.101-syzkaller-00106-gc18e82d3ee44 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: netns cleanup_net RIP: 0010:inet_sock_destruct+0x6e7/0x7f0 net/ipv4/af_inet.c:154 Code: ff ff e8 4c 1a 6e f8 0f 0b e9 21 fe ff ff e8 40 1a 6e f8 0f 0b 41 80 3c 2c 00 0f 85 4c fe ff ff e9 4f fe ff ff e8 29 1a 6e f8 <0f> 0b e9 bb fe ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 0e fc ff RSP: 0018:ffffc900001e0b30 EFLAGS: 00010246 RAX: ffffffff891c8167 RBX: 0000000000000100 RCX: ffff8880227dbb80 RDX: 0000000000000101 RSI: 0000000000000100 RDI: 0000000000000000 RBP: ffff88805c483300 R08: ffffffff891c801c R09: ffffed100b8906af R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100b890665 R13: ffff88805c4837e8 R14: ffff88805c483328 R15: ffff88805c483312 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff07a5002b0 CR3: 0000000065083000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sk_destruct+0x50/0x5f0 net/core/sock.c:2139 rcu_do_batch kernel/rcu/tree.c:2296 [inline] rcu_core+0xad5/0x1810 kernel/rcu/tree.c:2556 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571 __do_softirq kernel/softirq.c:605 [inline] invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:preempt_schedule_irq+0xf2/0x1c0 kernel/sched/core.c:6873 Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 97 00 00 00 bf 01 00 00 00 e8 f9 50 ca f6 e8 a4 4d fd f6 fb bf 01 00 00 00 79 b4 ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 39 13 4e f7 48 RSP: 0018:ffffc900051ef5e0 EFLAGS: 00000282 RAX: 0847ee2a0a004e00 RBX: 1ffff92000a3dec4 RCX: ffffffff816ad9fa RDX: dffffc0000000000 RSI: ffffffff8aec0260 RDI: 0000000000000001 RBP: ffffc900051ef690 R08: dffffc0000000000 R09: fffffbfff2093a46 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000a3debc R13: 1ffff92000a3dec0 R14: ffffc900051ef600 R15: dffffc0000000000 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:658 RIP: 0010:synchronize_rcu+0x0/0x3f0 kernel/rcu/tree.c:3565 Code: 5e 41 5f e9 e2 05 e6 ff 5b 41 5c 41 5e 41 5f c3 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c d9 fe ff ff e8 75 9e 6e 00 e9 cf fe ff ff <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 40 01 RSP: 0018:ffffc900051ef758 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92000a3def4 RCX: ffffffff91c95103 RDX: 0000000000000001 RSI: ffffffff8aec0f40 RDI: ffffffff8b3d5b20 RBP: ffffc900051ef840 R08: dffffc0000000000 R09: fffffbfff239054c R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888072082a98 R13: 1ffff92000a3def0 R14: 0000000000000a06 R15: ffffc900051ef7a0 lockdep_unregister_key+0x537/0x5e0 kernel/locking/lockdep.c:6355 __qdisc_destroy+0x127/0x450 net/sched/sch_generic.c:1068 netdev_for_each_tx_queue include/linux/netdevice.h:2453 [inline] dev_shutdown+0x9d/0x440 net/sched/sch_generic.c:1479 unregister_netdevice_many+0xaae/0x17a0 net/core/dev.c:10873 default_device_exit_batch+0x956/0x9d0 net/core/dev.c:11395 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x763/0xb60 net/core/net_namespace.c:604 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 89 f5 mov %esi,%ebp 2: 49 c1 ed 03 shr $0x3,%r13 6: eb 0d jmp 0x15 8: 48 f7 03 08 00 00 00 testq $0x8,(%rbx) f: 0f 84 97 00 00 00 je 0xac 15: bf 01 00 00 00 mov $0x1,%edi 1a: e8 f9 50 ca f6 call 0xf6ca5118 1f: e8 a4 4d fd f6 call 0xf6fd4dc8 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 79 b4 ff ff call 0xffffb4a8 <-- trapping instruction 2f: 43 80 7c 3d 00 00 cmpb $0x0,0x0(%r13,%r15,1) 35: 74 08 je 0x3f 37: 4c 89 f7 mov %r14,%rdi 3a: e8 39 13 4e f7 call 0xf74e1378 3f: 48 rex.W