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:00007f211e2a70c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f211d59c050 RCX: 00007f211d47c919
RDX: 0000000000000004 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00007f211e2a7120 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 000000000000006e R14: 00007f211d59c050 R15: 00007ffd53a73288
 </TASK>
------------[ cut here ]------------
kernel BUG at fs/btrfs/extent-io-tree.c:639!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 3780 Comm: syz-executor.4 Not tainted 6.1.0-rc8-syzkaller-00056-gda2a071b6f14 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:__clear_extent_bit+0xaa1/0xce0
Code: c7 c1 b8 a8 35 8e 80 e1 07 80 c1 03 38 c1 0f 8c f0 f5 ff ff 48 c7 c7 b8 a8 35 8e e8 09 11 35 fe e9 df f5 ff ff e8 cf 13 e3 fd <0f> 0b e8 c8 13 e3 fd 48 8b 44 24 08 48 83 c0 08 49 89 c6 48 c1 e8
RSP: 0018:ffffc90004bff7a8 EFLAGS: 00010293
RAX: ffffffff83a54fb1 RBX: 0000000000000000 RCX: ffff8880265d0000
RDX: 0000000000000000 RSI: ffffffff8acbf400 RDI: ffffffff8b1de8e0
RBP: 0000000000002000 R08: 00000000ffffffff R09: fffffbfff19c2db3
R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000004ffff
R13: 1ffff110041248a9 R14: ffff888020924540 R15: 00000000ffff0e7b
FS:  00007f211e2a76c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f211e2a6ff8 CR3: 000000001d1ee000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 try_release_extent_mapping+0x4d6/0x560
 btrfs_release_folio+0x138/0x360
 mapping_evict_folio+0x27b/0x5c0
 invalidate_mapping_pagevec+0x360/0x780
 btrfs_do_write_iter+0x111b/0x1250
 vfs_write+0x7d9/0xc40
 ksys_write+0x178/0x2a0
 do_syscall_64+0x3d/0xb0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f211d47c919
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:00007f211e2a70c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f211d59c050 RCX: 00007f211d47c919
RDX: 0000000000000004 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00007f211e2a7120 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 000000000000006e R14: 00007f211d59c050 R15: 00007ffd53a73288
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__clear_extent_bit+0xaa1/0xce0
Code: c7 c1 b8 a8 35 8e 80 e1 07 80 c1 03 38 c1 0f 8c f0 f5 ff ff 48 c7 c7 b8 a8 35 8e e8 09 11 35 fe e9 df f5 ff ff e8 cf 13 e3 fd <0f> 0b e8 c8 13 e3 fd 48 8b 44 24 08 48 83 c0 08 49 89 c6 48 c1 e8
RSP: 0018:ffffc90004bff7a8 EFLAGS: 00010293
RAX: ffffffff83a54fb1 RBX: 0000000000000000 RCX: ffff8880265d0000
RDX: 0000000000000000 RSI: ffffffff8acbf400 RDI: ffffffff8b1de8e0
RBP: 0000000000002000 R08: 00000000ffffffff R09: fffffbfff19c2db3
R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000004ffff
R13: 1ffff110041248a9 R14: ffff888020924540 R15: 00000000ffff0e7b
FS:  00007f211e2a76c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f211e2a6ff8 CR3: 000000001d1ee000 CR4: 00000000003506f0
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                   	ret
   b:	e8 e1 20 00 00       	call   0x20f1
  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                   	ret
  33:	48 c7 c1 b0 ff ff ff 	mov    $0xffffffffffffffb0,%rcx
  3a:	f7 d8                	neg    %eax
  3c:	64 89 01             	mov    %eax,%fs:(%rcx)
  3f:	48                   	rex.W
