syzbot


KMSAN: uninit-value in hfs_revalidate_dentry

Status: upstream: reported on 2022/11/25 09:56
Reported-by: syzbot+3ae6be33a50b5aae4dab@syzkaller.appspotmail.com
First crash: 4d09h, last: 7h49m

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in hfs_revalidate_dentry+0x17f/0x3e0 fs/hfs/sysdep.c:30
 hfs_revalidate_dentry+0x17f/0x3e0 fs/hfs/sysdep.c:30
 d_revalidate fs/namei.c:856 [inline]
 lookup_dcache fs/namei.c:1565 [inline]
 __lookup_hash+0x301/0x520 fs/namei.c:1586
 do_renameat2+0x88b/0x1dc0 fs/namei.c:4881
 __do_sys_renameat2 fs/namei.c:4963 [inline]
 __se_sys_renameat2 fs/namei.c:4960 [inline]
 __ia32_sys_renameat2+0x14b/0x1f0 fs/namei.c:4960
 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

Uninit was created at:
 __alloc_pages+0x9f1/0xe80 mm/page_alloc.c:5581
 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:3125 [inline]
 hfs_alloc_inode+0x56/0xc0 fs/hfs/super.c:165
 alloc_inode+0x83/0x440 fs/inode.c:259
 iget_locked+0x2a1/0xe20 fs/inode.c:1286
 hfs_btree_open+0x162/0x1ab0 fs/hfs/btree.c:38
 hfs_mdb_get+0x207d/0x29b0 fs/hfs/mdb.c:199
 hfs_fill_super+0x1d13/0x2400 fs/hfs/super.c:406
 mount_bdev+0x508/0x840 fs/super.c:1401
 hfs_mount+0x49/0x60 fs/hfs/super.c:456
 legacy_get_tree+0x10c/0x280 fs/fs_context.c:610
 vfs_get_tree+0xa1/0x500 fs/super.c:1531
 do_new_mount+0x694/0x1580 fs/namespace.c:3040
 path_mount+0x71a/0x1eb0 fs/namespace.c:3370
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount+0x734/0x840 fs/namespace.c:3568
 __ia32_sys_mount+0xdf/0x140 fs/namespace.c:3568
 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: 15832 Comm: syz-executor.3 Not tainted 6.1.0-rc7-syzkaller-63931-g49a9a20768f5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
=====================================================

Crashes (29):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce-386 2022/11/29 03:02 https://github.com/google/kmsan.git master 49a9a20768f5 ca9683b8 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/28 20:39 https://github.com/google/kmsan.git master 49a9a20768f5 247de55b .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/28 02:36 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/27 22:37 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/27 21:05 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/27 17:17 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/27 11:24 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/27 01:58 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/27 01:56 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/27 01:55 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/27 01:52 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/26 21:19 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/26 15:28 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/26 14:59 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/26 10:17 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/26 08:01 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/26 03:05 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/26 03:00 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/26 02:59 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/26 02:25 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/26 02:24 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/25 12:19 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/25 11:17 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/25 10:13 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/25 08:17 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/25 01:40 https://github.com/google/kmsan.git master e889f323ec44 62e26685 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/25 01:34 https://github.com/google/kmsan.git master e889f323ec44 62e26685 .config log report info KMSAN: uninit-value in hfs_revalidate_dentry
ci-upstream-kmsan-gce-386 2022/11/28 07:07 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_get_block
ci-upstream-kmsan-gce-386 2022/11/26 02:59 https://github.com/google/kmsan.git master a472f15b3d1e 74a66371 .config log report info KMSAN: uninit-value in hfs_get_block
* Struck through repros no longer work on HEAD.