===================================================== BUG: KMSAN: uninit-value in number+0xd27/0x24c0 lib/vsprintf.c:490 number+0xd27/0x24c0 lib/vsprintf.c:490 vsnprintf+0x1f3a/0x36a0 lib/vsprintf.c:2863 snprintf+0x244/0x290 lib/vsprintf.c:2930 tomoyo_print_header security/tomoyo/audit.c:165 [inline] tomoyo_init_log+0xd39/0x3b50 security/tomoyo/audit.c:255 tomoyo_supervisor+0x8bd/0x2820 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_path_perm+0x96c/0xc70 security/tomoyo/file.c:838 tomoyo_inode_getattr+0x54/0x60 security/tomoyo/tomoyo.c:122 security_inode_getattr+0x1bf/0x2a0 security/security.c:1333 vfs_getattr fs/stat.c:157 [inline] vfs_statx+0x288/0x880 fs/stat.c:225 vfs_fstatat fs/stat.c:243 [inline] vfs_lstat include/linux/fs.h:3356 [inline] __do_sys_newlstat fs/stat.c:398 [inline] __se_sys_newlstat+0xcd/0x930 fs/stat.c:392 __x64_sys_newlstat+0x92/0xc0 fs/stat.c:392 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 ----plug@__ext4_get_inode_loc created at: __ext4_get_inode_loc+0xbc/0x1ef0 fs/ext4/inode.c:4314 ext4_get_inode_loc fs/ext4/inode.c:4454 [inline] ext4_reserve_inode_write+0x20d/0x650 fs/ext4/inode.c:5760 ===================================================== Kernel panic - not syncing: panic_on_kmsan set ... CPU: 1 PID: 6404 Comm: syz-executor.2 Tainted: G B 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1ff/0x28e lib/dump_stack.c:106 dump_stack+0x25/0x28 lib/dump_stack.c:113 panic+0x44f/0xdeb kernel/panic.c:232 kmsan_report+0x2ee/0x300 mm/kmsan/report.c:168 __msan_warning+0xb4/0x100 mm/kmsan/instrumentation.c:199 number+0xd27/0x24c0 lib/vsprintf.c:490 vsnprintf+0x1f3a/0x36a0 lib/vsprintf.c:2863 snprintf+0x244/0x290 lib/vsprintf.c:2930 tomoyo_print_header security/tomoyo/audit.c:165 [inline] tomoyo_init_log+0xd39/0x3b50 security/tomoyo/audit.c:255 tomoyo_supervisor+0x8bd/0x2820 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_path_perm+0x96c/0xc70 security/tomoyo/file.c:838 tomoyo_inode_getattr+0x54/0x60 security/tomoyo/tomoyo.c:122 security_inode_getattr+0x1bf/0x2a0 security/security.c:1333 vfs_getattr fs/stat.c:157 [inline] vfs_statx+0x288/0x880 fs/stat.c:225 vfs_fstatat fs/stat.c:243 [inline] vfs_lstat include/linux/fs.h:3356 [inline] __do_sys_newlstat fs/stat.c:398 [inline] __se_sys_newlstat+0xcd/0x930 fs/stat.c:392 __x64_sys_newlstat+0x92/0xc0 fs/stat.c:392 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 RIP: 0033:0x7f5ff9c1bad6 Code: ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 41 89 f8 48 89 f7 48 89 d6 41 83 f8 01 77 29 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 02 c3 90 48 c7 c2 bc ff ff ff f7 d8 64 89 02 RSP: 002b:00007fffe310c8b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5ff9c1bad6 RDX: 00007fffe310c8f0 RSI: 00007fffe310c8f0 RDI: 00007fffe310c980 RBP: 00007fffe310c980 R08: 0000000000000001 R09: 00007fffe310c750 R10: 00005555572208c3 R11: 0000000000000246 R12: 00007f5ff9c76035 R13: 00007fffe310da40 R14: 0000555557220810 R15: 00007fffe310da80 Kernel Offset: disabled Rebooting in 86400 seconds..