------------[ cut here ]------------ WARNING: CPU: 0 PID: 6444 at net/ipv4/af_inet.c:156 inet_sock_destruct+0x574/0x66c net/ipv4/af_inet.c:156 Modules linked in: CPU: 0 UID: 0 PID: 6444 Comm: udevd Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #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+0x574/0x66c net/ipv4/af_inet.c:156 lr : inet_sock_destruct+0x574/0x66c net/ipv4/af_inet.c:156 sp : ffff800080007c70 x29: ffff800080007c70 x28: ffff800089634a78 x27: 0000000000000004 x26: 1fffe00018e18522 x25: dfff800000000000 x24: 1fffe00018e18512 x23: 1fffe00018e18515 x22: 0000000000000007 x21: 0000000000000000 x20: 000000000000046b x19: ffff0000c70c2880 x18: ffff0001b36329a8 x17: ffff800123dfd000 x16: ffff800080585eb0 x15: 0000000000000001 x14: 1fffe00018e18563 x13: 0000000000000000 x12: 0000000000000000 x11: ffff600018e18564 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000ecc4bc80 x7 : ffff8000804213f8 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800089fb7c64 x2 : 0000000000000000 x1 : 000000000000046b x0 : 0000000000000000 Call trace: inet_sock_destruct+0x574/0x66c net/ipv4/af_inet.c:156 (P) inet_sock_destruct+0x574/0x66c net/ipv4/af_inet.c:156 (L) inet6_sock_destruct+0x28/0x38 net/ipv6/af_inet6.c:116 __sk_destruct+0x5c/0x74c net/core/sock.c:2265 rcu_do_batch kernel/rcu/tree.c:2567 [inline] rcu_core+0x898/0x1b5c kernel/rcu/tree.c:2823 rcu_core_si+0x10/0x1c kernel/rcu/tree.c:2840 handle_softirqs+0x2e0/0xbf8 kernel/softirq.c:554 __do_softirq+0x14/0x20 kernel/softirq.c:588 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:891 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:86 invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0x1d8/0x544 kernel/softirq.c:655 irq_exit_rcu+0x14/0x84 kernel/softirq.c:671 __el1_irq arch/arm64/kernel/entry-common.c:561 [inline] el1_interrupt+0x38/0x68 arch/arm64/kernel/entry-common.c:575 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:580 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:596 __daif_local_irq_restore arch/arm64/include/asm/irqflags.h:175 [inline] (P) arch_local_irq_restore arch/arm64/include/asm/irqflags.h:195 [inline] (P) __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] (P) _raw_spin_unlock_irqrestore+0x44/0x98 kernel/locking/spinlock.c:194 (P) __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] (L) _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 (L) __debug_check_no_obj_freed lib/debugobjects.c:998 [inline] debug_check_no_obj_freed+0x460/0x47c lib/debugobjects.c:1019 slab_free_hook mm/slub.c:2273 [inline] slab_free mm/slub.c:4579 [inline] kmem_cache_free+0x13c/0x560 mm/slub.c:4681 locks_dispose_list+0x320/0x3d4 flock_lock_inode+0xce4/0x12a0 fs/locks.c:1141 locks_remove_flock fs/locks.c:2660 [inline] locks_remove_file+0x320/0xbb0 fs/locks.c:2702 __fput+0x140/0x75c fs/file_table.c:423 __fput_sync+0x5c/0x94 fs/file_table.c:516 __do_sys_close fs/open.c:1567 [inline] __se_sys_close fs/open.c:1552 [inline] __arm64_sys_close+0x14c/0x1d8 fs/open.c:1552 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 187461 hardirqs last enabled at (187460): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (187460): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (187461): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (187388): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (187397): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---