syzbot


KMSAN: uninit-value in ext4_evict_inode

Status: upstream: reported on 2022/11/16 15:25
Reported-by: syzbot+57b25da729eb0b88177d@syzkaller.appspotmail.com
First crash: 16d, last: 24m

Sample crash report:
EXT4-fs (loop0): unmounting filesystem.
=====================================================
BUG: KMSAN: uninit-value in ext4_evict_inode+0xdd/0x26b0 fs/ext4/inode.c:180
 ext4_evict_inode+0xdd/0x26b0 fs/ext4/inode.c:180
 evict+0x365/0x9a0 fs/inode.c:664
 iput_final fs/inode.c:1747 [inline]
 iput+0x985/0xdd0 fs/inode.c:1773
 ext4_mb_release+0x1058/0x1910 fs/ext4/mballoc.c:3553
 ext4_put_super+0x42b/0x1a60 fs/ext4/super.c:1230
 generic_shutdown_super+0x18c/0x570 fs/super.c:492
 kill_block_super+0x8d/0x180 fs/super.c:1428
 deactivate_locked_super+0xb1/0x120 fs/super.c:332
 deactivate_super+0x13a/0x150 fs/super.c:363
 cleanup_mnt+0x6b5/0x730 fs/namespace.c:1186
 __cleanup_mnt+0x1e/0x30 fs/namespace.c:1193
 task_work_run+0x229/0x2c0 kernel/task_work.c:179
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0x2a9/0x320 kernel/entry/common.c:171
 exit_to_user_mode_prepare+0x16e/0x220 kernel/entry/common.c:203
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x23/0x40 kernel/entry/common.c:296
 __do_fast_syscall_32+0xb1/0x100 arch/x86/entry/common.c:181
 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203
 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246
 entry_SYSENTER_compat_after_hwframe+0x70/0x82

Uninit was created at:
 __alloc_pages+0x9f1/0xe80 mm/page_alloc.c:5578
 alloc_pages+0xaae/0xd80 mm/mempolicy.c:2285
 alloc_slab_page mm/slub.c:1794 [inline]
 allocate_slab+0x1b5/0x1010 mm/slub.c:1939
 new_slab mm/slub.c:1992 [inline]
 ___slab_alloc+0x10c3/0x2d60 mm/slub.c:3180
 __slab_alloc mm/slub.c:3279 [inline]
 slab_alloc_node mm/slub.c:3364 [inline]
 slab_alloc mm/slub.c:3406 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3413 [inline]
 kmem_cache_alloc_lru+0x6f3/0xb30 mm/slub.c:3429
 alloc_inode_sb include/linux/fs.h:3117 [inline]
 ext4_alloc_inode+0x5f/0x860 fs/ext4/super.c:1321
 alloc_inode+0x83/0x440 fs/inode.c:259
 new_inode_pseudo fs/inode.c:1018 [inline]
 new_inode+0x3b/0x430 fs/inode.c:1046
 __ext4_new_inode+0x2a7/0x7ec0 fs/ext4/ialloc.c:959
 ext4_symlink+0x57e/0x13d0 fs/ext4/namei.c:3369
 vfs_symlink+0x41c/0x610 fs/namei.c:4400
 do_symlinkat+0x26c/0x930 fs/namei.c:4429
 __do_sys_symlinkat fs/namei.c:4446 [inline]
 __se_sys_symlinkat fs/namei.c:4443 [inline]
 __ia32_sys_symlinkat+0xef/0x160 fs/namei.c:4443
 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
 __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178
 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203
 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246
 entry_SYSENTER_compat_after_hwframe+0x70/0x82

CPU: 1 PID: 3490 Comm: syz-executor.0 Not tainted 6.1.0-rc6-syzkaller-63555-ga472f15b3d1e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
=====================================================

Crashes (742):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce-386 2022/11/27 02:16 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/27 00:46 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/27 00:22 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 22:49 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 21:40 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 20:37 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 19:27 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 17:39 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 16:36 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 15:25 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 11:54 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 11:25 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 09:48 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 08:36 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 07:03 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 06:35 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 05:33 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 04:24 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/26 02:26 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 22:52 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 21:51 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 21:37 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 20:35 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 19:31 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 18:18 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 17:02 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 16:08 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 14:25 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 13:24 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 12:09 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 10:35 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 08:26 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 05:30 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 03:19 https://github.com/google/kmsan.git master e889f323ec44 62e26685 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 02:07 https://github.com/google/kmsan.git master e889f323ec44 62e26685 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 00:35 https://github.com/google/kmsan.git master e889f323ec44 62e26685 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/25 00:03 https://github.com/google/kmsan.git master e889f323ec44 62e26685 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/24 22:36 https://github.com/google/kmsan.git master e889f323ec44 62e26685 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/24 20:03 https://github.com/google/kmsan.git master e889f323ec44 62e26685 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/24 17:32 https://github.com/google/kmsan.git master e889f323ec44 62e26685 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/24 14:38 https://github.com/google/kmsan.git master ddce02aa9c40 12c66417 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/24 13:28 https://github.com/google/kmsan.git master ddce02aa9c40 12c66417 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/24 12:31 https://github.com/google/kmsan.git master ddce02aa9c40 12c66417 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/16 15:23 https://github.com/google/kmsan.git master cb231e2f67ec 3a127a31 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/16 09:22 https://github.com/google/kmsan.git master cb231e2f67ec 3a127a31 .config log report info KMSAN: uninit-value in ext4_evict_inode
ci-upstream-kmsan-gce-386 2022/11/10 12:08 https://github.com/google/kmsan.git master 9b1ac640862d b2488a87 .config log report info KMSAN: uninit-value in ext4_evict_inode
* Struck through repros no longer work on HEAD.