===================================================== 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_number_log security/tomoyo/file.c:235 [inline] tomoyo_path_number_perm+0x8be/0xb00 security/tomoyo/file.c:734 tomoyo_path_mkdir+0x106/0x190 security/tomoyo/tomoyo.c:166 security_path_mkdir+0x232/0x320 security/security.c:1140 do_mkdirat+0x2cb/0x900 fs/namei.c:3907 __do_sys_mkdir fs/namei.c:3931 [inline] __se_sys_mkdir fs/namei.c:3929 [inline] __ia32_sys_mkdir+0xe9/0x130 fs/namei.c:3929 do_syscall_32_irqs_on arch/x86/entry/common.c:114 [inline] __do_fast_syscall_32+0x96/0xf0 arch/x86/entry/common.c:180 do_fast_syscall_32+0x34/0x70 arch/x86/entry/common.c:205 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:248 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c Local variable plug created at: __ext4_get_inode_loc+0xbc/0x1e30 fs/ext4/inode.c:4250 ext4_get_inode_loc fs/ext4/inode.c:4396 [inline] ext4_reserve_inode_write+0x20d/0x650 fs/ext4/inode.c:5702 ===================================================== Kernel panic - not syncing: panic_on_kmsan set ... CPU: 1 PID: 8140 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_number_log security/tomoyo/file.c:235 [inline] tomoyo_path_number_perm+0x8be/0xb00 security/tomoyo/file.c:734 tomoyo_path_mkdir+0x106/0x190 security/tomoyo/tomoyo.c:166 security_path_mkdir+0x232/0x320 security/security.c:1140 do_mkdirat+0x2cb/0x900 fs/namei.c:3907 __do_sys_mkdir fs/namei.c:3931 [inline] __se_sys_mkdir fs/namei.c:3929 [inline] __ia32_sys_mkdir+0xe9/0x130 fs/namei.c:3929 do_syscall_32_irqs_on arch/x86/entry/common.c:114 [inline] __do_fast_syscall_32+0x96/0xf0 arch/x86/entry/common.c:180 do_fast_syscall_32+0x34/0x70 arch/x86/entry/common.c:205 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:248 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf6f3c549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 RSP: 002b:00000000ffddca6c EFLAGS: 00000282 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 00000000ffddcb04 RCX: 00000000000001ff RDX: 00000000f7072000 RSI: 00000000ffddcb04 RDI: 00000000f7072000 RBP: 00000000f6fed062 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds.. ---------------- Code disassembly (best guess): 0: 03 74 c0 01 add 0x1(%rax,%rax,8),%esi 4: 10 05 03 74 b8 01 adc %al,0x1b87403(%rip) # 0x1b8740d a: 10 06 adc %al,(%rsi) c: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 10: 10 07 adc %al,(%rdi) 12: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi 16: 10 08 adc %cl,(%rax) 18: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1c: 00 00 add %al,(%rax) 1e: 00 00 add %al,(%rax) 20: 00 51 52 add %dl,0x52(%rcx) 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 retq 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 39: 00 00 00 3c: 0f .byte 0xf 3d: 1f (bad) 3e: 44 rex.R