------------[ cut here ]------------ WARNING: ./include/linux/ns_common.h:255 at __ns_ref_put include/linux/ns_common.h:255 [inline], CPU#1: udevd/5193 WARNING: ./include/linux/ns_common.h:255 at put_user_ns include/linux/user_namespace.h:189 [inline], CPU#1: udevd/5193 WARNING: ./include/linux/ns_common.h:255 at delayed_free_pidns+0x118/0x150 kernel/pid_namespace.c:145, CPU#1: udevd/5193 Modules linked in: CPU: 1 UID: 0 PID: 5193 Comm: udevd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:__ns_ref_put include/linux/ns_common.h:255 [inline] RIP: 0010:put_user_ns include/linux/user_namespace.h:189 [inline] RIP: 0010:delayed_free_pidns+0x118/0x150 kernel/pid_namespace.c:145 Code: 85 ed 7e 2b e8 99 9f 03 00 48 83 c3 a8 48 8b 3d 5e be c7 17 48 89 de 5b 41 5c 41 5e 41 5f 5d e9 1e 1e 5f 00 e8 79 9f 03 00 90 <0f> 0b 90 eb b4 e8 6e 9f 03 00 4c 89 ff be 03 00 00 00 e8 01 fb d2 RSP: 0018:ffffc90000a08bb0 EFLAGS: 00010246 RAX: ffffffff81bde0b7 RBX: ffff88807e594b18 RCX: ffff88807cab8000 RDX: 0000000000000100 RSI: 0000000000000002 RDI: 0000000000000000 RBP: 0000000000000002 R08: ffff88807e5785bb R09: 1ffff1100fcaf0b7 R10: dffffc0000000000 R11: ffffed100fcaf0b8 R12: dffffc0000000000 R13: ffffffff81a903d7 R14: ffff88807e578428 R15: ffff88807e5785b8 FS: 00007ff16ca89880(0000) GS:ffff888125fc2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbaeed156c0 CR3: 000000007e6c6000 CR4: 00000000003526f0 Call Trace: rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861 handle_softirqs+0x286/0x870 kernel/softirq.c:626 __do_softirq kernel/softirq.c:660 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:727 irq_exit_rcu+0x9/0x30 kernel/softirq.c:743 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:get_current arch/x86/include/asm/current.h:25 [inline] RIP: 0010:write_comp_data kernel/kcov.c:245 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x8/0x90 kernel/kcov.c:300 Code: 20 e9 0c 9b 9d 09 cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 14 25 08 e0 75 92 65 8b 0d e8 5c b4 10 81 e1 00 01 ff 00 RSP: 0018:ffffc900033378c0 EFLAGS: 00000216 RAX: ffffffff8446f210 RBX: ffff888011a9afd6 RCX: 0000000000000000 RDX: ffff88807cab8000 RSI: 0000000000000053 RDI: 000000000000005e RBP: ffff88802d107e90 R08: 0000000000000d40 R09: 00000000ffffffff R10: 000000000000000c R11: ffffffff81ad7830 R12: ffff88802d107e90 R13: 0000000000000074 R14: 0000000000000010 R15: 0000000000000053 tomoyo_encode2 security/tomoyo/realpath.c:56 [inline] tomoyo_encode+0x340/0x550 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x58d/0x5d0 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x213/0x4b0 security/tomoyo/file.c:822 security_inode_getattr+0x12f/0x330 security/security.c:1869 vfs_getattr fs/stat.c:259 [inline] vfs_statx_path fs/stat.c:299 [inline] vfs_statx+0x18e/0x550 fs/stat.c:356 vfs_fstatat+0x118/0x170 fs/stat.c:375 __do_sys_newfstatat fs/stat.c:542 [inline] __se_sys_newfstatat fs/stat.c:536 [inline] __x64_sys_newfstatat+0x116/0x190 fs/stat.c:536 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff16c311b0a Code: 48 8b 15 f1 f2 0d 00 f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 8b 15 b9 f2 0d 00 f7 RSP: 002b:00007ffe983a09f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007ffe983a0e90 RCX: 00007ff16c311b0a RDX: 00007ffe983a0a00 RSI: 00007ffe983a0e90 RDI: 00000000ffffff9c RBP: 00005555959e0910 R08: 0000000000000000 R09: 0000000000000020 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe983a0a90 R13: 000055557db0a100 R14: 0000000000000000 R15: 00007ffe983a15f0 ---------------- Code disassembly (best guess): 0: 20 e9 and %ch,%cl 2: 0c 9b or $0x9b,%al 4: 9d popf 5: 09 cc or %ecx,%esp 7: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1) e: 00 00 00 00 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: f3 0f 1e fa endbr64 26: 48 8b 04 24 mov (%rsp),%rax * 2a: 65 48 8b 14 25 08 e0 mov %gs:0xffffffff9275e008,%rdx <-- trapping instruction 31: 75 92 33: 65 8b 0d e8 5c b4 10 mov %gs:0x10b45ce8(%rip),%ecx # 0x10b45d22 3a: 81 e1 00 01 ff 00 and $0xff0100,%ecx