------------[ cut here ]------------ WARNING: CPU: 1 PID: 7899 at net/core/stream.c:205 sk_stream_kill_queues+0x2ee/0x3d0 net/core/stream.c:205 Modules linked in: CPU: 1 PID: 7899 Comm: kworker/u4:8 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 b4 58 5c fa e8 af 58 5c fa 89 ee 48 89 df e8 75 9a fb ff e9 64 ff ff ff e8 9b 58 5c fa 0f 0b eb 9b e8 92 58 5c fa <0f> 0b eb c7 e8 89 58 5c fa 0f 0b e9 65 fe ff ff e8 bd c2 a2 fa e9 RSP: 0018:ffffc90000dc0c28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000fff RCX: 0000000000000100 RDX: ffff888021698000 RSI: ffffffff871b19fe RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff871b19c5 R11: 0000000000000000 R12: ffff888073171a18 R13: ffff8880731719a8 R14: ffff888073171828 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdb2ba7e8c CR3: 00000000715ed000 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:lock_is_held_type+0x6/0x140 kernel/locking/lockdep.c:5662 Code: 89 48 c7 c7 20 05 8c 89 89 44 24 04 e8 d3 ae bc ff 0f 0b 8b 44 24 04 eb bd 66 66 2e 0f 1f 84 00 00 00 00 00 41 57 41 56 41 55 <41> bd ff ff ff ff 41 54 55 53 48 83 ec 08 8b 0d d2 19 38 04 85 c9 RSP: 0018:ffffc900043afaf8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8b982d40 RBP: ffffffff8a9816a0 R08: 000000000007ffff R09: 0000000000000000 R10: ffffffff879ff537 R11: 0000000000000000 R12: 000000000000010b R13: ffffc900043afca8 R14: 0000000000000002 R15: dffffc0000000000 lock_is_held include/linux/lockdep.h:283 [inline] __might_resched+0x21/0x2c0 kernel/sched/core.c:9501 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), 1 bytes skipped: 0: 48 c7 c7 20 05 8c 89 mov $0xffffffff898c0520,%rdi 7: 89 44 24 04 mov %eax,0x4(%rsp) b: e8 d3 ae bc ff callq 0xffbcaee3 10: 0f 0b ud2 12: 8b 44 24 04 mov 0x4(%rsp),%eax 16: eb bd jmp 0xffffffd5 18: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 1f: 00 00 00 00 23: 41 57 push %r15 25: 41 56 push %r14 27: 41 55 push %r13 * 29: 41 bd ff ff ff ff mov $0xffffffff,%r13d <-- trapping instruction 2f: 41 54 push %r12 31: 55 push %rbp 32: 53 push %rbx 33: 48 83 ec 08 sub $0x8,%rsp 37: 8b 0d d2 19 38 04 mov 0x43819d2(%rip),%ecx # 0x4381a0f 3d: 85 c9 test %ecx,%ecx