===================================================== BUG: KMSAN: uninit-value in number+0x851/0x23d0 lib/vsprintf.c:495 number+0x851/0x23d0 lib/vsprintf.c:495 vsnprintf+0x1f0d/0x3650 lib/vsprintf.c:2872 snprintf+0x24a/0x290 lib/vsprintf.c:2941 tomoyo_print_header security/tomoyo/audit.c:165 [inline] tomoyo_init_log+0xd4e/0x3b00 security/tomoyo/audit.c:255 tomoyo_supervisor+0x8c0/0x27a0 security/tomoyo/common.c:2088 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_check_open_permission+0x726/0xe00 security/tomoyo/file.c:777 tomoyo_file_open+0x24f/0x2d0 security/tomoyo/tomoyo.c:311 security_file_open+0xaa/0x1e0 security/security.c:1651 do_dentry_open+0x4e4/0x1bf0 fs/open.c:811 vfs_open+0xaf/0xe0 fs/open.c:958 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:1213 do_sys_open fs/open.c:1229 [inline] __do_sys_openat fs/open.c:1245 [inline] __se_sys_openat fs/open.c:1240 [inline] __x64_sys_openat+0x35f/0x3c0 fs/open.c:1240 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x51/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x44/0xae Local variable mmap_event created at: perf_event_mmap+0x66/0x2a90 kernel/events/core.c:8538 mmap_region+0x20ae/0x3e20 mm/mmap.c:1851 CPU: 0 PID: 3236 Comm: sed Not tainted 5.18.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 =====================================================