------------[ cut here ]------------
WARNING: CPU: 3 PID: 101 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 3 PID: 101 Comm: kswapd0 Not tainted 6.2.0-syzkaller-13467-g0988a0ea7919 #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 9f da f8 0f 0b e9 07 fe ff ff e8 99 9f da f8 0f 0b e9 3f fe ff ff e8 8d 9f da f8 0f 0b e9 95 fd ff ff e8 81 9f da f8 <0f> 0b e9 9f fe ff ff e8 f5 1a 2c f9 e9 7a fc ff ff 4c 89 e7 e8 28
RSP: 0018:ffffc90000578c28 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100
RDX: ffff888015e757c0 RSI: ffffffff88aa5a7f RDI: 0000000000000005
RBP: ffff8880241d0000 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffff9000 R11: 0000000000000001 R12: ffff8880241d0028
R13: ffff8880241d0274 R14: ffff8880241d0080 R15: 1ffff920000af1a6
FS: 0000000000000000(0000) GS:ffff88802cb80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000f72b2b97 CR3: 000000001c0b0000 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:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200
Code: 46 6d 98 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be a8 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1e fa 65 8b 05 7d be 7e 7e 89 c1 48 8b 34 24 81 e1 00 01 00
RSP: 0018:ffffc90000c778b8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000200 RCX: 0000000000000000
RDX: ffff888015e757c0 RSI: ffffffff8493e7d1 RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000000 R12: ffff88802cbb8fc0
R13: 1ffff9200018ef1b R14: 0000000000000003 R15: 0000000000000044
get_random_u8+0x427/0x7d0 drivers/char/random.c:530
get_random_u32_below include/linux/random.h:78 [inline]
lru_gen_rotate_memcg+0x1e/0xab0 mm/vmscan.c:4709
shrink_many mm/vmscan.c:5379 [inline]
lru_gen_shrink_node mm/vmscan.c:5511 [inline]
shrink_node+0x2139/0x35f0 mm/vmscan.c:6459
kswapd_shrink_node mm/vmscan.c:7262 [inline]
balance_pgdat+0xa02/0x1ac0 mm/vmscan.c:7452
kswapd+0x70b/0x1000 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), 4 bytes skipped:
0: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
6: f3 0f 1e fa endbr64
a: 48 8b be a8 01 00 00 mov 0x1a8(%rsi),%rdi
11: e8 b0 ff ff ff callq 0xffffffc6
16: 31 c0 xor %eax,%eax
18: c3 retq
19: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1)
20: 00 00 00 00
24: 66 90 xchg %ax,%ax
* 26: f3 0f 1e fa endbr64 <-- trapping instruction
2a: 65 8b 05 7d be 7e 7e mov %gs:0x7e7ebe7d(%rip),%eax # 0x7e7ebeae
31: 89 c1 mov %eax,%ecx
33: 48 8b 34 24 mov (%rsp),%rsi
37: 81 .byte 0x81
38: e1 00 loope 0x3a
3a: 01 00 add %eax,(%rax)