Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4847ad6168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f4846dabf80 RCX: 00007f4846c8c0c9 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f4847ad61d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fffa701aa1f R14: 00007f4847ad6300 R15: 0000000000022000 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent-io-tree.c:379! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 16328 Comm: syz-executor.3 Not tainted 6.2.0-rc6-syzkaller-00163-g66a87fff1a87 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:__set_extent_bit+0x18ec/0x1b40 Code: fc ff ff 48 8b 4c 24 20 80 e1 07 80 c1 03 38 c1 0f 8c 9f fd ff ff 48 8b 7c 24 20 e8 ce d4 30 fe e9 90 fd ff ff e8 04 87 dc fd <0f> 0b e8 fd 86 dc fd 48 8b 04 24 48 83 c0 08 48 89 c3 48 c1 e8 03 RSP: 0018:ffffc90015fd7110 EFLAGS: 00010246 RAX: ffffffff83adb00c RBX: 00000000fffffff4 RCX: 0000000000040000 RDX: ffffc9000b5b1000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000800 R08: ffffffff83ad9e61 R09: 00000000ffffffff R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88801e2731fc R14: ffff88801e273180 R15: 1ffff11003c4e63f FS: 00007f4847ad6700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32826000 CR3: 000000002256d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: set_record_extent_bits+0x56/0x90 qgroup_reserve_data+0x27f/0xa90 btrfs_qgroup_reserve_data+0x2e/0xc0 btrfs_check_data_free_space+0x149/0x240 btrfs_buffered_write+0x588/0x1650 btrfs_do_write_iter+0x429/0x1270 do_iter_write+0x6bc/0xc20 iter_file_splice_write+0x7d6/0xf80 direct_splice_actor+0xe7/0x1c0 splice_direct_to_actor+0x4c4/0xbd0 do_splice_direct+0x282/0x3e0 do_sendfile+0x5c9/0xf50 __se_sys_sendfile64+0x153/0x1b0 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4846c8c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4847ad6168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f4846dabf80 RCX: 00007f4846c8c0c9 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f4847ad61d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fffa701aa1f R14: 00007f4847ad6300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__set_extent_bit+0x18ec/0x1b40 Code: fc ff ff 48 8b 4c 24 20 80 e1 07 80 c1 03 38 c1 0f 8c 9f fd ff ff 48 8b 7c 24 20 e8 ce d4 30 fe e9 90 fd ff ff e8 04 87 dc fd <0f> 0b e8 fd 86 dc fd 48 8b 04 24 48 83 c0 08 48 89 c3 48 c1 e8 03 RSP: 0018:ffffc90015fd7110 EFLAGS: 00010246 RAX: ffffffff83adb00c RBX: 00000000fffffff4 RCX: 0000000000040000 RDX: ffffc9000b5b1000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000800 R08: ffffffff83ad9e61 R09: 00000000ffffffff R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88801e2731fc R14: ffff88801e273180 R15: 1ffff11003c4e63f FS: 00007f4847ad6700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32826000 CR3: 000000002256d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 28 00 sub %al,(%rax) 2: 00 00 add %al,(%rax) 4: 75 05 jne 0xb 6: 48 83 c4 28 add $0x28,%rsp a: c3 retq b: e8 f1 19 00 00 callq 0x1a01 10: 90 nop 11: 48 89 f8 mov %rdi,%rax 14: 48 89 f7 mov %rsi,%rdi 17: 48 89 d6 mov %rdx,%rsi 1a: 48 89 ca mov %rcx,%rdx 1d: 4d 89 c2 mov %r8,%r10 20: 4d 89 c8 mov %r9,%r8 23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 28: 0f 05 syscall * 2a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 retq 33: 48 c7 c1 b8 ff ff ff mov $0xffffffffffffffb8,%rcx 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W