------------[ cut here ]------------
sk->sk_forward_alloc
WARNING: net/ipv4/af_inet.c:162 at inet_sock_destruct+0x62b/0x740 net/ipv4/af_inet.c:162, CPU#1: syz.1.11471/21079
Modules linked in:
CPU: 1 UID: 0 PID: 21079 Comm: syz.1.11471 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
RIP: 0010:inet_sock_destruct+0x62b/0x740 net/ipv4/af_inet.c:162
Code: 0f 0b 90 e9 58 fe ff ff e8 b2 d1 79 f7 90 0f 0b 90 e9 8b fe ff ff e8 a4 d1 79 f7 90 0f 0b 90 e9 b1 fe ff ff e8 96 d1 79 f7 90 <0f> 0b 90 e9 d7 fe ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 95 fc
RSP: 0018:ffffc90000a08d28 EFLAGS: 00010246
RAX: ffffffff8a4c9fea RBX: dffffc0000000000 RCX: ffff88803e179f00
RDX: 0000000000000100 RSI: 0000000000000f70 RDI: 0000000000000000
RBP: 0000000000000f70 R08: ffff88803e486027 R09: 1ffff11007c90c04
R10: dffffc0000000000 R11: ffffed1007c90c05 R12: ffff88803e485d80
R13: dffffc0000000000 R14: ffff88803e48600c R15: ffffffff9010e500
FS: 0000000000000000(0000) GS:ffff888125058000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c38a0a6 CR3: 0000000068e46000 CR4: 00000000003526f0
Call Trace:
__sk_destruct+0x89/0x9d0 net/core/sock.c:2357
rcu_do_batch kernel/rcu/tree.c:2645 [inline]
rcu_core+0x78b/0x10a0 kernel/rcu/tree.c:2897
handle_softirqs+0x225/0x840 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0xca/0x220 kernel/softirq.c:735
irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:188 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:206
Code: 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ca b6 cf f5 48 89 df e8 22 2c d0 f5 e8 1d 0e fc f5 fb bf 01 00 00 00 42 42 c1 f5 65 8b 05 3b e2 99 07 85 c0 74 07 5b c3 cc cc cc cc
RSP: 0018:ffffc9000374f4c8 EFLAGS: 00000206
RAX: 0000000000001b0f RBX: ffff88802e1345c0 RCX: 0000000080000002
RDX: 0000000000000006 RSI: ffffffff8e22d693 RDI: 0000000000000001
RBP: dffffc0000000000 R08: ffffffff905789f7 R09: 1ffffffff20af13e
R10: dffffc0000000000 R11: fffffbfff20af13f R12: ffff88802e1345c0
R13: 1ffff11005c268b7 R14: 00fff7000002002d R15: ffff88802e1345b8
spin_unlock_irq include/linux/spinlock.h:402 [inline]
filemap_remove_folio+0xf9/0x3a0 mm/filemap.c:258
truncate_inode_folio+0x5d/0x70 mm/truncate.c:176
shmem_undo_range+0x3fb/0x15d0 mm/shmem.c:1145
shmem_truncate_range mm/shmem.c:1277 [inline]
shmem_evict_inode+0x280/0xa80 mm/shmem.c:1407
evict+0x624/0xb50 fs/inode.c:825
dentry_kill+0x1b9/0x880 fs/dcache.c:826
finish_dput+0x1a/0x260 fs/dcache.c:1001
__fput+0x675/0xa50 fs/file_table.c:520
task_work_run+0x1d9/0x270 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x73a/0x2360 kernel/exit.c:1009
do_group_exit+0x22d/0x2f0 kernel/exit.c:1152
__do_sys_exit_group kernel/exit.c:1163 [inline]
__se_sys_exit_group kernel/exit.c:1161 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1161
x64_sys_call+0x221a/0x2240 arch/x86/include/generated/asm/syscalls_64.h:232
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f327af9de99
Code: Unable to access opcode bytes at 0x7f327af9de6f.
RSP: 002b:00007ffe4921d118 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f327af9de99
RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffe4921d17c R08: 0000000000000000 R09: 00000000000927c0
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000268
R13: 00000000000927c0 R14: 00000000001aa8f0 R15: 00007ffe4921d1d0
----------------
Code disassembly (best guess):
0: 90 nop
1: f3 0f 1e fa endbr64
5: 53 push %rbx
6: 48 89 fb mov %rdi,%rbx
9: 48 83 c7 18 add $0x18,%rdi
d: 48 8b 74 24 08 mov 0x8(%rsp),%rsi
12: e8 ca b6 cf f5 call 0xf5cfb6e1
17: 48 89 df mov %rbx,%rdi
1a: e8 22 2c d0 f5 call 0xf5d02c41
1f: e8 1d 0e fc f5 call 0xf5fc0e41
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 42 42 c1 f5 call 0xf5c14271 <-- trapping instruction
2f: 65 8b 05 3b e2 99 07 mov %gs:0x799e23b(%rip),%eax # 0x799e271
36: 85 c0 test %eax,%eax
38: 74 07 je 0x41
3a: 5b pop %rbx
3b: c3 ret
3c: cc int3
3d: cc int3
3e: cc int3
3f: cc int3