------------[ cut here ]------------
WARNING: CPU: 2 PID: 112 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 2 PID: 112 Comm: kswapd0 Not tainted 6.4.0-rc4-syzkaller-00371-g6f64a5ebe1dc #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 e5 62 e1 f8 0f 0b e9 07 fe ff ff e8 d9 62 e1 f8 0f 0b e9 3f fe ff ff e8 cd 62 e1 f8 0f 0b e9 95 fd ff ff e8 c1 62 e1 f8 <0f> 0b e9 9f fe ff ff e8 75 2b 34 f9 e9 7a fc ff ff 4c 89 e7 e8 a8
RSP: 0018:ffffc90000588c48 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100
RDX: ffff8880167fc800 RSI: ffffffff88a2e37f RDI: 0000000000000005
RBP: ffff8880259e9880 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffff9000 R11: 0000000000094001 R12: ffff8880259e98a8
R13: ffff8880259e9af4 R14: ffff8880259e9900 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff88802c800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000f65ffba4 CR3: 000000000c571000 CR4: 0000000000350ee0
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:1972 [inline]
tcp_write_timer+0x24b/0x2b0 net/ipv4/tcp_timer.c:654
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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194
Code: 74 24 10 e8 46 7f 52 f7 48 89 ef e8 6e ed 52 f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 df c2 44 f7 65 8b 05 e0 52 f0 75 85 c0 74 0a 5b 5d c3 e8 cc 78
RSP: 0018:ffffc90000e6fdd0 EFLAGS: 00000206
RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff1cf49e1
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff88803fffeb88 R08: 0000000000000001 R09: 0000000000000001
R10: fffffbfff1cf4fea R11: dffffc0000000000 R12: 0000000000000000
R13: ffff8880167fc800 R14: 0000000000000003 R15: ffff88803fffa000
kswapd_try_to_sleep mm/vmscan.c:7582 [inline]
kswapd+0x33e/0xd60 mm/vmscan.c:7707
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 24 je 0x26
2: 10 e8 adc %ch,%al
4: 46 7f 52 rex.RX jg 0x59
7: f7 48 89 ef e8 6e ed testl $0xed6ee8ef,-0x77(%rax)
e: 52 push %rdx
f: f7 81 e3 00 02 00 00 testl $0x9c257500,0x200e3(%rcx)
16: 75 25 9c
19: 58 pop %rax
1a: f6 c4 02 test $0x2,%ah
1d: 75 2d jne 0x4c
1f: 48 85 db test %rbx,%rbx
22: 74 01 je 0x25
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 df c2 44 f7 callq 0xf744c30e <-- trapping instruction
2f: 65 8b 05 e0 52 f0 75 mov %gs:0x75f052e0(%rip),%eax # 0x75f05316
36: 85 c0 test %eax,%eax
38: 74 0a je 0x44
3a: 5b pop %rbx
3b: 5d pop %rbp
3c: c3 retq
3d: e8 .byte 0xe8
3e: cc int3
3f: 78 .byte 0x78