------------[ cut here ]------------
WARNING: CPU: 0 PID: 5052 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x6e8/0x8a0 net/ipv4/af_inet.c:155
Modules linked in:
CPU: 0 PID: 5052 Comm: syz-executor645 Not tainted 6.6.0-rc7-syzkaller-00123-g3a568e3a961b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:inet_sock_destruct+0x6e8/0x8a0 net/ipv4/af_inet.c:155
Code: ff e8 bc 71 bf f8 0f 0b e9 ff fd ff ff e8 b0 71 bf f8 0f 0b e9 37 fe ff ff e8 a4 71 bf f8 0f 0b e9 8d fd ff ff e8 98 71 bf f8 <0f> 0b e9 97 fe ff ff e8 8c 46 15 f9 e9 70 fc ff ff 48 89 ef e8 bf
RSP: 0018:ffffc90000007da0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88807bed8000 RCX: 0000000000000100
RDX: ffff88807c5a8000 RSI: ffffffff88c86898 RDI: 0000000000000005
RBP: 00000000fffff340 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fffff340 R11: 0000000000000000 R12: ffff88807bed8028
R13: ffff88807bed8160 R14: 0000000000000000 R15: 0000000000000002
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2af819af08 CR3: 000000000c976000 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:rcu_lockdep_current_cpu_online kernel/rcu/tree.c:4130 [inline]
RIP: 0010:rcu_lockdep_current_cpu_online+0x60/0x140 kernel/rcu/tree.c:4122
Code: 03 00 83 f8 07 89 c5 0f 87 e9 00 00 00 48 8d 3c ed 40 5a 5c 8c 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 a4 00 00 00 48 03 1c ed 40 5a 5c 8c 48 b8 00 00 00 00 00 fc
RSP: 0018:ffffc90003aaf6e0 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 000000000003d600 RCX: 0000000000000000
RDX: 1ffffffff18b8b48 RSI: ffffffff8ae933e0 RDI: ffffffff8c5c5a40
RBP: 0000000000000000 R08: 0000000000000007 R09: 000000000007ffff
R10: 000000000000000f R11: 0000000000000001 R12: ffff888014a40000
R13: 0000000000000000 R14: 0000000000000000 R15: 00000015a872384b
rcu_read_lock_held_common kernel/rcu/update.c:112 [inline]
rcu_read_lock_held+0x23/0x40 kernel/rcu/update.c:348
lookup_page_ext mm/page_ext.c:240 [inline]
page_ext_get+0x132/0x310 mm/page_ext.c:509
__reset_page_owner+0x2f/0x190 mm/page_owner.c:145
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1136 [inline]
free_unref_page_prepare+0x476/0xa40 mm/page_alloc.c:2312
free_unref_page_list+0xe6/0xb30 mm/page_alloc.c:2451
release_pages+0x32a/0x14e0 mm/swap.c:1042
tlb_batch_pages_flush+0x9a/0x190 mm/mmu_gather.c:98
tlb_flush_mmu_free mm/mmu_gather.c:293 [inline]
tlb_flush_mmu mm/mmu_gather.c:300 [inline]
tlb_finish_mmu+0x14b/0x6f0 mm/mmu_gather.c:392
exit_mmap+0x38b/0xa60 mm/mmap.c:3243
__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:0x7f2af81447a9
Code: Unable to access opcode bytes at 0x7f2af814477f.
RSP: 002b:00007f2af80e3228 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f2af81ce3f8 RCX: 00007f2af81447a9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f2af81ce3f8
RBP: 00007f2af81ce3f0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2af819b2c0
R13: 00007f2af81ce3fc R14: 00007ffeb81f1110 R15: 00007ffeb81f11f8
----------------
Code disassembly (best guess):
0: 03 00 add (%rax),%eax
2: 83 f8 07 cmp $0x7,%eax
5: 89 c5 mov %eax,%ebp
7: 0f 87 e9 00 00 00 ja 0xf6
d: 48 8d 3c ed 40 5a 5c lea -0x73a3a5c0(,%rbp,8),%rdi
14: 8c
15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1c: fc ff df
1f: 48 89 fa mov %rdi,%rdx
22: 48 c1 ea 03 shr $0x3,%rdx
26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
* 2a: 0f 85 a4 00 00 00 jne 0xd4 <-- trapping instruction
30: 48 03 1c ed 40 5a 5c add -0x73a3a5c0(,%rbp,8),%rbx
37: 8c
38: 48 rex.W
39: b8 00 00 00 00 mov $0x0,%eax
3e: 00 fc add %bh,%ah