------------[ cut here ]------------ WARNING: CPU: 0 PID: 5058 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x6e8/0x8a0 net/ipv4/af_inet.c:155 Modules linked in: CPU: 0 PID: 5058 Comm: syz-executor398 Not tainted 6.6.0-rc2-syzkaller-00680-g236f3873b517 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:inet_sock_destruct+0x6e8/0x8a0 net/ipv4/af_inet.c:155 Code: ff e8 bc f1 bd f8 0f 0b e9 ff fd ff ff e8 b0 f1 bd f8 0f 0b e9 37 fe ff ff e8 a4 f1 bd f8 0f 0b e9 8d fd ff ff e8 98 f1 bd f8 <0f> 0b e9 97 fe ff ff e8 bc e7 13 f9 e9 70 fc ff ff 48 89 ef e8 ef RSP: 0018:ffffc90000007da0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88802808a700 RCX: 0000000000000100 RDX: ffff88807c945940 RSI: ffffffff88c9dd28 RDI: 0000000000000005 RBP: 0000000000000cc0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000cc0 R11: 0000000000000000 R12: ffff88802808a728 R13: ffff88802808a860 R14: 0000000000000000 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f55209fb948 CR3: 0000000075d88000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sk_destruct+0x4d/0x770 net/core/sock.c:2185 rcu_do_batch kernel/rcu/tree.c:2139 [inline] rcu_core+0x805/0x1bb0 kernel/rcu/tree.c:2403 __do_softirq+0x218/0x965 kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__sanitizer_cov_trace_pc+0x3b/0x70 kernel/kcov.c:207 Code: 81 e1 00 01 00 00 65 48 8b 14 25 c0 bc 03 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 04 16 00 00 85 c0 74 2b 8b 82 e0 15 00 00 <83> f8 02 75 20 48 8b 8a e8 15 00 00 8b 92 e4 15 00 00 48 8b 01 48 RSP: 0018:ffffc90003a1f668 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffea0001d13700 RCX: 0000000000000000 RDX: ffff88807c945940 RSI: ffffffff81e882fc RDI: 0000000000000007 RBP: ffffea0001d136c8 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000000 R12: ffff888016935de0 R13: 0000000000000001 R14: ffffea0001d13708 R15: 0000000000000000 page_fixed_fake_head include/linux/page-flags.h:219 [inline] _compound_head include/linux/page-flags.h:251 [inline] PageSlab include/linux/page-flags.h:481 [inline] page_table_check_clear mm/page_table_check.c:74 [inline] page_table_check_clear+0x26c/0x9a0 mm/page_table_check.c:61 __page_table_check_pte_clear+0xef/0x100 mm/page_table_check.c:158 page_table_check_pte_clear include/linux/page_table_check.h:49 [inline] ptep_get_and_clear_full arch/x86/include/asm/pgtable.h:1293 [inline] zap_pte_range mm/memory.c:1431 [inline] zap_pmd_range mm/memory.c:1573 [inline] zap_pud_range mm/memory.c:1602 [inline] zap_p4d_range mm/memory.c:1623 [inline] unmap_page_range+0x18e0/0x2c10 mm/memory.c:1644 unmap_single_vma+0x194/0x2b0 mm/memory.c:1690 unmap_vmas+0x1e2/0x330 mm/memory.c:1731 exit_mmap+0x1ad/0xa60 mm/mmap.c:3210 __mmput+0x12a/0x4d0 kernel/fork.c:1349 mmput+0x62/0x70 kernel/fork.c:1371 exit_mm kernel/exit.c:567 [inline] do_exit+0x9ad/0x2a20 kernel/exit.c:861 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 get_signal+0x23ba/0x2790 kernel/signal.c:2892 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f55209a51e9 Code: Unable to access opcode bytes at 0x7f55209a51bf. RSP: 002b:00007f5520944238 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f5520a2f3f8 RCX: 00007f55209a51e9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f5520a2f3f8 RBP: 00007f5520a2f3f0 R08: 00007f55209446c0 R09: 00007f55209446c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f55209fc2c0 R13: 000000000000000b R14: 00007fff366c16d0 R15: 00007fff366c17b8 ---------------- Code disassembly (best guess): 0: 81 e1 00 01 00 00 and $0x100,%ecx 6: 65 48 8b 14 25 c0 bc mov %gs:0x3bcc0,%rdx d: 03 00 f: a9 00 01 ff 00 test $0xff0100,%eax 14: 74 0e je 0x24 16: 85 c9 test %ecx,%ecx 18: 74 35 je 0x4f 1a: 8b 82 04 16 00 00 mov 0x1604(%rdx),%eax 20: 85 c0 test %eax,%eax 22: 74 2b je 0x4f 24: 8b 82 e0 15 00 00 mov 0x15e0(%rdx),%eax * 2a: 83 f8 02 cmp $0x2,%eax <-- trapping instruction 2d: 75 20 jne 0x4f 2f: 48 8b 8a e8 15 00 00 mov 0x15e8(%rdx),%rcx 36: 8b 92 e4 15 00 00 mov 0x15e4(%rdx),%edx 3c: 48 8b 01 mov (%rcx),%rax 3f: 48 rex.W