------------[ cut here ]------------
WARNING: CPU: 1 PID: 6738 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 1 PID: 6738 Comm: syz-executor.3 Not tainted 6.2.0-syzkaller-13534-gb01fe98d34f3 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Code: ff e8 f5 b4 da f8 0f 0b e9 07 fe ff ff e8 e9 b4 da f8 0f 0b e9 3f fe ff ff e8 dd b4 da f8 0f 0b e9 95 fd ff ff e8 d1 b4 da f8 <0f> 0b e9 9f fe ff ff e8 c5 44 2b f9 e9 7a fc ff ff 4c 89 e7 e8 f8
RSP: 0018:ffffc900005c8c28 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100
RDX: ffff88801af78100 RSI: ffffffff88a9660f RDI: 0000000000000005
RBP: ffff888024c54dc0 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffff9000 R11: 0000000000000030 R12: ffff888024c54de8
R13: ffff888024c55034 R14: ffff888024c54e40 R15: 1ffff920000b91a6
FS: 0000555557401400(0000) GS:ffff88802ca80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0fa4079718 CR3: 0000000075feb000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__sk_destruct+0x4d/0x770 net/core/sock.c:2135
sk_destruct net/core/sock.c:2183 [inline]
__sk_free+0x175/0x460 net/core/sock.c:2194
sk_free+0x7c/0xa0 net/core/sock.c:2205
sock_put include/net/sock.h:1968 [inline]
tcp_write_timer+0x24b/0x2b0 net/ipv4/tcp_timer.c:644
call_timer_fn+0x1da/0x800 kernel/time/timer.c:1700
expire_timers+0x2c6/0x5e0 kernel/time/timer.c:1751
__run_timers kernel/time/timer.c:2022 [inline]
__run_timers kernel/time/timer.c:1995 [inline]
run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035
__do_softirq+0x2e3/0xae3 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x114/0x190 kernel/softirq.c:650
irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:finish_task_switch.isra.0+0x2bf/0xc80 kernel/sched/core.c:5183
Code: 8b 3a 4c 89 e7 48 c7 02 00 00 00 00 ff d1 4d 85 ff 75 bf 4c 89 e7 e8 10 f8 ff ff e8 db 73 32 00 fb 65 48 8b 1c 25 c0 b8 03 00 <48> 8d bb 50 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1
RSP: 0018:ffffc90002e57a88 EFLAGS: 00000202
RAX: 00000000000e33fb RBX: ffff88801af78100 RCX: 1ffffffff1ceea31
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90002e57ad0 R08: 0000000000000001 R09: 0000000000000001
R10: fffffbfff1cef03a R11: 0000000000000000 R12: ffff88802cabc2c0
R13: ffff888023330000 R14: 0000000000000000 R15: ffff88802cabccf8
context_switch kernel/sched/core.c:5307 [inline]
__schedule+0xcd6/0x5b20 kernel/sched/core.c:6622
schedule+0xde/0x1a0 kernel/sched/core.c:6698
do_nanosleep+0x154/0x4f0 kernel/time/hrtimer.c:2044
hrtimer_nanosleep+0x19b/0x430 kernel/time/hrtimer.c:2097
common_nsleep+0xa6/0xd0 kernel/time/posix-timers.c:1236
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1277 [inline]
__se_sys_clock_nanosleep kernel/time/posix-timers.c:1254 [inline]
__x64_sys_clock_nanosleep+0x32e/0x480 kernel/time/posix-timers.c:1254
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f0fa32b0e21
Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 aa e7 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 e3 e7 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f
RSP: 002b:00007fff30128060 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 00000000000000a5 RCX: 00007f0fa32b0e21
RDX: 00007fff301280a0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fff3012812c R08: 0000000000000000 R09: 00007fff30178080
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 0000000000060db3 R14: 0000000000000007 R15: 00007fff30128190
----------------
Code disassembly (best guess):
0: 8b 3a mov (%rdx),%edi
2: 4c 89 e7 mov %r12,%rdi
5: 48 c7 02 00 00 00 00 movq $0x0,(%rdx)
c: ff d1 callq *%rcx
e: 4d 85 ff test %r15,%r15
11: 75 bf jne 0xffffffd2
13: 4c 89 e7 mov %r12,%rdi
16: e8 10 f8 ff ff callq 0xfffff82b
1b: e8 db 73 32 00 callq 0x3273fb
20: fb sti
21: 65 48 8b 1c 25 c0 b8 mov %gs:0x3b8c0,%rbx
28: 03 00
* 2a: 48 8d bb 50 15 00 00 lea 0x1550(%rbx),%rdi <-- trapping instruction
31: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
38: fc ff df
3b: 48 89 fa mov %rdi,%rdx
3e: 48 rex.W
3f: c1 .byte 0xc1