BTRFS info (device loop1): force zlib compression, level 3 BTRFS info (device loop1): allowing degraded mounts BTRFS info (device loop1): using free space tree BTRFS info (device loop1): auto enabling async discard ===================================================== BUG: KMSAN: uninit-value in leaf_space_used fs/btrfs/ctree.c:3009 [inline] BUG: KMSAN: uninit-value in btrfs_leaf_free_space+0x693/0x790 fs/btrfs/ctree.c:3024 leaf_space_used fs/btrfs/ctree.c:3009 [inline] btrfs_leaf_free_space+0x693/0x790 fs/btrfs/ctree.c:3024 search_leaf fs/btrfs/ctree.c:1895 [inline] btrfs_search_slot+0x3376/0x4710 fs/btrfs/ctree.c:2172 btrfs_insert_empty_items fs/btrfs/ctree.c:4202 [inline] btrfs_insert_empty_item fs/btrfs/ctree.h:646 [inline] btrfs_insert_item+0x19c/0x510 fs/btrfs/ctree.c:4231 btrfs_insert_root+0x8a/0xb0 fs/btrfs/root-tree.c:207 btrfs_create_tree+0xb91/0xe50 fs/btrfs/disk-io.c:1140 btrfs_quota_enable+0x4c2/0x38f0 fs/btrfs/qgroup.c:1036 btrfs_ioctl_quota_ctl+0x28d/0x370 fs/btrfs/ioctl.c:3682 btrfs_ioctl+0xafa/0x1290 fs/btrfs/ioctl.c:4643 btrfs_compat_ioctl+0x65/0x70 fs/btrfs/ioctl.c:4702 __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:5614 alloc_pages+0xab0/0xd80 mm/mempolicy.c:2283 folio_alloc+0x42/0x120 mm/mempolicy.c:2293 filemap_alloc_folio+0xb2/0x460 mm/filemap.c:976 __filemap_get_folio+0xe4b/0x1920 mm/filemap.c:1970 pagecache_get_page+0x4f/0x290 mm/folio-compat.c:99 find_or_create_page include/linux/pagemap.h:632 [inline] alloc_extent_buffer+0x733/0x3190 fs/btrfs/extent_io.c:4044 btrfs_find_create_tree_block+0x46/0x60 fs/btrfs/disk-io.c:835 btrfs_init_new_buffer fs/btrfs/extent-tree.c:4799 [inline] btrfs_alloc_tree_block+0x371/0x1f70 fs/btrfs/extent-tree.c:4918 __btrfs_cow_block+0x575/0x1de0 fs/btrfs/ctree.c:541 btrfs_cow_block+0x7cc/0xa00 fs/btrfs/ctree.c:696 btrfs_search_slot+0x189f/0x4710 fs/btrfs/ctree.c:2136 btrfs_insert_empty_items fs/btrfs/ctree.c:4202 [inline] btrfs_insert_empty_item fs/btrfs/ctree.h:646 [inline] btrfs_insert_item+0x19c/0x510 fs/btrfs/ctree.c:4231 btrfs_insert_root+0x8a/0xb0 fs/btrfs/root-tree.c:207 btrfs_create_tree+0xb91/0xe50 fs/btrfs/disk-io.c:1140 btrfs_quota_enable+0x4c2/0x38f0 fs/btrfs/qgroup.c:1036 btrfs_ioctl_quota_ctl+0x28d/0x370 fs/btrfs/ioctl.c:3682 btrfs_ioctl+0xafa/0x1290 fs/btrfs/ioctl.c:4643 btrfs_compat_ioctl+0x65/0x70 fs/btrfs/ioctl.c:4702 __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: 24735 Comm: syz-executor.1 Tainted: G W 6.3.0-rc3-syzkaller-g90ea0df61c98 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/17/2023 =====================================================