------------[ cut here ]------------
WARNING: CPU: 2 PID: 5168 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 2 PID: 5168 Comm: syz-executor.1 Not tainted 6.3.0-rc5-syzkaller-00022-g76f598ba7d8e #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 75 71 ec f8 0f 0b e9 07 fe ff ff e8 69 71 ec f8 0f 0b e9 3f fe ff ff e8 5d 71 ec f8 0f 0b e9 95 fd ff ff e8 51 71 ec f8 <0f> 0b e9 9f fe ff ff e8 15 7e 3d f9 e9 7a fc ff ff 4c 89 e7 e8 48
RSP: 0018:ffffc90000520c48 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100
RDX: ffff88801d9eba80 RSI: ffffffff8896666f RDI: 0000000000000005
RBP: ffff888024265940 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffff9000 R11: 000000000000003c R12: ffff888024265968
R13: ffff888024265bb4 R14: ffff8880242659c0 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff88802cb00000(0063) knlGS:0000000057399380
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000ee20e000 CR3: 000000006efa8000 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+0x1a0/0x580 kernel/time/timer.c:1700
expire_timers+0x29b/0x4b0 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+0x1d4/0x905 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:get_current arch/x86/include/asm/current.h:41 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x17/0x70 kernel/kcov.c:206
Code: ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 65 8b 05 bd e0 80 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 <65> 48 8b 14 25 80 b8 03 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82
RSP: 0018:ffffc90003427750 EFLAGS: 00000246
RAX: 0000000080000002 RBX: ffffea0001a3ce80 RCX: 0000000000000000
RDX: ffff88801d9eba80 RSI: ffffffff81bf015d RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0001a3ce80
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000010
_compound_head+0x5d/0x150 include/linux/page-flags.h:255
PageSwapBacked include/linux/page-flags.h:500 [inline]
mm_counter_file include/linux/mm.h:2358 [inline]
copy_present_pte mm/memory.c:932 [inline]
copy_pte_range mm/memory.c:1046 [inline]
copy_pmd_range mm/memory.c:1132 [inline]
copy_pud_range mm/memory.c:1169 [inline]
copy_p4d_range mm/memory.c:1193 [inline]
copy_page_range+0xf5c/0x3970 mm/memory.c:1291
dup_mmap+0xd33/0x1230 kernel/fork.c:691
dup_mm kernel/fork.c:1545 [inline]
copy_mm kernel/fork.c:1594 [inline]
copy_process+0x7082/0x7590 kernel/fork.c:2264
kernel_clone+0xeb/0x890 kernel/fork.c:2679
__do_compat_sys_ia32_clone+0x9e/0xd0 arch/x86/kernel/sys_ia32.c:254
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+0x33/0x70 arch/x86/entry/common.c:203
entry_SYSENTER_compat_after_hwframe+0x70/0x82
RIP: 0023:0xf7f82579
Code: 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 00 00 00 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:00000000ffc342f0 EFLAGS: 00000206 ORIG_RAX: 0000000000000078
RAX: ffffffffffffffda RBX: 0000000001200011 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000573993e8
RBP: 00000000f734e000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
----------------
Code disassembly (best guess), 2 bytes skipped:
0: ff 31 pushq (%rcx)
2: c0 c3 66 rol $0x66,%bl
5: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
c: 00 00 00
f: 66 90 xchg %ax,%ax
11: f3 0f 1e fa endbr64
15: 65 8b 05 bd e0 80 7e mov %gs:0x7e80e0bd(%rip),%eax # 0x7e80e0d9
1c: 89 c1 mov %eax,%ecx
1e: 48 8b 34 24 mov (%rsp),%rsi
22: 81 e1 00 01 00 00 and $0x100,%ecx
* 28: 65 48 8b 14 25 80 b8 mov %gs:0x3b880,%rdx <-- trapping instruction
2f: 03 00
31: a9 00 01 ff 00 test $0xff0100,%eax
36: 74 0e je 0x46
38: 85 c9 test %ecx,%ecx
3a: 74 35 je 0x71
3c: 8b .byte 0x8b
3d: 82 .byte 0x82