------------[ cut here ]------------
WARNING: CPU: 2 PID: 3677 at net/core/stream.c:205 sk_stream_kill_queues+0x2eb/0x3d0 net/core/stream.c:205
Modules linked in:
CPU: 2 PID: 3677 Comm: syz-executor.2 Not tainted 5.17.0-rc3-syzkaller-00013-g2ade8eef993c #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 0e d9 4d fa 0f 0b eb 97 e8 05 d9 4d fa <0f> 0b eb a0 e8 fc d8 4d fa 0f 0b e9 6a fe ff ff e8 50 28 95 fa e9
RSP: 0018:ffffc90000560c28 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000100
RDX: ffff88801a6b0000 RSI: ffffffff872a9f8b RDI: 0000000000000003
RBP: 00000000000002a9 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff872a9f2b R11: 0000000000000000 R12: ffff888014196230
R13: ffffffff908a5000 R14: ffff888014196028 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff88802cc00000(0063) knlGS:000000005830d380
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000ff8e9d98 CR3: 000000005a17c000 CR4: 0000000000150ee0
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:preempt_count_sub+0x1a/0x150 kernel/sched/core.c:5474
Code: e8 4b 4c 6f 00 eb ac 66 0f 1f 84 00 00 00 00 00 48 c7 c0 00 d9 50 90 53 89 fb 48 ba 00 00 00 00 00 fc ff df 48 89 c1 83 e0 07 <48> c1 e9 03 83 c0 03 0f b6 14 11 38 d0 7c 08 84 d2 0f 85 e4 00 00
RSP: 0018:ffffc90000e077a8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff9050d900
RDX: dffffc0000000000 RSI: ffffc90000e07ce8 RDI: 0000000000000001
RBP: ffffc90000e07d18 R08: ffffffff8e1cae7e R09: 0000000000000001
R10: fffff520001c0f1d R11: 0000000000088078 R12: ffffc90000e00000
R13: ffffc90000e078c5 R14: ffffc90000e07890 R15: ffffc90000e078c4
unwind_next_frame+0xee1/0x1ce0 arch/x86/kernel/unwind_orc.c:624
arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38
kasan_set_track+0x21/0x30 mm/kasan/common.c:45
kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:370
____kasan_slab_free mm/kasan/common.c:366 [inline]
____kasan_slab_free+0x130/0x160 mm/kasan/common.c:328
kasan_slab_free include/linux/kasan.h:236 [inline]
slab_free_hook mm/slub.c:1728 [inline]
slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1754
slab_free mm/slub.c:3509 [inline]
kmem_cache_free+0xd8/0x340 mm/slub.c:3526
putname fs/namei.c:270 [inline]
putname+0xfe/0x140 fs/namei.c:256
user_path_at_empty+0x4d/0x60 fs/namei.c:2853
user_path_at include/linux/namei.h:57 [inline]
vfs_statx+0x142/0x390 fs/stat.c:221
vfs_lstat include/linux/fs.h:3287 [inline]
__do_compat_sys_ia32_lstat64+0x7f/0xe0 arch/x86/kernel/sys_ia32.c:179
do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
__do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178
do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203
entry_SYSENTER_compat_after_hwframe+0x4d/0x5c
RIP: 0023:0xf6ef1549
Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000ff8ea300 EFLAGS: 00000202 ORIG_RAX: 00000000000000c4
RAX: ffffffffffffffda RBX: 00000000ff8ea420 RCX: 00000000ff8ea31c
RDX: 0000000000000003 RSI: 00000000ff8ea3c8 RDI: 00000000f6fa2462
RBP: 00000000ff8ea420 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
----------------
Code disassembly (best guess):
0: e8 4b 4c 6f 00 callq 0x6f4c50
5: eb ac jmp 0xffffffb3
7: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1)
e: 00 00
10: 48 c7 c0 00 d9 50 90 mov $0xffffffff9050d900,%rax
17: 53 push %rbx
18: 89 fb mov %edi,%ebx
1a: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx
21: fc ff df
24: 48 89 c1 mov %rax,%rcx
27: 83 e0 07 and $0x7,%eax
* 2a: 48 c1 e9 03 shr $0x3,%rcx <-- trapping instruction
2e: 83 c0 03 add $0x3,%eax
31: 0f b6 14 11 movzbl (%rcx,%rdx,1),%edx
35: 38 d0 cmp %dl,%al
37: 7c 08 jl 0x41
39: 84 d2 test %dl,%dl
3b: 0f .byte 0xf
3c: 85 e4 test %esp,%esp