------------[ cut here ]------------
WARNING: CPU: 0 PID: 111 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 0 PID: 111 Comm: kswapd1 Not tainted 6.3.0-rc7-syzkaller #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 a5 6d ec f8 0f 0b e9 07 fe ff ff e8 99 6d ec f8 0f 0b e9 3f fe ff ff e8 8d 6d ec f8 0f 0b e9 95 fd ff ff e8 81 6d ec f8 <0f> 0b e9 9f fe ff ff e8 85 92 3c f9 e9 7a fc ff ff 4c 89 e7 e8 b8
RSP: 0018:ffffc90000007c48 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100
RDX: ffff88801710c100 RSI: ffffffff88959e8f RDI: 0000000000000005
RBP: ffff88802caa1100 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffff9000 R11: 0000000000000001 R12: ffff88802caa1128
R13: ffff88802caa1374 R14: ffff88802caa1180 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff88802c600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fc2a000 CR3: 000000007109d000 CR4: 0000000000150ef0
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:__sanitizer_cov_trace_pc+0x60/0x70 kernel/kcov.c:225
Code: 82 50 15 00 00 83 f8 02 75 20 48 8b 8a 58 15 00 00 8b 92 54 15 00 00 48 8b 01 48 83 c0 01 48 39 c2 76 07 48 89 01 48 89 34 c1 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 55 41 54 49 89
RSP: 0018:ffffc90000e573c8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88801710c100 RSI: ffffffff81b26eec RDI: 0000000000000007
RBP: ffffea0001887000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0001887000
R13: ffffc90000e57708 R14: 0000000000000000 R15: ffffc90000e57700
arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
page_fixed_fake_head include/linux/page-flags.h:214 [inline]
page_is_fake_head include/linux/page-flags.h:246 [inline]
PageTail include/linux/page-flags.h:290 [inline]
folio_flags.constprop.0+0x4c/0x150 include/linux/page-flags.h:317
folio_test_head include/linux/page-flags.h:781 [inline]
folio_test_large include/linux/page-flags.h:802 [inline]
folio_mapped include/linux/mm.h:1031 [inline]
shrink_folio_list+0x1a43/0x3c80 mm/vmscan.c:1704
evict_folios+0x794/0x1940 mm/vmscan.c:5121
try_to_shrink_lruvec+0x82c/0xb90 mm/vmscan.c:5297
shrink_one+0x46b/0x810 mm/vmscan.c:5341
shrink_many mm/vmscan.c:5394 [inline]
lru_gen_shrink_node mm/vmscan.c:5511 [inline]
shrink_node+0x2064/0x35f0 mm/vmscan.c:6459
kswapd_shrink_node mm/vmscan.c:7262 [inline]
balance_pgdat+0xa02/0x1ac0 mm/vmscan.c:7452
kswapd+0x677/0xd60 mm/vmscan.c:7712
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 50 push %rax
1: 15 00 00 83 f8 adc $0xf8830000,%eax
6: 02 75 20 add 0x20(%rbp),%dh
9: 48 8b 8a 58 15 00 00 mov 0x1558(%rdx),%rcx
10: 8b 92 54 15 00 00 mov 0x1554(%rdx),%edx
16: 48 8b 01 mov (%rcx),%rax
19: 48 83 c0 01 add $0x1,%rax
1d: 48 39 c2 cmp %rax,%rdx
20: 76 07 jbe 0x29
22: 48 89 01 mov %rax,(%rcx)
25: 48 89 34 c1 mov %rsi,(%rcx,%rax,8)
* 29: c3 retq <-- trapping instruction
2a: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1)
31: 00 00 00 00
35: 0f 1f 40 00 nopl 0x0(%rax)
39: 41 55 push %r13
3b: 41 54 push %r12
3d: 49 rex.WB
3e: 89 .byte 0x89