REISERFS (device loop2): Using r5 hash to sort names REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage. ===================================================== BUG: KMSAN: uninit-value in reiserfs_new_inode+0x207c/0x3c30 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/inode.c:2058 CPU: 0 PID: 11141 Comm: syz-executor.2 Not tainted 5.10.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack syzkaller/managers/upstream-kmsan-gce-386/kernel/lib/dump_stack.c:77 [inline] dump_stack+0x21c/0x280 syzkaller/managers/upstream-kmsan-gce-386/kernel/lib/dump_stack.c:118 kmsan_report+0xfb/0x1e0 syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/kmsan/kmsan_report.c:118 __msan_warning+0x5f/0xa0 syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/kmsan/kmsan_instr.c:197 reiserfs_new_inode+0x207c/0x3c30 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/inode.c:2058 reiserfs_create+0x89b/0xf00 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/namei.c:667 xattr_create syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/xattr.c:69 [inline] xattr_lookup+0x495/0x6a0 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/xattr.c:412 reiserfs_xattr_set_handle+0x1eb/0x2ab0 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/xattr.c:540 reiserfs_xattr_set+0x84d/0x9f0 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/xattr.c:640 security_set+0x1b5/0x210 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/xattr_security.c:31 __vfs_setxattr+0x90e/0x960 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/xattr.c:177 __vfs_setxattr_noperm+0x376/0xc70 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/xattr.c:208 __vfs_setxattr_locked+0x5ed/0x690 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/xattr.c:266 vfs_setxattr+0x1e4/0x4d0 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/xattr.c:283 setxattr+0x446/0x900 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/xattr.c:548 path_setxattr+0x2cd/0x4e0 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/xattr.c:567 __do_sys_lsetxattr syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/xattr.c:589 [inline] __se_sys_lsetxattr+0xeb/0x110 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/xattr.c:585 __ia32_sys_lsetxattr+0x62/0x80 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/xattr.c:585 do_syscall_32_irqs_on syzkaller/managers/upstream-kmsan-gce-386/kernel/arch/x86/entry/common.c:80 [inline] __do_fast_syscall_32+0x102/0x160 syzkaller/managers/upstream-kmsan-gce-386/kernel/arch/x86/entry/common.c:139 do_fast_syscall_32+0x6a/0xc0 syzkaller/managers/upstream-kmsan-gce-386/kernel/arch/x86/entry/common.c:162 do_SYSENTER_32+0x73/0x90 syzkaller/managers/upstream-kmsan-gce-386/kernel/arch/x86/entry/common.c:205 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fec549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f55e65fc EFLAGS: 00000296 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 0000000020000040 RCX: 0000000020000080 RDX: 00000000200000c0 RSI: 0000000000000018 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Uninit was created at: kmsan_save_stack_with_flags+0x3c/0x90 syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/kmsan/kmsan.c:121 kmsan_alloc_page+0xd3/0x1f0 syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/kmsan/kmsan_shadow.c:274 __alloc_pages_nodemask+0x827/0xf90 syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/page_alloc.c:4989 alloc_pages_current+0x7b6/0xb60 syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/mempolicy.c:2271 alloc_pages syzkaller/managers/upstream-kmsan-gce-386/kernel/./include/linux/gfp.h:547 [inline] alloc_slab_page syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/slub.c:1630 [inline] allocate_slab+0x346/0x11a0 syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/slub.c:1773 new_slab syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/slub.c:1834 [inline] new_slab_objects syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/slub.c:2593 [inline] ___slab_alloc+0xd42/0x1930 syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/slub.c:2756 __slab_alloc syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/slub.c:2796 [inline] slab_alloc_node syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/slub.c:2871 [inline] slab_alloc syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/slub.c:2915 [inline] kmem_cache_alloc+0xb71/0x1040 syzkaller/managers/upstream-kmsan-gce-386/kernel/mm/slub.c:2920 reiserfs_alloc_inode+0x5a/0x170 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/super.c:642 alloc_inode syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/inode.c:234 [inline] new_inode_pseudo+0xa7/0x580 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/inode.c:930 new_inode+0x5a/0x3d0 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/inode.c:959 reiserfs_mkdir+0x2c2/0x1440 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/namei.c:811 xattr_mkdir syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/xattr.c:76 [inline] create_privroot syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/xattr.c:889 [inline] reiserfs_xattr_init+0x4d3/0xea0 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/xattr.c:1011 reiserfs_fill_super+0x5c01/0x6010 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/super.c:2177 mount_bdev+0x618/0x900 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/super.c:1419 get_super_block+0xc9/0xe0 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/reiserfs/super.c:2606 legacy_get_tree+0x163/0x2e0 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/fs_context.c:592 vfs_get_tree+0xd8/0x5e0 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/super.c:1549 do_new_mount syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/namespace.c:2875 [inline] path_mount+0x3df0/0x5e50 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/namespace.c:3205 do_mount syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/namespace.c:3218 [inline] __do_sys_mount syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/namespace.c:3426 [inline] __se_sys_mount+0x921/0xa10 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/namespace.c:3403 __ia32_sys_mount+0x62/0x80 syzkaller/managers/upstream-kmsan-gce-386/kernel/fs/namespace.c:3403 do_syscall_32_irqs_on syzkaller/managers/upstream-kmsan-gce-386/kernel/arch/x86/entry/common.c:80 [inline] __do_fast_syscall_32+0x102/0x160 syzkaller/managers/upstream-kmsan-gce-386/kernel/arch/x86/entry/common.c:139 do_fast_syscall_32+0x6a/0xc0 syzkaller/managers/upstream-kmsan-gce-386/kernel/arch/x86/entry/common.c:162 do_SYSENTER_32+0x73/0x90 syzkaller/managers/upstream-kmsan-gce-386/kernel/arch/x86/entry/common.c:205 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c =====================================================