syzbot


kmsan test error: KMSAN: uninit-value in number

Status: auto-closed as invalid on 2022/01/19 13:47
Subsystems: tomoyo
[Documentation on labels]
First crash: 916d, last: 916d

Sample crash report:
=====================================================
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_mount_log security/tomoyo/mount.c:32 [inline]
 tomoyo_mount_acl security/tomoyo/mount.c:166 [inline]
 tomoyo_mount_permission+0xc15/0x1700 security/tomoyo/mount.c:237
 tomoyo_sb_mount+0xe9/0x100 security/tomoyo/tomoyo.c:392
 security_sb_mount+0x174/0x270 security/security.c:963
 path_mount+0x278/0x2960 fs/namespace.c:3260
 do_mount fs/namespace.c:3331 [inline]
 __do_sys_mount fs/namespace.c:3539 [inline]
 __se_sys_mount+0x8eb/0xa10 fs/namespace.c:3516
 __x64_sys_mount+0x15d/0x1b0 fs/namespace.c:3516
 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 ----e4b@ext4_mb_regular_allocator created at:
 ext4_mb_regular_allocator+0x7f/0x6c10 fs/ext4/mballoc.c:2641
 ext4_mb_new_blocks+0x1073/0x33f0 fs/ext4/mballoc.c:5586
=====================================================
Kernel panic - not syncing: panic_on_kmsan set ...
CPU: 0 PID: 6396 Comm: syz-executor.0 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+0xa9/0xf0 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_mount_log security/tomoyo/mount.c:32 [inline]
 tomoyo_mount_acl security/tomoyo/mount.c:166 [inline]
 tomoyo_mount_permission+0xc15/0x1700 security/tomoyo/mount.c:237
 tomoyo_sb_mount+0xe9/0x100 security/tomoyo/tomoyo.c:392
 security_sb_mount+0x174/0x270 security/security.c:963
 path_mount+0x278/0x2960 fs/namespace.c:3260
 do_mount fs/namespace.c:3331 [inline]
 __do_sys_mount fs/namespace.c:3539 [inline]
 __se_sys_mount+0x8eb/0xa10 fs/namespace.c:3516
 __x64_sys_mount+0x15d/0x1b0 fs/namespace.c:3516
 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:0x7f70309b9f6a
Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7030feffa8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f70309b9f6a
RDX: 00007f7030a20b37 RSI: 00007f7030a13045 RDI: 00007f7030a3ae5a
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7030abcbf0
R13: 00007ffd452f4b20 R14: 0000000000000000 R15: 00000000000000f8
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/21 13:38 https://github.com/google/kmsan.git master d6493d2046c4 c5cb7da8 .config console log report ci-upstream-kmsan-gce kmsan test error: KMSAN: uninit-value in number
* Struck through repros no longer work on HEAD.