------------[ cut here ]------------
WARNING: CPU: 1 PID: 111 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 1 PID: 111 Comm: kswapd0 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 f5 4f ec f8 0f 0b e9 07 fe ff ff e8 e9 4f ec f8 0f 0b e9 3f fe ff ff e8 dd 4f ec f8 0f 0b e9 95 fd ff ff e8 d1 4f ec f8 <0f> 0b e9 9f fe ff ff e8 a5 61 3d f9 e9 7a fc ff ff 4c 89 e7 e8 d8
RSP: 0018:ffffc90000528c48 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100
RDX: ffff888016271d40 RSI: ffffffff88969b8f RDI: 0000000000000005
RBP: ffff888052633100 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffff9000 R11: 000000000000002c R12: ffff888052633128
R13: ffff888052633374 R14: ffff888052633180 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff88802c700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002fb24000 CR3: 000000006d9f8000 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:__sanitizer_cov_trace_const_cmp4+0xa/0x20 kernel/kcov.c:304
Code: f3 0f 1e fa 48 8b 0c 24 0f b7 d6 0f b7 f7 bf 03 00 00 00 e9 b8 fe ff ff 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 89 f2 <89> fe bf 05 00 00 00 e9 9a fe ff ff 66 2e 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffc90000e07968 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffff88806f8d8000 RCX: ffffffff81b3f598
RDX: 0000000000000004 RSI: 0000000000000004 RDI: 0000000000000004
RBP: ffff88803fffa000 R08: 0000000000000005 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000004
R13: ffff88803ffff748 R14: 0000000000000003 R15: 0000000000000000
lru_gen_rotate_memcg+0x178/0xab0 mm/vmscan.c:4726
shrink_many mm/vmscan.c:5405 [inline]
lru_gen_shrink_node mm/vmscan.c:5511 [inline]
shrink_node+0x281a/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):
0: f3 0f 1e fa endbr64
4: 48 8b 0c 24 mov (%rsp),%rcx
8: 0f b7 d6 movzwl %si,%edx
b: 0f b7 f7 movzwl %di,%esi
e: bf 03 00 00 00 mov $0x3,%edi
13: e9 b8 fe ff ff jmpq 0xfffffed0
18: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1)
1f: 00
20: f3 0f 1e fa endbr64
24: 48 8b 0c 24 mov (%rsp),%rcx
28: 89 f2 mov %esi,%edx
* 2a: 89 fe mov %edi,%esi <-- trapping instruction
2c: bf 05 00 00 00 mov $0x5,%edi
31: e9 9a fe ff ff jmpq 0xfffffed0
36: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
3d: 00 00 00