------------[ cut here ]------------ WARNING: CPU: 0 PID: 4395 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x56c/0x664 net/ipv4/af_inet.c:154 Modules linked in: CPU: 0 PID: 4395 Comm: syz.2.3 Not tainted 6.1.107-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inet_sock_destruct+0x56c/0x664 net/ipv4/af_inet.c:154 lr : inet_sock_destruct+0x56c/0x664 net/ipv4/af_inet.c:154 sp : ffff800008007c70 x29: ffff800008007c70 x28: ffff0000d664b7f0 x27: 0000000000000004 x26: 1fffe0001acc968c x25: dfff800000000000 x24: 1fffe0001acc9662 x23: 1fffe0001acc9665 x22: 0000000000000007 x21: 0000000000000000 x20: 0000000000000100 x19: ffff0000d664b300 x18: 1fffe0001a6d9777 x17: ffff80019e3e7000 x16: ffff8000084fa148 x15: 0000000000000000 x14: 1ffff00002b380b0 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800010de6b20 x8 : ffff0000d36cb780 x7 : ffff8000083b5460 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800010de6970 x2 : 0000000000000000 x1 : 0000000000000100 x0 : 0000000000000000 Call trace: inet_sock_destruct+0x56c/0x664 net/ipv4/af_inet.c:154 inet6_sock_destruct+0x28/0x38 net/ipv6/af_inet6.c:115 __sk_destruct+0x5c/0x75c net/core/sock.c:2139 rcu_do_batch kernel/rcu/tree.c:2297 [inline] rcu_core+0x880/0x1c48 kernel/rcu/tree.c:2557 rcu_core_si+0x10/0x1c kernel/rcu/tree.c:2574 handle_softirqs+0x318/0xd58 kernel/softirq.c:571 __do_softirq+0x14/0x20 kernel/softirq.c:605 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:893 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85 invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0x264/0x4d4 kernel/softirq.c:654 irq_exit_rcu+0x14/0x84 kernel/softirq.c:666 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline] el1_interrupt+0x38/0x68 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 check_kcov_mode kernel/kcov.c:182 [inline] write_comp_data kernel/kcov.c:245 [inline] __sanitizer_cov_trace_const_cmp8+0x5c/0xa8 kernel/kcov.c:320 arch_stack_walk+0x17c/0x1c8 arch/arm64/kernel/stacktrace.c:231 return_address+0xcc/0x16c arch/arm64/kernel/return_address.c:42 get_lock_parent_ip include/linux/ftrace.h:952 [inline] preempt_latency_start kernel/sched/core.c:5688 [inline] preempt_count_add+0x10c/0x304 kernel/sched/core.c:5713 __raw_spin_lock include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock+0x20/0x6c kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] do_anonymous_page mm/memory.c:4152 [inline] handle_pte_fault mm/memory.c:5010 [inline] __handle_mm_fault mm/memory.c:5154 [inline] handle_mm_fault+0x136c/0x3d38 mm/memory.c:5275 __do_page_fault arch/arm64/mm/fault.c:499 [inline] do_page_fault+0x330/0x890 arch/arm64/mm/fault.c:583 do_translation_fault+0x94/0xc8 arch/arm64/mm/fault.c:667 do_mem_abort+0x74/0x200 arch/arm64/mm/fault.c:803 el1_abort+0x3c/0x5c arch/arm64/kernel/entry-common.c:367 el1h_64_sync_handler+0x60/0xac arch/arm64/kernel/entry-common.c:427 el1h_64_sync+0x64/0x68 arch/arm64/kernel/entry.S:580 __arch_copy_from_user+0x84/0x230 arch/arm64/lib/copy_template.S:89 recvmsg_copy_msghdr net/socket.c:2699 [inline] ___sys_recvmsg net/socket.c:2771 [inline] do_recvmmsg+0x3cc/0xb60 net/socket.c:2869 __sys_recvmmsg net/socket.c:2948 [inline] __do_sys_recvmmsg net/socket.c:2971 [inline] __se_sys_recvmmsg net/socket.c:2964 [inline] __arm64_sys_recvmmsg+0x180/0x23c net/socket.c:2964 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 83875 hardirqs last enabled at (83874): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (83874): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (83875): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (82072): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (82072): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (83843): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]---