BTRFS: device fsid a6a605fc-d5f1-4e66-8595-3726e2b761d6 devid 1 transid 8 /dev/loop5 scanned by syz-executor.5 (5291) BTRFS info (device loop5): using blake2b (blake2b-256-generic) checksum algorithm BTRFS info (device loop5): turning on sync discard BTRFS info (device loop5): using free space tree BTRFS info (device loop5): enabling ssd optimizations ===================================================== BUG: KMSAN: uninit-value in iterate_inode_refs fs/btrfs/backref.c:2551 [inline] BUG: KMSAN: uninit-value in paths_from_inode+0xd39/0x1eb0 fs/btrfs/backref.c:2685 iterate_inode_refs fs/btrfs/backref.c:2551 [inline] paths_from_inode+0xd39/0x1eb0 fs/btrfs/backref.c:2685 btrfs_ioctl_ino_to_path+0x35f/0x7c0 fs/btrfs/ioctl.c:3334 btrfs_ioctl+0xde2/0x1290 fs/btrfs/ioctl.c:4589 btrfs_compat_ioctl+0x65/0x70 fs/btrfs/ioctl.c:4701 __do_compat_sys_ioctl fs/ioctl.c:968 [inline] __se_compat_sys_ioctl+0x7dd/0x1000 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+0x9f6/0xe90 mm/page_alloc.c:5572 __alloc_pages_bulk+0x1ad/0x20d0 mm/page_alloc.c:5497 alloc_pages_bulk_array include/linux/gfp.h:201 [inline] btrfs_alloc_page_array fs/btrfs/extent_io.c:1227 [inline] btrfs_clone_extent_buffer+0x445/0x11e0 fs/btrfs/extent_io.c:4201 iterate_inode_refs fs/btrfs/backref.c:2542 [inline] paths_from_inode+0x2b6/0x1eb0 fs/btrfs/backref.c:2685 btrfs_ioctl_ino_to_path+0x35f/0x7c0 fs/btrfs/ioctl.c:3334 btrfs_ioctl+0xde2/0x1290 fs/btrfs/ioctl.c:4589 btrfs_compat_ioctl+0x65/0x70 fs/btrfs/ioctl.c:4701 __do_compat_sys_ioctl fs/ioctl.c:968 [inline] __se_compat_sys_ioctl+0x7dd/0x1000 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: 5291 Comm: syz-executor.5 Not tainted 6.2.0-syzkaller-81152-g97e36f4aa06f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 =====================================================