------------[ cut here ]------------ WARNING: CPU: 0 PID: 24127 at net/core/stream.c:207 sk_stream_kill_queues+0x3dd/0x530 net/core/stream.c:207 Modules linked in: CPU: 0 PID: 24127 Comm: syz-executor287 Not tainted 5.15.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sk_stream_kill_queues+0x3dd/0x530 net/core/stream.c:207 Code: fa 89 ee 48 89 df e8 02 ae fb ff e9 64 ff ff ff e8 98 bc 5a fa 0f 0b e9 b2 fe ff ff e8 8c bc 5a fa 0f 0b eb c4 e8 83 bc 5a fa <0f> 0b eb 86 4c 89 e7 e8 47 13 a2 fa eb 9e e8 40 13 a2 fa e9 5f ff RSP: 0018:ffffc90000007ae8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888020abc800 RCX: 0000000000000100 RDX: ffff88806f61b900 RSI: ffffffff871c1b8d RDI: 0000000000000003 RBP: 00000000fffffe80 R08: 0000000000000000 R09: ffff8880b9c32a0b R10: ffffffff871c1b13 R11: 0000000000000000 R12: ffff888020abca20 R13: ffff888020abc950 R14: ffff888020abc828 R15: ffff888020abc830 FS: 000055555555c300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000064154000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_csk_destroy_sock+0x1a5/0x490 net/ipv4/inet_connection_sock.c:1012 tcp_done+0x233/0x330 net/ipv4/tcp.c:4421 tcp_write_err net/ipv4/tcp_timer.c:74 [inline] tcp_write_timeout net/ipv4/tcp_timer.c:276 [inline] tcp_retransmit_timer+0x20d2/0x3320 net/ipv4/tcp_timer.c:512 tcp_write_timer_handler+0x595/0xad0 net/ipv4/tcp_timer.c:622 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_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5593 Code: c7 a5 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc9000c797dd8 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920018f2fbd RCX: ffffffff815bdf9f RDX: 1ffff1100dec3863 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8fcff9ff R10: fffffbfff1f9ff3f R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88805ce3ded8 R15: 0000000000000000 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] pick_file+0x24/0x1f0 fs/file.c:614 close_fd+0x44/0xa0 fs/file.c:638 __do_sys_close fs/open.c:1327 [inline] __se_sys_close fs/open.c:1325 [inline] __x64_sys_close+0x2f/0xa0 fs/open.c:1325 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:0x7fd9f63c462b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 03 fd ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 41 fd ff ff 8b 44 RSP: 002b:00007ffd448cfda0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007fd9f63c462b RDX: ffffffffffffffb8 RSI: 0000000000000080 RDI: 0000000000000007 RBP: 0000000000000032 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffd448cfe00 R11: 0000000000000293 R12: 00007fd9f648d4cc R13: 0000000000000007 R14: 00007ffd448cfe00 R15: 00007ffd448cfe70 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: a5 movsl %ds:(%rsi),%es:(%rdi) 1: 7e 83 jle 0xffffff86 3: f8 clc 4: 01 0f add %ecx,(%rdi) 6: 85 b4 02 00 00 9c 58 test %esi,0x589c0000(%rdx,%rax,1) d: f6 c4 02 test $0x2,%ah 10: 0f 85 9f 02 00 00 jne 0x2b5 16: 48 83 7c 24 08 00 cmpq $0x0,0x8(%rsp) 1c: 74 01 je 0x1f 1e: fb sti 1f: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 26: fc ff df * 29: 48 01 c3 add %rax,%rbx <-- trapping instruction 2c: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 33: 48 c7 43 08 00 00 00 movq $0x0,0x8(%rbx) 3a: 00 3b: 48 rex.W 3c: 8b .byte 0x8b 3d: 84 .byte 0x84 3e: 24 .byte 0x24