overlayfs: upper fs needs to support d_type. overlayfs: upper fs does not support tmpfile. ===================================================== BUG: KMSAN: uninit-value in reiserfs_new_inode+0x16cd/0x20f0 fs/reiserfs/inode.c:2044 reiserfs_new_inode+0x16cd/0x20f0 fs/reiserfs/inode.c:2044 reiserfs_create+0x674/0xcb0 fs/reiserfs/namei.c:666 vfs_create+0x3dc/0x5e0 fs/namei.c:3179 ovl_do_create fs/overlayfs/overlayfs.h:234 [inline] ovl_create_real+0x2a4/0x6b0 fs/overlayfs/dir.c:188 ovl_create_temp+0x94/0xc0 fs/overlayfs/dir.c:230 ovl_check_rename_whiteout fs/overlayfs/super.c:562 [inline] ovl_make_workdir fs/overlayfs/super.c:697 [inline] ovl_get_workdir+0xcc0/0x26e0 fs/overlayfs/super.c:820 ovl_fill_super+0x1538/0x62b0 fs/overlayfs/super.c:1376 vfs_get_super fs/super.c:1273 [inline] get_tree_nodev+0x17c/0x340 fs/super.c:1292 ovl_get_tree+0x34/0x40 fs/overlayfs/params.c:633 vfs_get_tree+0xa5/0x520 fs/super.c:1784 do_new_mount+0x68d/0x1550 fs/namespace.c:3341 path_mount+0x73d/0x1f20 fs/namespace.c:3668 do_mount fs/namespace.c:3681 [inline] __do_sys_mount fs/namespace.c:3887 [inline] __se_sys_mount+0x725/0x810 fs/namespace.c:3864 __x64_sys_mount+0xe4/0x140 fs/namespace.c:3864 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x6d/0x140 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b Uninit was created at: __alloc_pages+0x9a4/0xe00 mm/page_alloc.c:4591 alloc_pages_mpol+0x62b/0x9d0 mm/mempolicy.c:2133 alloc_pages+0x1be/0x1e0 mm/mempolicy.c:2204 alloc_slab_page mm/slub.c:1870 [inline] allocate_slab mm/slub.c:2017 [inline] new_slab+0x421/0x1570 mm/slub.c:2070 ___slab_alloc+0x13db/0x33d0 mm/slub.c:3223 __slab_alloc mm/slub.c:3322 [inline] __slab_alloc_node mm/slub.c:3375 [inline] slab_alloc_node mm/slub.c:3468 [inline] slab_alloc mm/slub.c:3486 [inline] __kmem_cache_alloc_lru mm/slub.c:3493 [inline] kmem_cache_alloc_lru+0x552/0x970 mm/slub.c:3509 alloc_inode_sb include/linux/fs.h:3018 [inline] reiserfs_alloc_inode+0x62/0x150 fs/reiserfs/super.c:642 alloc_inode+0x83/0x440 fs/inode.c:261 iget5_locked+0xa9/0x210 fs/inode.c:1271 reiserfs_fill_super+0x2109/0x39d0 fs/reiserfs/super.c:2053 mount_bdev+0x38f/0x510 fs/super.c:1663 get_super_block+0x4d/0x60 fs/reiserfs/super.c:2601 legacy_get_tree+0x110/0x290 fs/fs_context.c:662 vfs_get_tree+0xa5/0x520 fs/super.c:1784 do_new_mount+0x68d/0x1550 fs/namespace.c:3341 path_mount+0x73d/0x1f20 fs/namespace.c:3668 do_mount fs/namespace.c:3681 [inline] __do_sys_mount fs/namespace.c:3887 [inline] __se_sys_mount+0x725/0x810 fs/namespace.c:3864 __x64_sys_mount+0xe4/0x140 fs/namespace.c:3864 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x6d/0x140 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b CPU: 1 PID: 5528 Comm: syz-executor.3 Not tainted 6.7.0-syzkaller-00562-g9f8413c4a66f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 =====================================================