BTRFS info (device loop2): enabling free space tree
BTRFS info (device loop2): scrub: started on devid 1
assertion failed: !folio_test_partial_kmap(folio) :: 0, in fs/btrfs/scrub.c:697
------------[ cut here ]------------
kernel BUG at fs/btrfs/scrub.c:697!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 8104 Comm: syz.2.886 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:scrub_stripe_get_kaddr+0x1bb/0x1c0
Code: 0f 0b e8 b8 14 db fd 48 c7 c7 60 8d ef 8b 48 c7 c6 a0 9f ef 8b 31 d2 48 c7 c1 20 8e ef 8b 41 b8 b9 02 00 00 e8 86 58 42 fd 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3
RSP: 0018:ffffc900096a70d0 EFLAGS: 00010246
RAX: 000000000000004f RBX: ffff888031860010 RCX: d72c788b19b93e00
RDX: ffffc90021c89000 RSI: 000000000001fa61 RDI: 000000000001fa62
RBP: 000000000000000c R08: ffff88804b024293 R09: 1ffff11009604852
R10: dffffc0000000000 R11: ffffed1009604853 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff888031860010 R15: 000000000000000c
FS:  00007f04fed2e6c0(0000) GS:ffff8880b83fc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000073030 CR3: 000000010faa8000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 scrub_submit_initial_read+0xf21/0x1120
 submit_initial_group_read+0x423/0x5b0
 flush_scrub_stripes+0x18f/0x1150
 scrub_stripe+0xbea/0x2a30
 scrub_chunk+0x2a3/0x430
 scrub_enumerate_chunks+0xa70/0x1350
 btrfs_scrub_dev+0x6e7/0x10e0
 btrfs_ioctl_scrub+0x249/0x4b0
 __se_sys_ioctl+0xfc/0x170
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f04fdf8ec29
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:00007f04fed2e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f04fe1d6090 RCX: 00007f04fdf8ec29
RDX: 0000200000000000 RSI: 00000000c400941b RDI: 0000000000000009
RBP: 00007f04fe011e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f04fe1d6128 R14: 00007f04fe1d6090 R15: 00007ffcc88d6c08
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:scrub_stripe_get_kaddr+0x1bb/0x1c0
Code: 0f 0b e8 b8 14 db fd 48 c7 c7 60 8d ef 8b 48 c7 c6 a0 9f ef 8b 31 d2 48 c7 c1 20 8e ef 8b 41 b8 b9 02 00 00 e8 86 58 42 fd 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3
RSP: 0018:ffffc900096a70d0 EFLAGS: 00010246
RAX: 000000000000004f RBX: ffff888031860010 RCX: d72c788b19b93e00
RDX: ffffc90021c89000 RSI: 000000000001fa61 RDI: 000000000001fa62
RBP: 000000000000000c R08: ffff88804b024293 R09: 1ffff11009604852
R10: dffffc0000000000 R11: ffffed1009604853 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff888031860010 R15: 000000000000000c
FS:  00007f04fed2e6c0(0000) GS:ffff8880b83fc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000073030 CR3: 000000010faa8000 CR4: 00000000000006f0
