===================================================== BUG: KMSAN: uninit-value in tomoyo_path_chown+0x121/0x240 security/tomoyo/tomoyo.c:366 tomoyo_path_chown+0x121/0x240 security/tomoyo/tomoyo.c:366 security_path_chown+0x17d/0x260 security/security.c:1224 chown_common+0x9f2/0xef0 fs/open.c:729 vfs_fchown fs/open.c:802 [inline] ksys_fchown+0x229/0x360 fs/open.c:813 __do_sys_fchown fs/open.c:821 [inline] __se_sys_fchown fs/open.c:819 [inline] __x64_sys_fchown+0x8a/0xe0 fs/open.c:819 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+0x63/0xcd Local variable newattrs created at: chown_common+0xd1/0xef0 fs/open.c:708 vfs_fchown fs/open.c:802 [inline] ksys_fchown+0x229/0x360 fs/open.c:813 CPU: 0 PID: 7695 Comm: syz-executor.5 Not tainted 6.0.0-rc5-syzkaller-48538-g8f4ae27df775 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 =====================================================