BTRFS info (device loop2): using free space tree BTRFS info (device loop2): enabling ssd optimizations BTRFS info (device loop2): auto enabling async discard ===================================================== BUG: KMSAN: uninit-value in iterate_inode_refs fs/btrfs/backref.c:2620 [inline] BUG: KMSAN: uninit-value in paths_from_inode+0xd33/0x1de0 fs/btrfs/backref.c:2754 iterate_inode_refs fs/btrfs/backref.c:2620 [inline] paths_from_inode+0xd33/0x1de0 fs/btrfs/backref.c:2754 btrfs_ioctl_ino_to_path+0x35f/0x7c0 fs/btrfs/ioctl.c:3342 btrfs_ioctl+0xde2/0x1290 fs/btrfs/ioctl.c:4599 btrfs_compat_ioctl+0x65/0x70 fs/btrfs/ioctl.c:4711 __do_compat_sys_ioctl fs/ioctl.c:968 [inline] __se_compat_sys_ioctl+0x78f/0xfd0 fs/ioctl.c:910 __ia32_compat_sys_ioctl+0x93/0xd0 fs/ioctl.c:910 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+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was created at: __alloc_pages+0x9a4/0xe00 mm/page_alloc.c:4791 __alloc_pages_bulk+0x19e/0x1fa0 mm/page_alloc.c:4716 alloc_pages_bulk_array include/linux/gfp.h:201 [inline] btrfs_alloc_page_array fs/btrfs/extent_io.c:844 [inline] btrfs_clone_extent_buffer+0x440/0x11d0 fs/btrfs/extent_io.c:3589 iterate_inode_refs fs/btrfs/backref.c:2611 [inline] paths_from_inode+0x2b5/0x1de0 fs/btrfs/backref.c:2754 btrfs_ioctl_ino_to_path+0x35f/0x7c0 fs/btrfs/ioctl.c:3342 btrfs_ioctl+0xde2/0x1290 fs/btrfs/ioctl.c:4599 btrfs_compat_ioctl+0x65/0x70 fs/btrfs/ioctl.c:4711 __do_compat_sys_ioctl fs/ioctl.c:968 [inline] __se_compat_sys_ioctl+0x78f/0xfd0 fs/ioctl.c:910 __ia32_compat_sys_ioctl+0x93/0xd0 fs/ioctl.c:910 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+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 CPU: 1 PID: 5516 Comm: syz-executor.2 Not tainted 6.4.0-rc7-syzkaller-ge6bc8833d80f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 =====================================================