------------[ cut here ]------------
btrfs_abort_should_print_stack(__error)
WARNING: fs/btrfs/block-group.c:2951 at btrfs_create_pending_block_groups+0x141c/0x15e0, CPU#1: syz.2.8975/27890
Modules linked in:
CPU: 1 UID: 0 PID: 27890 Comm: syz.2.8975 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:btrfs_create_pending_block_groups+0x141c/0x15e0
Code: db 87 fd 90 0f 0b 90 48 8b 5c 24 18 44 89 e1 f7 d9 e9 47 fc ff ff e8 43 db 87 fd eb 10 e8 3c db 87 fd eb 09 e8 35 db 87 fd 90 <0f> 0b 90 f7 db 4c 8b 6c 24 40 4c 8b 7c 24 10 e9 be fd ff ff 44 89
RSP: 0018:ffffc90003ee77a0 EFLAGS: 00010287
RAX: ffffffff843fdd6b RBX: 00000000ffffffe4 RCX: 0000000000080000
RDX: ffffc90029802000 RSI: 0000000000006d13 RDI: 0000000000006d14
RBP: ffffc90003ee7a08 R08: ffff88816a61da00 R09: 0000000000000003
R10: 00000000fffffffb R11: 0000000000000002 R12: ffff8881b94f14d8
R13: fffff520007dcf10 R14: ffff88811cf20001 R15: ffff8881b94f16a0
FS:  00007f405b2dc6c0(0000) GS:ffff8882a8cd8000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000564f9b689b28 CR3: 0000000113b84000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __btrfs_end_transaction+0x140/0x640
 btrfs_inc_block_group_ro+0x64b/0x7d0
 scrub_enumerate_chunks+0x7d1/0x13b0
 btrfs_scrub_dev+0x6bb/0xf80
 btrfs_ioctl_scrub+0x23f/0x4c0
 __se_sys_ioctl+0xfc/0x170
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f405a39e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f405b2dc028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f405a626090 RCX: 00007f405a39e159
RDX: 0000200000000000 RSI: 00000000c400941b RDI: 0000000000000004
RBP: 00007f405a435024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f405a626128 R14: 00007f405a626090 R15: 00007ffdb52fee18
 </TASK>
