Warning: Permanently added '10.128.0.240' (ED25519) to the list of known hosts. executing program [ 160.637169][ T5035] kmemleak: 1 new suspected memory leaks (see /sys/kernel/debug/kmemleak) [ 160.665891][ T5036] syz-executor333[5036]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [ 160.739112][ T5036] loop0: detected capacity change from 0 to 32768 [ 160.746485][ T5036] BTRFS: device fsid c9fe44da-de57-406a-8241-57ec7d4412cf devid 1 transid 8 /dev/loop0 scanned by syz-executor333 (5036) [ 160.760646][ T5036] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm [ 160.769375][ T5036] BTRFS warning (device loop0): the 'inode_cache' option is deprecated and has no effect since 5.11 [ 160.780156][ T5036] BTRFS info (device loop0): doing ref verification [ 160.786781][ T5036] BTRFS info (device loop0): using free space tree [ 160.799480][ T5036] BTRFS info (device loop0): enabling ssd optimizations [ 160.806454][ T5036] BTRFS info (device loop0): auto enabling async discard [ 160.820697][ T27] audit: type=1800 audit(1695308665.400:2): pid=5036 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed(directio) comm="syz-executor333" name="bus" dev="loop0" ino=263 res=0 errno=0 [ 160.834919][ T5036] BTRFS info (device loop0): balance: start -d -m [ 160.848334][ T5036] BTRFS info (device loop0): relocating block group 8519680 flags data|metadata [ 160.850777][ T27] audit: type=1800 audit(1695308665.400:3): pid=5036 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed(directio) comm="syz-executor333" name="bus" dev="loop0" ino=263 res=0 errno=0 [ 160.902199][ T5036] BTRFS info (device loop0): relocating block group 6881280 flags data|metadata [ 160.917639][ T5036] BTRFS info (device loop0): relocating block group 5242880 flags data|metadata [ 160.956782][ T5036] BTRFS info (device loop0): found 10 extents, stage: move data extents [ 160.973583][ T5036] BTRFS info (device loop0): found 2 extents, stage: update data pointers [ 160.988711][ T5036] BTRFS info (device loop0): 1 enospc errors during balance [ 160.996030][ T5036] BTRFS info (device loop0): balance: ended with status: -28 [ 161.005938][ T27] audit: type=1800 audit(1695308665.590:4): pid=5036 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed(directio) comm="syz-executor333" name="bus" dev="loop0" ino=263 res=0 errno=0 [ 161.026609][ T27] audit: type=1804 audit(1695308665.590:5): pid=5036 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=invalid_pcr cause=open_writers comm="syz-executor333" name="/root/syzkaller.eC5s0S/0/file0/bus" dev="loop0" ino=263 res=1 errno=0 [ 161.134259][ T2442] BTRFS error (device loop0): attempting to add another ref for an existing ref on a tree block [ 161.144791][ T2442] BTRFS error (device loop0): dumping block entry [9641984 4096], num_refs 1, metadata 1, from disk 0 [ 161.155768][ T2442] BTRFS error (device loop0): ref root 5, parent 0, owner 263, offset 12288, num_refs 1 [ 161.165698][ T2442] BTRFS error (device loop0): root entry 1, num_refs 18446744073709551615 [ 161.174395][ T2442] BTRFS error (device loop0): root entry 5, num_refs 0 [ 161.181422][ T2442] BTRFS error (device loop0): Ref action 3, root 5, ref_root 5, parent 0, owner 263, offset 12288, num_refs 1 [ 161.193264][ T2442] insert_reserved_file_extent+0x414/0x480 [ 161.199244][ T2442] btrfs_finish_one_ordered+0x97f/0xec0 [ 161.204982][ T2442] btrfs_work_helper+0x158/0x540 [ 161.210087][ T2442] process_one_work+0x23d/0x530 [ 161.215128][ T2442] worker_thread+0x327/0x590 [ 161.219893][ T2442] kthread+0x12b/0x170 [ 161.224146][ T2442] ret_from_fork+0x45/0x50 [ 161.228732][ T2442] ret_from_fork_asm+0x11/0x20 [ 161.233683][ T2442] BTRFS error (device loop0): Ref action 1, root 5, ref_root 5, parent 0, owner 263, offset 12288, num_refs 1 [ 161.245509][ T2442] btrfs_drop_extents+0xee9/0x15e0 [ 161.250783][ T2442] insert_reserved_file_extent+0x10d/0x480 [ 161.256791][ T2442] btrfs_finish_one_ordered+0x97f/0xec0 [ 161.262514][ T2442] btrfs_work_helper+0x158/0x540 [ 161.267647][ T2442] process_one_work+0x23d/0x530 [ 161.272675][ T2442] worker_thread+0x327/0x590 [ 161.277455][ T2442] kthread+0x12b/0x170 [ 161.281702][ T2442] ret_from_fork+0x45/0x50 [ 161.286296][ T2442] ret_from_fork_asm+0x11/0x20 [ 167.044010][ T5035] kmemleak: 400 new suspected memory leaks (see /sys/kernel/debug/kmemleak) BUG: memory leak unreferenced object 0xffff88810bfb6180 (size 64): comm "syz-executor333", pid 5036, jiffies 4294953325 (age 8.160s) hex dump (first 32 bytes): 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [] kmalloc_trace+0x25/0x90 [] add_block_entry+0x35/0x320 [] add_tree_block+0x96/0x240 [] btrfs_build_ref_tree+0x589/0x850 [] open_ctree+0x18af/0x2290 [] btrfs_mount_root+0x5af/0x750 [] legacy_get_tree+0x29/0x80 [] vfs_get_tree+0x2a/0x130 [] vfs_kern_mount.part.0+0xcb/0x110 [] vfs_kern_mount+0x3f/0x60 [] btrfs_mount+0x1e2/0x660 [] legacy_get_tree+0x29/0x80 [] vfs_get_tree+0x2a/0x130 [] path_mount+0xc8f/0x10d0 [] __x64_sys_mount+0x1a1/0x1f0 [] do_syscall_64+0x38/0xb0 BUG: memory leak unreferenced object 0xffff88810cd91d20 (size 96): comm "syz-executor333", pid 5036, jiffies 4294953325 (age 8.160s) hex dump (first 32 bytes): 00 10 10 00 00 00 00 00 00 10 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 ................ backtrace: [] kmalloc_trace+0x25/0x90 [] add_block_entry+0x4e/0x320 [] add_tree_block+0x96/0x240 [] btrfs_build_ref_tree+0x589/0x850 [] open_ctree+0x18af/0x2290 [] btrfs_mount_root+0x5af/0x750 [] legacy_get_tree+0x29/0x80 [] vfs_get_tree+0x2a/0x130 [] vfs_kern_mount.part.0+0xcb/0x110 [] vfs_kern_mount+0x3f/0x60 [] btrfs_mount+0x1e2/0x660 [] legacy_get_tree+0x29/0x80 [] vfs_get_tree+0x2a/0x130 [] path_mount+0xc8f/0x10d0 [] __x64_sys_mount+0x1a1/0x1f0 [] do_syscall_64+0x38/0xb0 BUG: memory leak unreferenced object 0xffff8881054f2600 (size 256): comm "kworker/u4:6", pid 1037, jiffies 4294953325 (age 8.160s) hex dump (first 32 bytes): 03 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 ................ 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [] kmalloc_trace+0x25/0x90 [] btrfs_ref_tree_mod+0xec/0xb80 [] btrfs_alloc_tree_block+0x62b/0x860 [] __btrfs_cow_block+0x1ad/0xa30 [] btrfs_cow_block+0x154/0x2b0 [] btrfs_search_slot+0xa49/0x1770 [] btrfs_update_device+0x94/0x210 [] btrfs_chunk_alloc_add_chunk_item+0x12d/0x650 [] btrfs_chunk_alloc+0x274/0xa80 [] flush_space+0x5d3/0x910 [] btrfs_async_reclaim_metadata_space+0x262/0x450 [] process_one_work+0x23d/0x530 [] worker_thread+0x327/0x590 [] kthread+0x12b/0x170 [] ret_from_fork+0x45/0x50 [] ret_from_fork_asm+0x11/0x20