------------[ cut here ]------------ WARNING: CPU: 0 PID: 5294 at net/ipv4/af_inet.c:157 inet_sock_destruct+0x54c/0x62c net/ipv4/af_inet.c:157 Modules linked in: CPU: 0 PID: 5294 Comm: syz.3.275 Not tainted 5.15.170-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inet_sock_destruct+0x54c/0x62c net/ipv4/af_inet.c:157 lr : inet_sock_destruct+0x54c/0x62c net/ipv4/af_inet.c:157 sp : ffff800008007bd0 x29: ffff800008007bd0 x28: 0000000000000006 x27: dfff800000000000 x26: 1fffe0001975ae82 x25: dfff800000000000 x24: dfff800000000000 x23: ffff800008007d60 x22: 1fffe0001975ae5a x21: 0000000000000007 x20: 0000000000000100 x19: ffff0000cbad72c0 x18: 0000000000000101 x17: 0000000000000000 x16: ffff8000084c42fc x15: 00000000c0000000 x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000101 x10: 0000000000000000 x9 : ffff0000eab28000 x8 : ffff8000107945d8 x7 : ffff800008392828 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff80001079447c x2 : 0000000000000000 x1 : 0000000000000100 x0 : 0000000000000000 Call trace: inet_sock_destruct+0x54c/0x62c net/ipv4/af_inet.c:157 inet6_sock_destruct+0x28/0x38 net/ipv6/af_inet6.c:114 __sk_destruct+0x5c/0x600 net/core/sock.c:1955 rcu_do_batch kernel/rcu/tree.c:2523 [inline] rcu_core+0x830/0x1b34 kernel/rcu/tree.c:2763 rcu_core_si+0x10/0x1c kernel/rcu/tree.c:2776 handle_softirqs+0x384/0xdbc kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] invoke_softirq kernel/softirq.c:439 [inline] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 irq_exit+0x14/0x88 kernel/softirq.c:665 handle_domain_irq+0xf4/0x178 kernel/irq/irqdesc.c:711 gic_handle_irq+0x78/0x1c8 drivers/irqchip/irq-gic-v3.c:758 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:899 do_interrupt_handler+0x74/0x94 arch/arm64/kernel/entry-common.c:267 el1_interrupt+0x30/0x58 arch/arm64/kernel/entry-common.c:454 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:470 el1h_64_irq+0x78/0x7c arch/arm64/kernel/entry.S:522 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:122 [inline] lock_page_memcg+0x130/0x244 mm/memcontrol.c:2056 page_remove_rmap+0x3c/0xfe8 mm/rmap.c:1351 zap_pte_range mm/memory.c:1373 [inline] zap_pmd_range mm/memory.c:1494 [inline] zap_pud_range mm/memory.c:1523 [inline] zap_p4d_range mm/memory.c:1544 [inline] unmap_page_range+0xb04/0x19d4 mm/memory.c:1565 unmap_single_vma+0x13c/0x1e4 mm/memory.c:1610 unmap_vmas+0x1ac/0x320 mm/memory.c:1642 exit_mmap+0x2c8/0x558 mm/mmap.c:3186 __mmput+0xec/0x3b8 kernel/fork.c:1126 mmput+0x80/0xc8 kernel/fork.c:1147 exit_mm+0x5f0/0x70c kernel/exit.c:550 do_exit+0x4d4/0x20bc kernel/exit.c:861 do_group_exit+0x110/0x268 kernel/exit.c:996 get_signal+0x634/0x1550 kernel/signal.c:2900 do_signal arch/arm64/kernel/signal.c:890 [inline] do_notify_resume+0x3d0/0x32b8 arch/arm64/kernel/signal.c:943 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:609 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 2199 hardirqs last enabled at (2198): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (2198): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (2199): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (1706): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (1706): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (2139): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (2139): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (2139): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (2139): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 0875a9b593aa35d8 ]---