===================================================== 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 do_fchownat+0x1e1/0x3a0 fs/open.c:765 __do_sys_fchownat fs/open.c:780 [inline] __se_sys_fchownat fs/open.c:777 [inline] __x64_sys_fchownat+0xe1/0x160 fs/open.c:777 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 do_fchownat+0x1e1/0x3a0 fs/open.c:765 CPU: 0 PID: 9495 Comm: syz-executor.2 Not tainted 6.0.0-rc5-syzkaller-48538-g8f4ae27df775 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 =====================================================