syzbot


KMSAN: uninit-value in __ext4_error_inode

Status: auto-closed as invalid on 2022/07/08 09:17
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 373d, last: 238d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in number (4) C 7189 10d 388d 0/24 closed as invalid on 2022/11/28 10:01
upstream KMSAN: uninit-value in preempt_count_add C 6657 55d 55d 0/24 closed as invalid on 2022/10/10 13:29

Sample crash report:
loop4: detected capacity change from 0 to 1024
=====================================================
BUG: KMSAN: uninit-value in check_pointer lib/vsprintf.c:705 [inline]
BUG: KMSAN: uninit-value in va_format lib/vsprintf.c:1680 [inline]
BUG: KMSAN: uninit-value in pointer+0x16f8/0x2060 lib/vsprintf.c:2425
 check_pointer lib/vsprintf.c:705 [inline]
 va_format lib/vsprintf.c:1680 [inline]
 pointer+0x16f8/0x2060 lib/vsprintf.c:2425
 vsnprintf+0x1a9b/0x3650 lib/vsprintf.c:2799
 vprintk_store+0x537/0x2150 kernel/printk/printk.c:2135
 vprintk_emit+0x25c/0x950 kernel/printk/printk.c:2229
 vprintk_default+0x86/0xa0 kernel/printk/printk.c:2256
 vprintk+0x15f/0x180 kernel/printk/printk_safe.c:50
 _printk+0x18d/0x1cf kernel/printk/printk.c:2266
 __ext4_error_inode+0x884/0xcd0 fs/ext4/super.c:807
 __ext4_ext_check+0x1954/0x1c80 fs/ext4/extents.c:481
 ext4_ext_check_inode+0xc5/0xf0 fs/ext4/extents.c:497
 __ext4_iget+0x612d/0x64f0 fs/ext4/inode.c:4920
 ext4_quota_enable fs/ext4/super.c:6799 [inline]
 ext4_enable_quotas+0x5d6/0xde0 fs/ext4/super.c:6834
 __ext4_fill_super fs/ext4/super.c:5404 [inline]
 ext4_fill_super+0x110e3/0x11bc0 fs/ext4/super.c:5554
 get_tree_bdev+0x9ee/0xdd0 fs/super.c:1292
 ext4_get_tree+0x50/0x60 fs/ext4/super.c:5582
 vfs_get_tree+0xd8/0x5d0 fs/super.c:1497
 do_new_mount+0x7b5/0x16f0 fs/namespace.c:3024
 path_mount+0x1021/0x28b0 fs/namespace.c:3354
 do_mount fs/namespace.c:3367 [inline]
 __do_sys_mount fs/namespace.c:3575 [inline]
 __se_sys_mount+0x8a8/0x9d0 fs/namespace.c:3552
 __ia32_sys_mount+0x157/0x1b0 fs/namespace.c:3552
 do_syscall_32_irqs_on arch/x86/entry/common.c:113 [inline]
 __do_fast_syscall_32+0x96/0xf0 arch/x86/entry/common.c:179
 do_fast_syscall_32+0x34/0x70 arch/x86/entry/common.c:204
 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:247
 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c

Local variable newes created at:
 ext4_es_insert_extent+0xb7/0x62b0 fs/ext4/extents_status.c:819
 ext4_map_blocks+0xc98/0x3a20 fs/ext4/inode.c:585

CPU: 1 PID: 29177 Comm: syz-executor.4 Not tainted 5.17.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
=====================================================

Crashes (6):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce-386 2022/04/09 09:17 https://github.com/google/kmsan.git master 33d9269ef6e0 e22c3da3 .config log report info KMSAN: uninit-value in __ext4_error_inode
ci-upstream-kmsan-gce-386 2022/04/09 05:00 https://github.com/google/kmsan.git master 33d9269ef6e0 e22c3da3 .config log report info KMSAN: uninit-value in __ext4_error_inode
ci-upstream-kmsan-gce-386 2022/01/26 04:12 https://github.com/google/kmsan.git master 85cfd6e539bd 2cbffd88 .config log report info KMSAN: uninit-value in __ext4_error_inode
ci-upstream-kmsan-gce-386 2022/01/13 04:01 https://github.com/google/kmsan.git master fa3879a274df 44d1319a .config log report info KMSAN: uninit-value in __ext4_error_inode
ci-upstream-kmsan-gce-386 2022/01/10 21:53 https://github.com/google/kmsan.git master 81c325bbf94e ddb0ab8c .config log report info KMSAN: uninit-value in __ext4_error_inode
ci-upstream-kmsan-gce-386 2021/11/25 12:18 https://github.com/google/kmsan.git master b05f62d953b9 545ab074 .config log report info KMSAN: uninit-value in __ext4_error_inode
* Struck through repros no longer work on HEAD.