------------[ cut here ]------------ WARNING: CPU: 0 PID: 6439 at net/ipv4/af_inet.c:157 inet_sock_destruct+0x54c/0x62c net/ipv4/af_inet.c:157 Modules linked in: CPU: 0 PID: 6439 Comm: syz.5.446 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: 0000000000000003 x27: dfff800000000000 x26: 1fffe000183cb4f2 x25: dfff800000000000 x24: dfff800000000000 x23: ffff800008007d60 x22: 1fffe000183cb4ca x21: 0000000000000007 x20: 0000000000000100 x19: ffff0000c1e5a640 x18: 0000000000000101 x17: 0000000000000000 x16: ffff8000084c42fc x15: 00000000c0000000 x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000101 x10: 0000000000000000 x9 : ffff0000c91ab680 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 __sanitizer_cov_trace_pc+0x88/0xac kernel/kcov.c:211 check_preemption_disabled+0x38/0x164 lib/smp_processor_id.c:16 debug_smp_processor_id+0x20/0x2c lib/smp_processor_id.c:60 rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:331 [inline] rcu_is_watching+0x5c/0x18c kernel/rcu/tree.c:1123 rcu_read_unlock include/linux/rcupdate.h:768 [inline] get_mem_cgroup_from_mm+0x164/0x384 mm/memcontrol.c:992 __mem_cgroup_charge+0x24/0xa8 mm/memcontrol.c:6797 mem_cgroup_charge include/linux/memcontrol.h:700 [inline] shmem_add_to_page_cache+0x898/0x16a0 mm/shmem.c:718 shmem_getpage_gfp+0x1398/0x20e4 mm/shmem.c:1940 shmem_fault+0x194/0x560 mm/shmem.c:2118 __do_fault+0x120/0x5d0 mm/memory.c:3915 do_read_fault mm/memory.c:4251 [inline] do_fault mm/memory.c:4379 [inline] handle_pte_fault mm/memory.c:4637 [inline] __handle_mm_fault mm/memory.c:4772 [inline] handle_mm_fault+0x21e8/0x33a8 mm/memory.c:4870 faultin_page mm/gup.c:976 [inline] __get_user_pages+0x39c/0x92c mm/gup.c:1197 populate_vma_page_range+0x200/0x290 mm/gup.c:1529 __mm_populate+0x278/0x41c mm/gup.c:1638 mm_populate include/linux/mm.h:2632 [inline] vm_mmap_pgoff+0x1fc/0x2b4 mm/util.c:556 ksys_mmap_pgoff+0x11c/0x668 mm/mmap.c:1624 __do_sys_mmap arch/arm64/kernel/sys.c:28 [inline] __se_sys_mmap arch/arm64/kernel/sys.c:21 [inline] __arm64_sys_mmap+0xf8/0x110 arch/arm64/kernel/sys.c:21 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 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: 37331 hardirqs last enabled at (37330): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (37330): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (37331): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (36842): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (36842): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (37291): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (37291): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (37291): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (37291): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 191db99ee9900553 ]---