------------[ cut here ]------------ WARNING: CPU: 0 PID: 6515 at fs/btrfs/inode.c:6544 btrfs_create_new_inode+0x1a48/0x2448 fs/btrfs/inode.c:6544 Modules linked in: CPU: 0 PID: 6515 Comm: syz.2.584 Not tainted 6.1.119-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_create_new_inode+0x1a48/0x2448 fs/btrfs/inode.c:6544 lr : btrfs_create_new_inode+0x1a48/0x2448 fs/btrfs/inode.c:6544 sp : ffff8000211571e0 x29: ffff800021157400 x28: 00000000ffffffe4 x27: dfff800000000000 x26: ffff8000211574c0 x25: ffff0000df9a6000 x24: ffff800021157380 x23: ffff70000422ae58 x22: 0000000000000000 x21: 0000000000000000 x20: 1fffe0001bf34c0a x19: ffff0000df9a6050 x18: 1fffe0003679c376 x17: ffff800015a7d000 x16: ffff800008300db8 x15: ffff0001b3ce1bbc x14: 1ffff00002b500b2 x13: dfff800000000000 x12: 0000000000000003 x11: 0000000000ff0100 x10: 0000000000000003 x9 : 89ea1a392a5f0800 x8 : 89ea1a392a5f0800 x7 : ffff800008277348 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000007 x1 : ffff80001247c5c0 x0 : ffff80019e30e000 Call trace: btrfs_create_new_inode+0x1a48/0x2448 fs/btrfs/inode.c:6544 btrfs_tmpfile+0x2bc/0x418 fs/btrfs/inode.c:10226 vfs_tmpfile+0x274/0x3a8 fs/namei.c:3677 do_tmpfile+0x12c/0x2ac fs/namei.c:3740 path_openat+0x2018/0x2548 fs/namei.c:3774 do_filp_open+0x1bc/0x3cc fs/namei.c:3810 do_sys_openat2+0x128/0x3e0 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1345 __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: 296 hardirqs last enabled at (295): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1367 [inline] hardirqs last enabled at (295): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:5000 hardirqs last disabled at (296): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (212): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (210): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop2: state EA): dumping space info: BTRFS info (device loop2: state EA): space_info DATA+METADATA has 2043904 free, is full BTRFS info (device loop2: state EA): space_info total=3276800, used=49152, pinned=0, reserved=0, may_use=1183744, readonly=0 zone_unusable=0 BTRFS info (device loop2: state EA): space_info SYSTEM has 8253440 free, is not full BTRFS info (device loop2: state EA): space_info total=12451840, used=4096, pinned=0, reserved=4096, may_use=0, readonly=4190208 zone_unusable=0 BTRFS info (device loop2: state EA): global_block_rsv: size 983040 reserved 983040 BTRFS info (device loop2: state EA): trans_block_rsv: size 196608 reserved 196608 BTRFS info (device loop2: state EA): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop2: state EA): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop2: state EA): delayed_refs_rsv: size 131072 reserved 4096 BTRFS: error (device loop2: state EA) in btrfs_create_new_inode:6544: errno=-28 No space left