------------[ cut here ]------------
WARNING: CPU: 0 PID: 6503 at net/core/stream.c:205 sk_stream_kill_queues+0x2ee/0x3d0 net/core/stream.c:205
Modules linked in:
CPU: 0 PID: 6503 Comm: syz-executor.3 Not tainted 5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
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:ffffc90000007c28 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000fff RCX: 0000000000000100
RDX: ffff88801c643a00 RSI: ffffffff871b19ee RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff871b19b5 R11: 0000000000000000 R12: ffff888021bb6218
R13: ffff888021bb61a8 R14: ffff888021bb6028 R15: 0000000000000000
FS: 0000555556ffd400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff090c0e1b8 CR3: 000000004defa000 CR4: 00000000003506f0
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_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5593
Code: d6 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:ffffc90002c97d00 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff92000592fa2 RCX: ffffffff815c50df
RDX: 1ffff110038c888b RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8fd38a1f
R10: fffffbfff1fa7143 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88806f5c0c18 R15: 0000000000000000
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:350 [inline]
alloc_fd+0x6e/0x670 fs/file.c:477
sock_map_fd net/socket.c:480 [inline]
__sys_socket+0x117/0x200 net/socket.c:1561
__do_sys_socket net/socket.c:1566 [inline]
__se_sys_socket net/socket.c:1564 [inline]
__x64_sys_socket+0x6f/0xb0 net/socket.c:1564
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:0x7ff090b30167
Code: f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 29 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc0ce53858 EFLAGS: 00000206
ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 0000000000000029 RCX: 00007ff090b30167
RDX: 0000000000000006 RSI: 0000000000000001 RDI: 000000000000000a
RBP: 00007ffc0ce53880 R08: 0000000000000000 R09: ff00000000000000
R10: 0000000000000010 R11: 0000000000000206 R12: 0000000000000032
R13: 0000000000000000 R14: 0000000000000002 R15: 00007ff090c0fb60
----------------
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