------------[ cut here ]------------ WARNING: CPU: 1 PID: 255 at net/core/stream.c:205 sk_stream_kill_queues+0x2ee/0x3d0 net/core/stream.c:205 Modules linked in: CPU: 1 PID: 255 Comm: kworker/u4:4 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:sk_stream_kill_queues+0x2ee/0x3d0 net/core/stream.c:205 Code: 5e 41 5f e9 c4 58 5c fa e8 bf 58 5c fa 89 ee 48 89 df e8 75 9a fb ff e9 64 ff ff ff e8 ab 58 5c fa 0f 0b eb 9b e8 a2 58 5c fa <0f> 0b eb c7 e8 99 58 5c fa 0f 0b e9 65 fe ff ff e8 cd c2 a2 fa e9 RSP: 0018:ffffc90000dc0c28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000fff RCX: 0000000000000100 RDX: ffff8880184e1d00 RSI: ffffffff871b19ee RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff871b19b5 R11: 0000000000000000 R12: ffff88807c97d618 R13: ffff88807c97d5a8 R14: ffff88807c97d428 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5bed7453a4 CR3: 000000006deb2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_csk_destroy_sock+0x1a5/0x440 net/ipv4/inet_connection_sock.c:1012 tcp_done+0x233/0x330 net/ipv4/tcp.c:4417 tcp_write_err net/ipv4/tcp_timer.c:74 [inline] tcp_probe_timer net/ipv4/tcp_timer.c:395 [inline] tcp_write_timer_handler+0x447/0xbc0 net/ipv4/tcp_timer.c:626 tcp_write_timer+0xa2/0x2b0 net/ipv4/tcp_timer.c:642 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x675/0xa20 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:__might_resched+0x169/0x2c0 kernel/sched/core.c:9503 Code: 1d 02 11 0a 48 8b 15 96 b8 a3 0d 48 83 e8 64 48 39 d0 0f 89 0a 6e a4 07 48 85 d2 0f 84 01 6e a4 07 5b 5d 41 5c 41 5d 41 5e c3 <9c> 58 f6 c4 02 0f 84 2c ff ff ff 65 4c 8b 2c 25 40 70 02 00 49 8d RSP: 0018:ffffc90002a1fb18 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880184e213c RBP: ffffffff8a9816a0 R08: 000000000007ffff R09: 0000000000000000 R10: ffffffff879ff5a7 R11: 0000000000000000 R12: 000000000000010b R13: 0000000000000000 R14: ffff8880184e1d00 R15: dffffc0000000000 inet_twsk_purge+0xe8/0x7d0 net/ipv4/inet_timewait_sock.c:267 ops_exit_list+0x10d/0x160 net/core/net_namespace.c:171 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:593 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 1d 02 11 0a 48 sbb $0x480a1102,%eax 5: 8b 15 96 b8 a3 0d mov 0xda3b896(%rip),%edx # 0xda3b8a1 b: 48 83 e8 64 sub $0x64,%rax f: 48 39 d0 cmp %rdx,%rax 12: 0f 89 0a 6e a4 07 jns 0x7a46e22 18: 48 85 d2 test %rdx,%rdx 1b: 0f 84 01 6e a4 07 je 0x7a46e22 21: 5b pop %rbx 22: 5d pop %rbp 23: 41 5c pop %r12 25: 41 5d pop %r13 27: 41 5e pop %r14 29: c3 retq * 2a: 9c pushfq <-- trapping instruction 2b: 58 pop %rax 2c: f6 c4 02 test $0x2,%ah 2f: 0f 84 2c ff ff ff je 0xffffff61 35: 65 4c 8b 2c 25 40 70 mov %gs:0x27040,%r13 3c: 02 00 3e: 49 rex.WB 3f: 8d .byte 0x8d