===================================================== 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_fstat fs/stat.c:182 [inline] __do_sys_newfstat fs/stat.c:422 [inline] __se_sys_newfstat+0x130/0xb30 fs/stat.c:419 __x64_sys_newfstat+0x92/0xc0 fs/stat.c:419 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 pvec created at: truncate_inode_pages_range+0x95/0x2720 mm/truncate.c:289 truncate_inode_pages mm/truncate.c:425 [inline] truncate_inode_pages_final+0xf3/0x150 mm/truncate.c:464 ===================================================== Kernel panic - not syncing: panic_on_kmsan set ... CPU: 0 PID: 8496 Comm: syz-executor.3 Tainted: G B 5.15.0-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+0x2e9/0x2f0 mm/kmsan/report.c:200 __msan_warning+0xb4/0x100 mm/kmsan/instrumentation.c:224 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_fstat fs/stat.c:182 [inline] __do_sys_newfstat fs/stat.c:422 [inline] __se_sys_newfstat+0x130/0xb30 fs/stat.c:419 __x64_sys_newfstat+0x92/0xc0 fs/stat.c:419 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:0x7f1c27e94b35 Code: bc ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 41 89 f8 89 f7 48 89 d6 41 83 f8 01 77 2a b8 05 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 c3 66 90 48 c7 c2 bc ff ff ff f7 d8 64 89 RSP: 002b:00007f1c284dbbb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 0000000000000058 RCX: 00007f1c27e94b35 RDX: 00007f1c284dbbc0 RSI: 00007f1c284dbbc0 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000001 R09: 00007f1c284dce00 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1c284dbbc0 R13: 00007f1c284dce00 R14: 0000000000000004 R15: 00007f1c284dce40 Kernel Offset: disabled Rebooting in 86400 seconds..