------------[ cut here ]------------
WARNING: CPU: 0 PID: 100 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 0 PID: 100 Comm: kswapd0 Not tainted 6.2.0-syzkaller-12998-gc0927a7a5391 #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 d5 c0 da f8 0f 0b e9 07 fe ff ff e8 c9 c0 da f8 0f 0b e9 3f fe ff ff e8 bd c0 da f8 0f 0b e9 95 fd ff ff e8 b1 c0 da f8 <0f> 0b e9 9f fe ff ff e8 e5 50 2b f9 e9 7a fc ff ff 4c 89 e7 e8 18
RSP: 0018:ffffc90000007c28 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100
RDX: ffff8880169e2100 RSI: ffffffff88a961ff RDI: 0000000000000005
RBP: ffff8880159fa080 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffff9000 R11: 0000000000000031 R12: ffff8880159fa0a8
R13: ffff8880159fa2f4 R14: ffff8880159fa100 R15: 1ffff92000000fa6
FS: 0000000000000000(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f226000 CR3: 0000000072c6f000 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+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:memory_is_nonzero mm/kasan/generic.c:101 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:178 [inline]
RIP: 0010:kasan_check_range+0x63/0x190 mm/kasan/generic.c:187
Code: 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 ca 48 c1 ed 03 49 c1 ea 03 48 01 c5 49 01 c2 48 89 e8 49 8d 5a 01 48 89 da 48 29 ea <48> 83 fa 10 7e 63 41 89 eb 41 83 e3 07 75 74 4c 8d 5a 07 48 85 d2
RSP: 0018:ffffc90000c37688 EFLAGS: 00000202
RAX: fffffbfff1cef2ca RBX: fffffbfff1cef2cb RCX: ffffffff81657689
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8e779650
RBP: fffffbfff1cef2ca R08: 0000000000000000 R09: ffffffff8e779657
R10: fffffbfff1cef2ca R11: 0000000000000000 R12: ffffffff8c793380
R13: ffff8880412c2000 R14: 0000000000000000 R15: ffffc90000c37908
instrument_atomic_read include/linux/instrumented.h:72 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
cpumask_test_cpu include/linux/cpumask.h:464 [inline]
cpu_online include/linux/cpumask.h:1050 [inline]
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0xd9/0x780 kernel/locking/lockdep.c:5680
rcu_lock_release include/linux/rcupdate.h:332 [inline]
rcu_read_unlock include/linux/rcupdate.h:806 [inline]
list_lru_count_one+0x15d/0x320 mm/list_lru.c:187
list_lru_shrink_count include/linux/list_lru.h:122 [inline]
super_cache_count+0x150/0x2e0 fs/super.c:146
do_shrink_slab+0x7e/0xd20 mm/vmscan.c:800
shrink_slab+0x175/0x660 mm/vmscan.c:1013
shrink_one+0x502/0x810 mm/vmscan.c:5343
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+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):
0: 89 fd mov %edi,%ebp
2: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
9: fc ff df
c: 4d 89 ca mov %r9,%r10
f: 48 c1 ed 03 shr $0x3,%rbp
13: 49 c1 ea 03 shr $0x3,%r10
17: 48 01 c5 add %rax,%rbp
1a: 49 01 c2 add %rax,%r10
1d: 48 89 e8 mov %rbp,%rax
20: 49 8d 5a 01 lea 0x1(%r10),%rbx
24: 48 89 da mov %rbx,%rdx
27: 48 29 ea sub %rbp,%rdx
* 2a: 48 83 fa 10 cmp $0x10,%rdx <-- trapping instruction
2e: 7e 63 jle 0x93
30: 41 89 eb mov %ebp,%r11d
33: 41 83 e3 07 and $0x7,%r11d
37: 75 74 jne 0xad
39: 4c 8d 5a 07 lea 0x7(%rdx),%r11
3d: 48 85 d2 test %rdx,%rdx