------------[ cut here ]------------ WARNING: CPU: 0 PID: 3003 at net/ipv4/af_inet.c:156 inet_sock_destruct+0x508/0x63c net/ipv4/af_inet.c:155 Modules linked in: CPU: 0 PID: 3003 Comm: udevd Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 Hardware name: linux,dummy-virt (DT) pstate: 10000005 (nzcV daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inet_sock_destruct+0x508/0x63c net/ipv4/af_inet.c:156 lr : instrument_atomic_read include/linux/instrumented.h:68 [inline] lr : atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline] lr : refcount_read include/linux/refcount.h:136 [inline] lr : inet_sock_destruct+0x320/0x63c net/ipv4/af_inet.c:154 sp : ffff800080007c50 x29: ffff800080007c50 x28: ffff00000e83a790 x27: 1fffe00001d0757e x26: ffff00000eef0000 x25: ffff00000e83abe8 x24: 1fffe00001d074f2 x23: ffff800084f2b3a0 x22: ffff00000e83a728 x21: 1fffe00001d074e5 x20: ffff00000e83a700 x19: ffff800087cdb320 x18: ffff00000eef0a70 x17: 0000000000000000 x16: 0000000000000006 x15: 1fffe00001dde14d x14: 1fffe00001dde15c x13: 1fffe00001dde14a x12: ffff600001d07534 x11: 1fffe00001d07533 x10: ffff600001d07533 x9 : dfff800000000000 x8 : ffff00000e83a99f x7 : 0000000000000001 x6 : ffff600001d07533 x5 : ffff00000e83a99c x4 : ffff600001d07534 x3 : 1fffe00001d07530 x2 : 0000000000000000 x1 : 0000000000000007 x0 : 0000000000000400 Call trace: inet_sock_destruct+0x508/0x63c net/ipv4/af_inet.c:155 inet6_sock_destruct+0x20/0x30 net/ipv6/af_inet6.c:116 __sk_destruct+0x4c/0x548 net/core/sock.c:2175 rcu_do_batch kernel/rcu/tree.c:2196 [inline] rcu_core+0x960/0x1bd0 kernel/rcu/tree.c:2471 rcu_core_si+0x10/0x1c kernel/rcu/tree.c:2488 __do_softirq+0x2e8/0xde8 kernel/softirq.c:554 ____do_softirq+0x10/0x1c arch/arm64/kernel/irq.c:81 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:889 do_softirq_own_stack+0x1c/0x2c arch/arm64/kernel/irq.c:86 invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0x334/0x434 kernel/softirq.c:633 irq_exit_rcu+0x14/0x80 kernel/softirq.c:645 __el1_irq arch/arm64/kernel/entry-common.c:537 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:551 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:556 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:594 __daif_local_irq_restore arch/arm64/include/asm/irqflags.h:176 [inline] arch_local_irq_restore arch/arm64/include/asm/irqflags.h:196 [inline] seqcount_lockdep_reader_access include/linux/seqlock.h:74 [inline] read_seqbegin include/linux/seqlock.h:772 [inline] read_seqbegin_or_lock include/linux/seqlock.h:1076 [inline] read_seqbegin_or_lock include/linux/seqlock.h:1073 [inline] prepend_path+0x114/0x974 fs/d_path.c:166 d_absolute_path+0xc8/0x148 fs/d_path.c:234 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x1f4/0x54c security/tomoyo/realpath.c:271 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x230/0x2b0 security/tomoyo/file.c:771 tomoyo_file_open security/tomoyo/tomoyo.c:334 [inline] tomoyo_file_open+0x90/0xc4 security/tomoyo/tomoyo.c:328 security_file_open+0x5c/0x490 security/security.c:2961 do_dentry_open+0x2d0/0x128c fs/open.c:942 vfs_open+0x90/0xc8 fs/open.c:1089 do_open fs/namei.c:3642 [inline] path_openat+0x1480/0x20b4 fs/namei.c:3799 do_filp_open+0x16c/0x330 fs/namei.c:3826 do_sys_openat2+0x12c/0x160 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __arm64_sys_openat+0x12c/0x1b8 fs/open.c:1432 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x6c/0x25c arch/arm64/kernel/syscall.c:48 el0_svc_common.constprop.0+0xac/0x230 arch/arm64/kernel/syscall.c:133 do_el0_svc+0x40/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x50/0x180 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 37958677 hardirqs last enabled at (37958676): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (37958676): [] _raw_spin_unlock_irqrestore+0x80/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (37958677): [] el1_dbg+0x24/0x9c arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (37958380): [] fpsimd_restore_current_state+0x44/0xe4 arch/arm64/kernel/fpsimd.c:1784 softirqs last disabled at (37958625): [] ____do_softirq+0x10/0x1c arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]---