------------[ cut here ]------------
WARNING: CPU: 1 PID: 13713 at net/ipv4/af_inet.c:156 inet_sock_destruct+0x684/0x830 net/ipv4/af_inet.c:156
Modules linked in:
CPU: 1 UID: 0 PID: 13713 Comm: syz.0.2331 Not tainted 6.16.0-rc6-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:inet_sock_destruct+0x684/0x830 net/ipv4/af_inet.c:156
Code: 0f 0b 90 e9 12 fe ff ff e8 a9 99 b5 f7 90 0f 0b 90 e9 5e fe ff ff e8 9b 99 b5 f7 90 0f 0b 90 e9 94 fe ff ff e8 8d 99 b5 f7 90 <0f> 0b 90 e9 d3 fe ff ff e8 3f 73 1c f8 e9 d7 fc ff ff 4c 89 ff e8
RSP: 0018:ffffc90000a08d90 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88804286a880 RCX: ffffffff8a0657c7
RDX: ffff888084a2a440 RSI: ffffffff8a0658f3 RDI: 0000000000000005
RBP: 0000000000000fff R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000fff R11: 0000000000000001 R12: ffff88804286a880
R13: ffff88804286a910 R14: ffffc90000a08e90 R15: 0000000000000004
FS: 0000000000000000(0000) GS:ffff888124813000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fd1eff8 CR3: 0000000055943000 CR4: 00000000003526f0
Call Trace:
__sk_destruct+0x81/0x980 net/core/sock.c:2347
rcu_do_batch kernel/rcu/tree.c:2576 [inline]
rcu_core+0x79c/0x14e0 kernel/rcu/tree.c:2832
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_is_held_type+0x107/0x150 kernel/locking/lockdep.c:5948
Code: 00 00 b8 ff ff ff ff 65 0f c1 05 6c c0 48 08 83 f8 01 75 2d 9c 58 f6 c4 02 75 43 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 <44> 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f e9 d7 f1 02 00 45 31 ed eb
RSP: 0018:ffffc9000473f708 EFLAGS: 00000282
RAX: 0000000000000046 RBX: ffff888084a2af58 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8de0d94d RDI: ffffffff8c158ee0
RBP: ffffffff8e5c4e00 R08: 0000000000000006 R09: 0000000000001000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888084a2a440
R13: 0000000000000001 R14: 00000000ffffffff R15: 0000000000000001
lookup_page_ext+0x10d/0x1d0 mm/page_ext.c:254
page_ext_iter_begin include/linux/page_ext.h:132 [inline]
page_table_check_clear+0x1e2/0x740 mm/page_table_check.c:78
__page_table_check_pte_clear+0xf1/0x100 mm/page_table_check.c:154
page_table_check_pte_clear include/linux/page_table_check.h:51 [inline]
ptep_get_and_clear_full arch/x86/include/asm/pgtable.h:1317 [inline]
get_and_clear_full_ptes include/linux/pgtable.h:714 [inline]
zap_present_folio_ptes mm/memory.c:1505 [inline]
zap_present_ptes mm/memory.c:1590 [inline]
do_zap_pte_range mm/memory.c:1691 [inline]
zap_pte_range mm/memory.c:1735 [inline]
zap_pmd_range mm/memory.c:1827 [inline]
zap_pud_range mm/memory.c:1856 [inline]
zap_p4d_range mm/memory.c:1877 [inline]
unmap_page_range+0x24bd/0x4350 mm/memory.c:1898
unmap_single_vma.constprop.0+0x153/0x240 mm/memory.c:1941
unmap_vmas+0x218/0x470 mm/memory.c:1985
exit_mmap+0x1b9/0xb90 mm/mmap.c:1284
__mmput+0x12a/0x410 kernel/fork.c:1121
mmput+0x62/0x70 kernel/fork.c:1144
exit_mm kernel/exit.c:581 [inline]
do_exit+0x7c4/0x2bd0 kernel/exit.c:952
do_group_exit+0xd3/0x2a0 kernel/exit.c:1105
__do_sys_exit_group kernel/exit.c:1116 [inline]
__se_sys_exit_group kernel/exit.c:1114 [inline]
__x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1114
x64_sys_call+0x1530/0x1730 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:0x7fa2abd8e929
Code: Unable to access opcode bytes at 0x7fa2abd8e8ff.
RSP: 002b:00007ffdec5d0b78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa2abd8e929
RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffdec5d0bdc R08: 00000005ec5d0c6f R09: 00000000000927c0
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000235
R13: 00000000000927c0 R14: 0000000000090643 R15: 00007ffdec5d0c30
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: b8 ff ff ff ff mov $0xffffffff,%eax
7: 65 0f c1 05 6c c0 48 xadd %eax,%gs:0x848c06c(%rip) # 0x848c07b
e: 08
f: 83 f8 01 cmp $0x1,%eax
12: 75 2d jne 0x41
14: 9c pushf
15: 58 pop %rax
16: f6 c4 02 test $0x2,%ah
19: 75 43 jne 0x5e
1b: 48 f7 04 24 00 02 00 testq $0x200,(%rsp)
22: 00
23: 74 01 je 0x26
25: fb sti
26: 48 83 c4 08 add $0x8,%rsp
* 2a: 44 89 e8 mov %r13d,%eax <-- trapping instruction
2d: 5b pop %rbx
2e: 5d pop %rbp
2f: 41 5c pop %r12
31: 41 5d pop %r13
33: 41 5e pop %r14
35: 41 5f pop %r15
37: e9 d7 f1 02 00 jmp 0x2f213
3c: 45 31 ed xor %r13d,%r13d
3f: eb .byte 0xeb