------------[ cut here ]------------
WARNING: CPU: 3 PID: 5131 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 3 PID: 5131 Comm: syz-fuzzer 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 45 b6 da f8 0f 0b e9 07 fe ff ff e8 39 b6 da f8 0f 0b e9 3f fe ff ff e8 2d b6 da f8 0f 0b e9 95 fd ff ff e8 21 b6 da f8 <0f> 0b e9 9f fe ff ff e8 35 46 2b f9 e9 7a fc ff ff 4c 89 e7 e8 68
RSP: 0000:ffffc90000678c28 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100
RDX: ffff88801c006040 RSI: ffffffff88a9648f RDI: 0000000000000005
RBP: ffff88802799d080 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffff9000 R11: 0000000000000020 R12: ffff88802799d0a8
R13: ffff88802799d2f4 R14: ffff88802799d100 R15: 1ffff920000cf1a6
FS: 000000c0000e4090(0000) GS:ffff88802cb80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000eebbe8 CR3: 000000002577a000 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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202
Code: 90 f3 0f 1e fa 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 4a e6 4a f7 48 89 ef e8 82 57 4b f7 e8 2d 29 70 f7 fb bf 01 00 00 00 62 2c 3d f7 65 8b 05 b3 32 e9 75 85 c0 74 02 5d c3 e8 d0 03 e6
RSP: 0000:ffffc9000252f8a8 EFLAGS: 00000202
RAX: 000000000083b143 RBX: ffffc9000252f928 RCX: 1ffffffff22a2346
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff8880293e89e0 R08: 0000000000000001 R09: ffffffff914d3c27
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: ffffea000002a480 R14: dffffc0000000000 R15: 0000000000000000
spin_unlock_irq include/linux/spinlock.h:400 [inline]
__filemap_add_folio+0x5cb/0xfa0 mm/filemap.c:914
filemap_add_folio+0xaf/0x1e0 mm/filemap.c:939
page_cache_ra_unbounded+0x1d2/0x5e0 mm/readahead.c:251
do_page_cache_ra mm/readahead.c:300 [inline]
page_cache_ra_order+0x6ec/0xa00 mm/readahead.c:560
do_sync_mmap_readahead mm/filemap.c:3190 [inline]
filemap_fault+0x152d/0x2450 mm/filemap.c:3282
__do_fault+0x107/0x600 mm/memory.c:4141
do_read_fault mm/memory.c:4492 [inline]
do_fault mm/memory.c:4621 [inline]
handle_pte_fault mm/memory.c:4909 [inline]
__handle_mm_fault+0x24f3/0x3e60 mm/memory.c:5051
handle_mm_fault+0x2ba/0x9c0 mm/memory.c:5197
do_user_addr_fault+0x475/0x1230 arch/x86/mm/fault.c:1407
handle_page_fault arch/x86/mm/fault.c:1498 [inline]
exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1554
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x454cd7
Code: Unable to access opcode bytes at 0x454cad.
RSP: 002b:000000c0000ed908 EFLAGS: 00010206
RAX: 0000000000011f27 RBX: 00000000fffffffa RCX: 00000000011091a0
RDX: 00000000000000f4 RSI: 00000000000037fb RDI: 0000000000eeb440
RBP: 000000c0000ed918 R08: 00000000000000f5 R09: 0000000000eebbe8
R10: 0000000000000002 R11: 0000000000000007 R12: 000000c0000ed808
R13: 0000000000000000 R14: 000000c0004b01a0 R15: 0001000000000000
----------------
Code disassembly (best guess):
0: 90 nop
1: f3 0f 1e fa endbr64
5: 55 push %rbp
6: 48 8b 74 24 08 mov 0x8(%rsp),%rsi
b: 48 89 fd mov %rdi,%rbp
e: 48 83 c7 18 add $0x18,%rdi
12: e8 4a e6 4a f7 callq 0xf74ae661
17: 48 89 ef mov %rbp,%rdi
1a: e8 82 57 4b f7 callq 0xf74b57a1
1f: e8 2d 29 70 f7 callq 0xf7702951
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 62 2c 3d f7 callq 0xf73d2c91 <-- trapping instruction
2f: 65 8b 05 b3 32 e9 75 mov %gs:0x75e932b3(%rip),%eax # 0x75e932e9
36: 85 c0 test %eax,%eax
38: 74 02 je 0x3c
3a: 5d pop %rbp
3b: c3 retq
3c: e8 .byte 0xe8
3d: d0 03 rolb (%rbx)
3f: e6 .byte 0xe6