------------[ cut here ]------------ WARNING: net/ipv4/af_inet.c:156 at inet_sock_destruct+0x623/0x730 net/ipv4/af_inet.c:156, CPU#0: syz.6.2063/14844 Modules linked in: CPU: 0 UID: 0 PID: 14844 Comm: syz.6.2063 Not tainted 6.16.0-rc6-next-20250714-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:inet_sock_destruct+0x623/0x730 net/ipv4/af_inet.c:156 Code: 0f 0b 90 e9 62 fe ff ff e8 3a db c1 f7 90 0f 0b 90 e9 95 fe ff ff e8 2c db c1 f7 90 0f 0b 90 e9 bb fe ff ff e8 1e db c1 f7 90 <0f> 0b 90 e9 e1 fe ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 9f fc RSP: 0018:ffffc90000007b48 EFLAGS: 00010246 RAX: ffffffff89fdea82 RBX: dffffc0000000000 RCX: ffff88801cec8000 RDX: 0000000000000100 RSI: 0000000000000fff RDI: 0000000000000000 RBP: 0000000000000fff R08: ffff8880568fc61f R09: 1ffff1100ad1f8c3 R10: dffffc0000000000 R11: ffffed100ad1f8c4 R12: ffff8880568fc380 R13: dffffc0000000000 R14: ffff8880568fc604 R15: 1ffff1100ad1f872 FS: 00007f9c22f8a6c0(0000) GS:ffff888125bed000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000e5f000 CR3: 0000000032176000 CR4: 00000000003526f0 Call Trace: __sk_destruct+0x89/0x660 net/core/sock.c:2333 rcu_do_batch kernel/rcu/tree.c:2584 [inline] rcu_core+0xca8/0x1710 kernel/rcu/tree.c:2840 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 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+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa8/0x110 kernel/locking/spinlock.c:194 Code: 74 05 e8 7b 93 4d f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 53 93 16 f6 65 8b 05 3c 6a 29 07 85 c0 74 40 48 c7 04 24 0e 36 RSP: 0018:ffffc9000afcf300 EFLAGS: 00000206 RAX: 13bdd5cc2546aa00 RBX: 0000000000000a02 RCX: 13bdd5cc2546aa00 RDX: 0000000000000006 RSI: ffffffff8d98febb RDI: 0000000000000001 RBP: ffffc9000afcf390 R08: ffffffff8fa29637 R09: 1ffffffff1f452c6 R10: dffffc0000000000 R11: fffffbfff1f452c7 R12: dffffc0000000000 R13: ffff88801b6f5b58 R14: ffff88801b6f5b58 R15: 1ffff920015f9e60 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] unlock_page_lruvec_irqrestore include/linux/memcontrol.h:1506 [inline] folio_batch_move_lru+0x2fc/0x3a0 mm/swap.c:174 __folio_batch_add_and_move+0x5ad/0xd20 mm/swap.c:196 shmem_alloc_and_add_folio+0xcb3/0xf60 mm/shmem.c:1969 shmem_get_folio_gfp+0x59d/0x1660 mm/shmem.c:2551 shmem_fault+0x179/0x390 mm/shmem.c:2752 __do_fault+0x135/0x390 mm/memory.c:5158 do_read_fault mm/memory.c:5579 [inline] do_fault mm/memory.c:5713 [inline] do_pte_missing mm/memory.c:4240 [inline] handle_pte_fault mm/memory.c:6058 [inline] __handle_mm_fault+0x3611/0x5440 mm/memory.c:6201 handle_mm_fault+0x40a/0x8e0 mm/memory.c:6370 faultin_page mm/gup.c:1144 [inline] __get_user_pages+0x1699/0x2ce0 mm/gup.c:1446 populate_vma_page_range+0x29f/0x3a0 mm/gup.c:1880 __mm_populate+0x24c/0x380 mm/gup.c:1983 mm_populate include/linux/mm.h:3365 [inline] vm_mmap_pgoff+0x387/0x4d0 mm/util.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9c2218e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9c22f8a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f9c223b5fa0 RCX: 00007f9c2218e929 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000200000000000 RBP: 00007f9c22210b39 R08: ffffffffffffffff R09: 000000001e029000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9c223b5fa0 R15: 00007ffe3a6a2e78 ---------------- Code disassembly (best guess): 0: 74 05 je 0x7 2: e8 7b 93 4d f6 call 0xf64d9382 7: 48 c7 44 24 20 00 00 movq $0x0,0x20(%rsp) e: 00 00 10: 9c pushf 11: 8f 44 24 20 pop 0x20(%rsp) 15: f6 44 24 21 02 testb $0x2,0x21(%rsp) 1a: 75 4f jne 0x6b 1c: f7 c3 00 02 00 00 test $0x200,%ebx 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 53 93 16 f6 call 0xf6169382 <-- trapping instruction 2f: 65 8b 05 3c 6a 29 07 mov %gs:0x7296a3c(%rip),%eax # 0x7296a72 36: 85 c0 test %eax,%eax 38: 74 40 je 0x7a 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss