RAX: ffffffffffffffda RBX: 00007f1f3799bf80 RCX: 00007f1f3787cb29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f1f38570120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000280404 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007f1f3799bf80 R15: 00007ffdb77cd238 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent-io-tree.c:584! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 5647 Comm: syz-executor.0 Not tainted 6.11.0-rc5-syzkaller-gfb24560f31f9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:clear_state_bit+0x364/0x400 fs/btrfs/extent-io-tree.c:584 Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 a0 00 00 00 49 8b 7c 24 08 44 89 f2 48 89 de e8 d7 79 db ff e9 0f fd ff ff e8 6d bc d5 fd 90 <0f> 0b e8 85 7e 34 fe e9 e0 fc ff ff 4c 89 f7 e8 d8 7e 34 fe e9 23 RSP: 0018:ffffc900041ef738 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880769af480 RCX: ffffffff83b60180 RDX: ffff88807d0ebc00 RSI: ffffffff83b60383 RDI: 0000000000000005 RBP: 00000000fffffff4 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffffff4 R11: 0000000000000001 R12: ffff88807abeabf0 R13: 0000000000000000 R14: ffff8880769af4fc R15: 0000000000280fff FS: 00007f1f385706c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558037fd7668 CR3: 000000001efac000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __clear_extent_bit+0x617/0xde0 fs/btrfs/extent-io-tree.c:755 __btrfs_qgroup_release_data+0x16f/0x690 fs/btrfs/qgroup.c:4360 insert_prealloc_file_extent+0x1cc/0x480 fs/btrfs/inode.c:8683 __btrfs_prealloc_file_range+0x25e/0x910 fs/btrfs/inode.c:8780 btrfs_prealloc_file_range+0x40/0x60 fs/btrfs/inode.c:8858 btrfs_fallocate+0x176c/0x2570 fs/btrfs/file.c:3198 vfs_fallocate+0x4ca/0xfc0 fs/open.c:334 ksys_fallocate fs/open.c:357 [inline] __do_sys_fallocate fs/open.c:365 [inline] __se_sys_fallocate fs/open.c:363 [inline] __x64_sys_fallocate+0xd5/0x140 fs/open.c:363 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1f3787cb29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1f385700c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f1f3799bf80 RCX: 00007f1f3787cb29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f1f38570120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000280404 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007f1f3799bf80 R15: 00007ffdb77cd238 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:clear_state_bit+0x364/0x400 fs/btrfs/extent-io-tree.c:584 Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 a0 00 00 00 49 8b 7c 24 08 44 89 f2 48 89 de e8 d7 79 db ff e9 0f fd ff ff e8 6d bc d5 fd 90 <0f> 0b e8 85 7e 34 fe e9 e0 fc ff ff 4c 89 f7 e8 d8 7e 34 fe e9 23 RSP: 0018:ffffc900041ef738 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880769af480 RCX: ffffffff83b60180 RDX: ffff88807d0ebc00 RSI: ffffffff83b60383 RDI: 0000000000000005 RBP: 00000000fffffff4 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffffff4 R11: 0000000000000001 R12: ffff88807abeabf0 R13: 0000000000000000 R14: ffff8880769af4fc R15: 0000000000280fff FS: 00007f1f385706c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558037fd7668 CR3: 000000001efac000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400