BUG: KMSAN: uninit-value in tomoyo_realpath_from_path+0x4e5/0xaf0 security/tomoyo/realpath.c:286 tomoyo_realpath_from_path+0x4e5/0xaf0 security/tomoyo/realpath.c:286 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x27d/0xb40 security/tomoyo/file.c:822 tomoyo_inode_getattr+0x30/0x40 security/tomoyo/tomoyo.c:122 security_inode_getattr+0x121/0x1f0 security/security.c:1344 vfs_getattr fs/stat.c:157 [inline] vfs_statx+0x19d/0x5d0 fs/stat.c:232 vfs_fstatat fs/stat.c:255 [inline] __do_sys_newfstatat fs/stat.c:425 [inline] __se_sys_newfstatat+0xd0/0x940 fs/stat.c:419 __x64_sys_newfstatat+0xb9/0x110 fs/stat.c:419 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 Local variable mmap_event created at: perf_event_mmap+0x54/0x29c0 kernel/events/core.c:8537 mmap_region+0x19fe/0x34d0 mm/mmap.c:1863 CPU: 1 PID: 2847 Comm: xargs Not tainted 5.19.0-rc3-syzkaller-30869-gd60755a5e2cb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 =====================================================