------------[ cut here ]------------ WARNING: CPU: 0 PID: 4514 at fs/btrfs/ioctl.c:360 btrfs_fileattr_set+0x910/0xa28 fs/btrfs/ioctl.c:360 Modules linked in: CPU: 0 PID: 4514 Comm: syz.0.20 Not tainted 6.1.124-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_fileattr_set+0x910/0xa28 fs/btrfs/ioctl.c:360 lr : btrfs_fileattr_set+0x910/0xa28 fs/btrfs/ioctl.c:360 sp : ffff8000230f7870 x29: ffff8000230f78a0 x28: 0000000000000001 x27: dfff800000000000 x26: 0000000000000000 x25: 0000000000000800 x24: 00000000ffffffe4 x23: ffff0000def163f0 x22: 0000000000000000 x21: 1fffe0001bde2c88 x20: 0000000000000000 x19: ffff0000def16440 x18: ffff8000230f6c60 x17: 0000000000000000 x16: ffff80001232f264 x15: 0000000000000002 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000080000 x11: 0000000000008e18 x10: ffff8000226cc000 x9 : c37575372b745100 x8 : c37575372b745100 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000230f7158 x4 : ffff800015b731c0 x3 : ffff8000085869f8 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: btrfs_fileattr_set+0x910/0xa28 fs/btrfs/ioctl.c:360 vfs_fileattr_set+0x70c/0xad4 fs/ioctl.c:696 do_vfs_ioctl+0x14cc/0x26f8 __do_sys_ioctl fs/ioctl.c:868 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0xe4/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 110 hardirqs last enabled at (109): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (110): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (8): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (6): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop0: state EA): dumping space info: BTRFS info (device loop0: state EA): space_info DATA+METADATA has 1916928 free, is full BTRFS info (device loop0: state EA): space_info total=3276800, used=49152, pinned=0, reserved=0, may_use=1310720, readonly=0 zone_unusable=0 BTRFS info (device loop0: state EA): space_info SYSTEM has 8253440 free, is not full BTRFS info (device loop0: state EA): space_info total=12451840, used=4096, pinned=0, reserved=4096, may_use=0, readonly=4190208 zone_unusable=0 BTRFS info (device loop0: state EA): global_block_rsv: size 983040 reserved 983040 BTRFS info (device loop0: state EA): trans_block_rsv: size 196608 reserved 196608 BTRFS info (device loop0: state EA): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop0: state EA): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop0: state EA): delayed_refs_rsv: size 131072 reserved 131072 BTRFS: error (device loop0: state EA) in btrfs_fileattr_set:360: errno=-28 No space left