syzbot


KMSAN: uninit-value in __ext4_error

Status: auto-closed as invalid on 2022/03/02 18:51
Subsystems: ext4
[Documentation on labels]
First crash: 876d, last: 876d

Sample crash report:
loop2: detected capacity change from 0 to 512
=====================================================
BUG: KMSAN: uninit-value in string_nocheck lib/vsprintf.c:638 [inline]
BUG: KMSAN: uninit-value in string+0x4fd/0x700 lib/vsprintf.c:720
 string_nocheck lib/vsprintf.c:638 [inline]
 string+0x4fd/0x700 lib/vsprintf.c:720
 vsnprintf+0x224f/0x36a0 lib/vsprintf.c:2797
 va_format lib/vsprintf.c:1694 [inline]
 pointer+0x184c/0x2060 lib/vsprintf.c:2427
 vsnprintf+0x1aaf/0x36a0 lib/vsprintf.c:2801
 vprintk_store+0x4c4/0x20d0 kernel/printk/printk.c:2134
 vprintk_emit+0x25c/0x860 kernel/printk/printk.c:2228
 vprintk_default+0x86/0xa0 kernel/printk/printk.c:2255
 vprintk+0x15f/0x180 kernel/printk/printk_safe.c:50
 _printk+0x187/0x1c9 kernel/printk/printk.c:2265
 __ext4_error+0x5ed/0x750 fs/ext4/super.c:757
 __ext4_iget+0xb2d/0x64c0 fs/ext4/inode.c:4566
 ext4_quota_enable fs/ext4/super.c:6313 [inline]
 ext4_enable_quotas+0x5bc/0xc90 fs/ext4/super.c:6348
 ext4_fill_super+0x104fc/0x11500 fs/ext4/super.c:4943
 mount_bdev+0x628/0x920 fs/super.c:1368
 ext4_mount+0xc9/0xe0 fs/ext4/super.c:6515
 legacy_get_tree+0x163/0x2e0 fs/fs_context.c:610
 vfs_get_tree+0xd8/0x5d0 fs/super.c:1498
 do_new_mount+0x7bc/0x1680 fs/namespace.c:2988
 path_mount+0x106f/0x2960 fs/namespace.c:3318
 do_mount fs/namespace.c:3331 [inline]
 __do_sys_mount fs/namespace.c:3539 [inline]
 __se_sys_mount+0x8eb/0xa10 fs/namespace.c:3516
 __ia32_sys_mount+0x157/0x1b0 fs/namespace.c:3516
 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 xas created at:
 __xa_set_mark+0x83/0x500 lib/xarray.c:1895
 __set_page_dirty+0x544/0x640 mm/page-writeback.c:2501
=====================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/02 18:50 https://github.com/google/kmsan.git master a535b0caaa2f 61f86278 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __ext4_error
* Struck through repros no longer work on HEAD.