------------[ cut here ]------------ WARNING: CPU: 1 PID: 6037 at net/ipv4/af_inet.c:156 inet_sock_destruct+0x574/0x66c net/ipv4/af_inet.c:156 Modules linked in: CPU: 1 UID: 0 PID: 6037 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 : ffff800080017c70 x29: ffff800080017c70 x28: ffff800089634a78 x27: 0000000000000003 x26: 1fffe0001a59c012 x25: dfff800000000000 x24: 1fffe0001a59c002 x23: 1fffe0001a59c005 x22: 0000000000000007 x21: 0000000000000000 x20: 00000000000008d6 x19: ffff0000d2ce0000 x18: ffff0001b36569a8 x17: ffff800123e21000 x16: ffff800080585eb0 x15: 0000000000000001 x14: 1fffe0001a59c053 x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001a59c054 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c2e91e40 x7 : ffff8000804213f8 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800089fb7c64 x2 : 0000000000000000 x1 : 00000000000008d6 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) spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] free_pcppages_bulk+0x6c8/0x6f8 mm/page_alloc.c:1225 free_unref_page_commit+0x4dc/0xe50 mm/page_alloc.c:2632 free_unref_page+0x768/0xf3c mm/page_alloc.c:2680 __free_pages+0x18c/0x1a4 mm/page_alloc.c:4838 __free_slab+0x124/0x1fc mm/slub.c:2648 free_slab+0x28/0x130 mm/slub.c:2671 discard_slab mm/slub.c:2677 [inline] __put_partials+0x1a8/0x250 mm/slub.c:3145 put_cpu_partial+0x164/0x1c0 mm/slub.c:3220 __slab_free+0x1a8/0x278 mm/slub.c:4449 do_slab_free mm/slub.c:4531 [inline] ___cache_free+0x144/0x16c mm/slub.c:4637 qlink_free+0x48/0x94 mm/kasan/quarantine.c:163 qlist_free_all+0x44/0xb8 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x118/0x124 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x2c/0x8c mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:247 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] __do_kmalloc_node mm/slub.c:4263 [inline] __kmalloc_noprof+0x250/0x49c mm/slub.c:4276 kmalloc_noprof include/linux/slab.h:882 [inline] tomoyo_realpath_from_path+0xc8/0x4cc security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x218/0x588 security/tomoyo/file.c:822 tomoyo_inode_getattr+0x28/0x38 security/tomoyo/tomoyo.c:123 security_inode_getattr+0x118/0x320 security/security.c:2373 vfs_getattr fs/stat.c:204 [inline] vfs_fstat fs/stat.c:229 [inline] vfs_fstatat+0x104/0x250 fs/stat.c:338 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat fs/stat.c:499 [inline] __arm64_sys_newfstatat+0x10c/0x190 fs/stat.c:499 __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: 1189891 hardirqs last enabled at (1189890): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (1189890): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (1189891): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (1188786): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (1189851): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---