===================================================== BUG: KMSAN: uninit-value in number+0x851/0x23d0 lib/vsprintf.c:490 number+0x851/0x23d0 lib/vsprintf.c:490 vsnprintf+0x1f0d/0x3650 lib/vsprintf.c:2861 snprintf+0x24a/0x290 lib/vsprintf.c:2928 tomoyo_print_header security/tomoyo/audit.c:165 [inline] tomoyo_init_log+0xd1f/0x3ad0 security/tomoyo/audit.c:255 tomoyo_supervisor+0x8c0/0x27a0 security/tomoyo/common.c:2097 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_check_open_permission+0xb97/0xe00 security/tomoyo/file.c:780 tomoyo_file_open+0x24f/0x2d0 security/tomoyo/tomoyo.c:311 security_file_open+0xaa/0x1e0 security/security.c:1638 do_dentry_open+0x4e4/0x1bf0 fs/open.c:811 vfs_open+0xaf/0xe0 fs/open.c:959 do_open fs/namei.c:3476 [inline] path_openat+0x503a/0x5be0 fs/namei.c:3609 do_filp_open+0x306/0x760 fs/namei.c:3636 do_sys_openat2+0x263/0x8f0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x35f/0x3c0 fs/open.c:1241 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x44/0xae Local variable tmp created at: number+0xad/0x23d0 lib/vsprintf.c:453 vsnprintf+0x1f0d/0x3650 lib/vsprintf.c:2861 CPU: 1 PID: 3477 Comm: syz-executor Not tainted 5.17.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 =====================================================