------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 0 PID: 7970 at fs/btrfs/block-group.c:3924 do_chunk_alloc fs/btrfs/block-group.c:3924 [inline]
WARNING: CPU: 0 PID: 7970 at fs/btrfs/block-group.c:3924 btrfs_chunk_alloc+0xe42/0xfe0 fs/btrfs/block-group.c:4166
Modules linked in:
CPU: 0 PID: 7970 Comm: syz.3.556 Not tainted 6.6.95-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3924 [inline]
RIP: 0010:btrfs_chunk_alloc+0xe42/0xfe0 fs/btrfs/block-group.c:4166
Code: c7 80 fd ee 8a 89 ee e8 5c 72 b7 fd 0f 0b 4c 89 fb e9 2f fe ff ff e8 dd 0d ed fd 48 c7 c7 80 fd ee 8a 44 89 f6 e8 3e 72 b7 fd <0f> 0b 4c 89 fb e9 7c fe ff ff e8 bf 0d ed fd 48 c7 c7 80 fd ee 8a
RSP: 0018:ffffc9000ba8ee90 EFLAGS: 00010246
RAX: a0b255da5d70a800 RBX: ffff88807dafc001 RCX: 0000000000080000
RDX: ffffc9000d66e000 RSI: 000000000002dbba RDI: 000000000002dbbb
RBP: 0000000000000000 R08: ffff8880b8f28c13 R09: 1ffff110171e5182
R10: dffffc0000000000 R11: ffffed10171e5183 R12: ffff88805f4ad000
R13: dffffc0000000000 R14: ffffffffffffffe4 R15: ffff888060d78000
FS: 00007fe808b266c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f22799b7bac CR3: 000000002f5ae000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
find_free_extent_update_loop fs/btrfs/extent-tree.c:4073 [inline]
find_free_extent+0x4b82/0x56f0 fs/btrfs/extent-tree.c:4486
btrfs_reserve_extent+0x2fb/0x660 fs/btrfs/extent-tree.c:4579
btrfs_alloc_tree_block+0x1ec/0x1310 fs/btrfs/extent-tree.c:4994
btrfs_force_cow_block+0x433/0x1b80 fs/btrfs/ctree.c:565
btrfs_cow_block+0x3cb/0x7e0 fs/btrfs/ctree.c:756
btrfs_search_slot+0xb43/0x27e0 fs/btrfs/ctree.c:-1
btrfs_lookup_match_dir fs/btrfs/dir-item.c:187 [inline]
btrfs_lookup_xattr+0xf1/0x1c0 fs/btrfs/dir-item.c:369
btrfs_setxattr+0x256/0x7d0 fs/btrfs/xattr.c:104
btrfs_setxattr_trans+0x107/0x2b0 fs/btrfs/xattr.c:262
__btrfs_set_acl+0x22d/0x300 fs/btrfs/acl.c:102
btrfs_set_acl+0x132/0x1f0 fs/btrfs/acl.c:126
set_posix_acl fs/posix_acl.c:956 [inline]
vfs_set_acl+0x803/0xa60 fs/posix_acl.c:1135
do_setxattr fs/xattr.c:627 [inline]
path_setxattr+0x39f/0x550 fs/xattr.c:659
__do_sys_lsetxattr fs/xattr.c:684 [inline]
__se_sys_lsetxattr fs/xattr.c:680 [inline]
__x64_sys_lsetxattr+0xb8/0xd0 fs/xattr.c:680
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe807d8e929
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe808b26038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007fe807fb6080 RCX: 00007fe807d8e929
RDX: 0000000000000000 RSI: 0000200000000840 RDI: 0000200000000800
RBP: 00007fe807e10b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe807fb6080 R15: 00007ffd23debfb8
</TASK>