------------[ 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: kswapd0 Not tainted 6.4.0-rc2-syzkaller-00290-gd635f6cc934b #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 fb e1 f8 0f 0b e9 07 fe ff ff e8 69 fb e1 f8 0f 0b e9 3f fe ff ff e8 5d fb e1 f8 0f 0b e9 95 fd ff ff e8 51 fb e1 f8 <0f> 0b e9 9f fe ff ff e8 05 ce 33 f9 e9 7a fc ff ff 4c 89 e7 e8 38
RSP: 0018:ffffc90000007c48 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100
RDX: ffff888016a90040 RSI: ffffffff88a1689f RDI: 0000000000000005
RBP: ffff888028a9eec0 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffff9000 R11: 000000000000002d R12: ffff888028a9eee8
R13: ffff888028a9f134 R14: ffff888028a9ef40 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff88802c600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ed2b000 CR3: 000000005e987000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__sk_destruct+0x4d/0x770 net/core/sock.c:2130
sk_destruct net/core/sock.c:2178 [inline]
__sk_free+0x175/0x460 net/core/sock.c:2189
sk_free+0x7c/0xa0 net/core/sock.c:2200
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:1106
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [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+0xe2/0x190 mm/kasan/generic.c:187
Code: 74 f2 48 89 c2 b8 01 00 00 00 48 85 d2 75 56 5b 5d 41 5c c3 48 85 d2 74 5e 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 50 80 38 00 <74> f2 eb d4 41 bc 08 00 00 00 48 89 ea 45 29 dc 4d 8d 1c 2c eb 0c
RSP: 0018:ffffc90001f8f688 EFLAGS: 00000246
RAX: fffffbfff1cf367a RBX: fffffbfff1cf367b RCX: ffffffff81650585
RDX: fffffbfff1cf367b RSI: 0000000000000008 RDI: ffffffff8e79b3d0
RBP: fffffbfff1cf367a R08: 0000000000000000 R09: ffffffff8e79b3d7
R10: fffffbfff1cf367a R11: 0000000000000000 R12: ffffffff8c796080
R13: ffff88801d1d0000 R14: ffffc90001f8f904 R15: ffffc90001f8f918
instrument_atomic_read include/linux/instrumented.h:68 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
cpumask_test_cpu include/linux/cpumask.h:504 [inline]
cpu_online include/linux/cpumask.h:1082 [inline]
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0xa5/0x670 kernel/locking/lockdep.c:5702
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/0xaa0 mm/vmscan.c:859
shrink_slab_memcg mm/vmscan.c:982 [inline]
shrink_slab+0x4aa/0x8a0 mm/vmscan.c:1062
shrink_one+0x4f9/0x710 mm/vmscan.c:5380
shrink_many mm/vmscan.c:5430 [inline]
lru_gen_shrink_node mm/vmscan.c:5547 [inline]
shrink_node+0x1fd5/0x3500 mm/vmscan.c:6488
kswapd_shrink_node mm/vmscan.c:7288 [inline]
balance_pgdat+0xa02/0x1ac0 mm/vmscan.c:7478
kswapd+0x677/0xd60 mm/vmscan.c:7738
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
----------------
Code disassembly (best guess):
0: 74 f2 je 0xfffffff4
2: 48 89 c2 mov %rax,%rdx
5: b8 01 00 00 00 mov $0x1,%eax
a: 48 85 d2 test %rdx,%rdx
d: 75 56 jne 0x65
f: 5b pop %rbx
10: 5d pop %rbp
11: 41 5c pop %r12
13: c3 retq
14: 48 85 d2 test %rdx,%rdx
17: 74 5e je 0x77
19: 48 01 ea add %rbp,%rdx
1c: eb 09 jmp 0x27
1e: 48 83 c0 01 add $0x1,%rax
22: 48 39 d0 cmp %rdx,%rax
25: 74 50 je 0x77
27: 80 38 00 cmpb $0x0,(%rax)
* 2a: 74 f2 je 0x1e <-- trapping instruction
2c: eb d4 jmp 0x2
2e: 41 bc 08 00 00 00 mov $0x8,%r12d
34: 48 89 ea mov %rbp,%rdx
37: 45 29 dc sub %r11d,%r12d
3a: 4d 8d 1c 2c lea (%r12,%rbp,1),%r11
3e: eb 0c jmp 0x4c