------------[ cut here ]------------
kernel BUG at net/ipv4/tcp_input.c:5406!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 19125 Comm: syz.7.3460 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:tcp_collapse+0x1519/0x1b50 net/ipv4/tcp_input.c:5406
Code: 04 00 00 41 0f b6 9f 84 00 00 00 31 ff 83 e3 20 89 de e8 ea e1 b8 f7 84 db 0f 84 9e fa ff ff e9 cb fb ff ff e8 f8 e6 b8 f7 90 <0f> 0b e8 f0 e6 b8 f7 e8 eb e6 b8 f7 4c 89 fa 48 c1 ea 03 42 80 3c
RSP: 0018:ffffc90000007470 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 000000000008e796 RCX: ffffffff8a02a1f4
RDX: ffff888028ed4880 RSI: ffffffff8a02a7d8 RDI: 0000000000000005
RBP: ffffc900000075c8 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fff81835 R11: 0000001000000000 R12: 00000000fff81835
R13: ffff888038afd29c R14: ffff888075a4aa00 R15: ffff888038afd270
FS: 0000000000000000(0000) GS:ffff8881246b5000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e013ff8 CR3: 0000000061952000 CR4: 00000000003526f0
Call Trace:
tcp_prune_queue net/ipv4/tcp_input.c:5568 [inline]
tcp_try_rmem_schedule+0xb23/0x18a0 net/ipv4/tcp_input.c:4907
tcp_data_queue+0x1339/0x4f90 net/ipv4/tcp_input.c:5192
tcp_rcv_established+0x88c/0x23f0 net/ipv4/tcp_input.c:6216
tcp_v4_do_rcv+0x5ca/0xa90 net/ipv4/tcp_ipv4.c:1926
tcp_v4_rcv+0x2ee1/0x4640 net/ipv4/tcp_ipv4.c:2368
ip_protocol_deliver_rcu+0xba/0x4c0 net/ipv4/ip_input.c:205
ip_local_deliver_finish+0x3f2/0x720 net/ipv4/ip_input.c:239
NF_HOOK include/linux/netfilter.h:318 [inline]
NF_HOOK include/linux/netfilter.h:312 [inline]
ip_local_deliver+0x18e/0x1f0 net/ipv4/ip_input.c:260
dst_input include/net/dst.h:471 [inline]
ip_rcv_finish net/ipv4/ip_input.c:454 [inline]
NF_HOOK include/linux/netfilter.h:318 [inline]
NF_HOOK include/linux/netfilter.h:312 [inline]
ip_rcv+0x2e0/0x600 net/ipv4/ip_input.c:574
__netif_receive_skb_one_core+0x197/0x1e0 net/core/dev.c:5991
__netif_receive_skb+0x1d/0x160 net/core/dev.c:6104
process_backlog+0x442/0x15e0 net/core/dev.c:6456
__napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:7506
napi_poll net/core/dev.c:7569 [inline]
net_rx_action+0xa9f/0xfe0 net/core/dev.c:7696
handle_softirqs+0x219/0x8e0 kernel/softirq.c:579
__do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0x109/0x170 kernel/softirq.c:680
irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1050
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_release+0x183/0x2f0 kernel/locking/lockdep.c:5893
Code: 0f c1 05 f8 2d 3f 12 83 f8 01 0f 85 1d 01 00 00 9c 58 f6 c4 02 0f 85 08 01 00 00 41 f7 c5 00 02 00 00 74 01 fb 48 8b 44 24 10 <65> 48 2b 05 0d ec 3e 12 0f 85 58 01 00 00 48 83 c4 18 5b 41 5c 41
RSP: 0018:ffffc90003d5f168 EFLAGS: 00000206
RAX: a33e7f3343730200 RBX: ffffffff8e5c1260 RCX: ffffc90003d5f174
RDX: 0000000000000000 RSI: ffffffff8de2cdc0 RDI: ffffffff8c162d80
RBP: 0000000000000001 R08: ffffffff9141e18a R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000007bcf R12: ffffffff816ae8a4
R13: 0000000000000202 R14: ffff888028ed4880 R15: 0000000000000001
rcu_lock_release include/linux/rcupdate.h:341 [inline]
rcu_read_unlock include/linux/rcupdate.h:871 [inline]
class_rcu_destructor include/linux/rcupdate.h:1155 [inline]
unwind_next_frame+0x3f9/0x20a0 arch/x86/kernel/unwind_orc.c:479
arch_stack_walk+0x94/0x100 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
save_stack+0x160/0x1f0 mm/page_owner.c:156
__reset_page_owner+0x84/0x1a0 mm/page_owner.c:308
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
free_unref_folios+0xa61/0x16b0 mm/page_alloc.c:2952
folios_put_refs+0x56f/0x740 mm/swap.c:997
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x58f/0x1150 mm/shmem.c:1157
shmem_truncate_range mm/shmem.c:1269 [inline]
shmem_evict_inode+0x3a1/0xbe0 mm/shmem.c:1397
evict+0x3e3/0x920 fs/inode.c:810
iput_final fs/inode.c:1897 [inline]
iput fs/inode.c:1923 [inline]
iput+0x521/0x880 fs/inode.c:1909
dentry_unlink_inode+0x29c/0x480 fs/dcache.c:466
__dentry_kill+0x1d0/0x600 fs/dcache.c:669
dput.part.0+0x4b1/0x9b0 fs/dcache.c:911
dput+0x1f/0x30 fs/dcache.c:901
__fput+0x51c/0xb70 fs/file_table.c:476
task_work_run+0x150/0x240 kernel/task_work.c:227
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x86f/0x2bf0 kernel/exit.c:961
do_group_exit+0xd3/0x2a0 kernel/exit.c:1102
__do_sys_exit_group kernel/exit.c:1113 [inline]
__se_sys_exit_group kernel/exit.c:1111 [inline]
__x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1111
x64_sys_call+0x14fa/0x1720 arch/x86/include/generated/asm/syscalls_64.h:232
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7faa5ef8eba9
Code: Unable to access opcode bytes at 0x7faa5ef8eb7f.
RSP: 002b:00007ffd5c5b4558 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007faa5ef8eba9
RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffd5c5b45bc R08: 0000001e5c5b464f R09: 00000000000927c0
R10: 0000000000000214 R11: 0000000000000246 R12: 0000000000000028
R13: 00000000000927c0 R14: 000000000011e3be R15: 00007ffd5c5b4610
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:tcp_collapse+0x1519/0x1b50 net/ipv4/tcp_input.c:5406
Code: 04 00 00 41 0f b6 9f 84 00 00 00 31 ff 83 e3 20 89 de e8 ea e1 b8 f7 84 db 0f 84 9e fa ff ff e9 cb fb ff ff e8 f8 e6 b8 f7 90 <0f> 0b e8 f0 e6 b8 f7 e8 eb e6 b8 f7 4c 89 fa 48 c1 ea 03 42 80 3c
RSP: 0018:ffffc90000007470 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 000000000008e796 RCX: ffffffff8a02a1f4
RDX: ffff888028ed4880 RSI: ffffffff8a02a7d8 RDI: 0000000000000005
RBP: ffffc900000075c8 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fff81835 R11: 0000001000000000 R12: 00000000fff81835
R13: ffff888038afd29c R14: ffff888075a4aa00 R15: ffff888038afd270
FS: 0000000000000000(0000) GS:ffff8881246b5000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e013ff8 CR3: 0000000061952000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
0: 0f c1 05 f8 2d 3f 12 xadd %eax,0x123f2df8(%rip) # 0x123f2dff
7: 83 f8 01 cmp $0x1,%eax
a: 0f 85 1d 01 00 00 jne 0x12d
10: 9c pushf
11: 58 pop %rax
12: f6 c4 02 test $0x2,%ah
15: 0f 85 08 01 00 00 jne 0x123
1b: 41 f7 c5 00 02 00 00 test $0x200,%r13d
22: 74 01 je 0x25
24: fb sti
25: 48 8b 44 24 10 mov 0x10(%rsp),%rax
* 2a: 65 48 2b 05 0d ec 3e sub %gs:0x123eec0d(%rip),%rax # 0x123eec3f <-- trapping instruction
31: 12
32: 0f 85 58 01 00 00 jne 0x190
38: 48 83 c4 18 add $0x18,%rsp
3c: 5b pop %rbx
3d: 41 5c pop %r12
3f: 41 rex.B