------------[ cut here ]------------ WARNING: CPU: 3 PID: 3664 at net/core/stream.c:205 sk_stream_kill_queues+0x2eb/0x3d0 net/core/stream.c:205 Modules linked in: CPU: 3 PID: 3664 Comm: sshd Not tainted 5.17.0-rc3-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:sk_stream_kill_queues+0x2eb/0x3d0 net/core/stream.c:205 Code: 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e ec 00 00 00 8b ab 30 02 00 00 e9 60 ff ff ff e8 1e dd 4d fa 0f 0b eb 97 e8 15 dd 4d fa <0f> 0b eb a0 e8 0c dd 4d fa 0f 0b e9 6a fe ff ff e8 60 2c 95 fa e9 RSP: 0018:ffffc900005b8c28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: ffff8880156dd700 RSI: ffffffff872a9b7b RDI: 0000000000000003 RBP: 00000000000002a9 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff872a9b1b R11: 0000000000000000 R12: ffff8880221ed630 R13: ffffffff908a4fc0 R14: ffff8880221ed428 R15: 0000000000000000 FS: 00007f03ffc19800(0000) GS:ffff88802cd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f73dc000 CR3: 000000001ee7d000 CR4: 0000000000150ee0 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+0x23b/0x340 net/ipv4/tcp.c:4455 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+0x67c/0xa30 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:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 5a b1 0f f8 48 89 ef e8 12 27 10 f8 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 43 da 02 f8 65 8b 05 bc cd b4 76 85 c0 74 0a 5b 5d c3 e8 90 1b RSP: 0018:ffffc90000ca75b0 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1b27361 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff88802cd2a600 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817ebdd8 R11: 0000000000000000 R12: 0000000005f5e100 R13: 1ffff92000194eb9 R14: 000000c774c7375e R15: 0000000000000000 hrtimer_start_expires include/linux/hrtimer.h:432 [inline] hrtimer_sleeper_start_expires kernel/time/hrtimer.c:1965 [inline] schedule_hrtimeout_range_clock+0x183/0x390 kernel/time/hrtimer.c:2302 poll_schedule_timeout.constprop.0+0xb9/0x190 fs/select.c:244 do_select+0x11a1/0x16a0 fs/select.c:607 core_sys_select+0x3c2/0x9c0 fs/select.c:681 do_pselect.constprop.0+0x17b/0x1c0 fs/select.c:763 __do_sys_pselect6 fs/select.c:804 [inline] __se_sys_pselect6 fs/select.c:795 [inline] __x64_sys_pselect6+0x17f/0x230 fs/select.c:795 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f03ffd6fd83 Code: 11 44 24 30 4c 89 4c 24 40 48 c7 44 24 48 08 00 00 00 64 8b 04 25 18 00 00 00 85 c0 75 21 4c 8d 4c 24 40 b8 0e 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 75 48 83 c4 58 5b 5d c3 66 0f 1f 44 00 00 4c RSP: 002b:00007ffc1603d200 EFLAGS: 00000246 ORIG_RAX: 000000000000010e RAX: ffffffffffffffda RBX: 00000000000668a0 RCX: 00007f03ffd6fd83 RDX: 00007f04014f1680 RSI: 00007f04014f0c10 RDI: 000000000000000c RBP: 00007f0401504080 R08: 00007ffc1603d230 R09: 00007ffc1603d240 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 0000000000000001 R14: 00007ffc1603d2b8 R15: 00007ffc1603d338 ---------------- Code disassembly (best guess): 0: 74 24 je 0x26 2: 10 e8 adc %ch,%al 4: 5a pop %rdx 5: b1 0f mov $0xf,%cl 7: f8 clc 8: 48 89 ef mov %rbp,%rdi b: e8 12 27 10 f8 callq 0xf8102722 10: 81 e3 00 02 00 00 and $0x200,%ebx 16: 75 25 jne 0x3d 18: 9c pushfq 19: 58 pop %rax 1a: f6 c4 02 test $0x2,%ah 1d: 75 2d jne 0x4c 1f: 48 85 db test %rbx,%rbx 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 43 da 02 f8 callq 0xf802da72 <-- trapping instruction 2f: 65 8b 05 bc cd b4 76 mov %gs:0x76b4cdbc(%rip),%eax # 0x76b4cdf2 36: 85 c0 test %eax,%eax 38: 74 0a je 0x44 3a: 5b pop %rbx 3b: 5d pop %rbp 3c: c3 retq 3d: e8 .byte 0xe8 3e: 90 nop 3f: 1b .byte 0x1b