[ 142.413324][ T1030] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 142.413345][ T1030] ata1.00: irq_stat 0x40000000
[ 142.413356][ T1030] ata1.00: failed command: READ DMA EXT
[ 142.413363][ T1030] ata1.00: cmd 25/00:00:9e:8b:03/00:05:00:00:00/e0 tag 14 dma 655360 in
[ 142.413363][ T1030] res 41/04:00:9e:8b:03/00:05:00:00:00/e0 Emask 0x1 (device error)
[ 142.413395][ T1030] ata1.00: status: { DRDY ERR }
[ 142.413400][ T1030] ata1.00: error: { ABRT }
[ 142.414437][ T1030] ata1.00: configured for UDMA/100
[ 142.414667][ T1030] sd 0:0:0:0: [sda] tag#14 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[ 142.414691][ T1030] sd 0:0:0:0: [sda] tag#14 Sense Key : Aborted Command [current]
[ 142.414712][ T1030] sd 0:0:0:0: [sda] tag#14 Add. Sense: No additional sense information
[ 142.415341][ T1030] sd 0:0:0:0: [sda] tag#14 CDB: Read(10) 28 00 00 03 8b 9e 00 05 00 00
[ 142.415358][ T1030] I/O error, dev sda, sector 232350 op 0x0:(READ) flags 0x80700 phys_seg 155 prio class 2
[ 142.415556][ T1030] ata1: EH complete
[ 143.175477][ T1340] ieee802154 phy0 wpan0: encryption failed: -22
[ 143.175534][ T1340] ieee802154 phy1 wpan1: encryption failed: -22
[ 148.465274][ T1030] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 148.465331][ T1030] ata1.00: irq_stat 0x40000000
[ 148.465342][ T1030] ata1.00: failed command: WRITE DMA EXT
[ 148.465357][ T1030] ata1.00: cmd 35/00:40:f6:5a:04/00:06:00:00:00/e0 tag 14 dma 819200 out
[ 148.465357][ T1030] res 41/04:40:f6:5a:04/00:06:00:00:00/e0 Emask 0x1 (device error)
[ 148.465391][ T1030] ata1.00: status: { DRDY ERR }
[ 148.465399][ T1030] ata1.00: error: { ABRT }
[ 148.493822][ T1030] ata1.00: configured for UDMA/100
[ 148.493921][ T1030] ata1: EH complete
[ 148.652775][ T1030] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 148.652796][ T1030] ata1.00: irq_stat 0x40000000
[ 148.652807][ T1030] ata1.00: failed command: WRITE DMA EXT
[ 148.652815][ T1030] ata1.00: cmd 35/00:60:36:a1:04/00:06:00:00:00/e0 tag 14 dma 835584 out
[ 148.652815][ T1030] res 41/04:60:36:a1:04/00:06:00:00:00/e0 Emask 0x1 (device error)
[ 148.652850][ T1030] ata1.00: status: { DRDY ERR }
[ 148.652864][ T1030] ata1.00: error: { ABRT }
[ 148.655452][ T1030] ata1.00: configured for UDMA/100
[ 148.658079][ T1030] ata1: EH complete
[ 152.492977][ T1030] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 152.493122][ T1030] ata1.00: irq_stat 0x40000000
[ 152.493136][ T1030] ata1.00: failed command: WRITE DMA EXT
[ 152.493144][ T1030] ata1.00: cmd 35/00:48:ae:14:05/00:06:00:00:00/e0 tag 14 dma 823296 out
[ 152.493144][ T1030] res 41/04:48:ae:14:05/00:06:00:00:00/e0 Emask 0x1 (device error)
[ 152.493178][ T1030] ata1.00: status: { DRDY ERR }
[ 152.493186][ T1030] ata1.00: error: { ABRT }
[ 152.496740][ T1030] ata1.00: configured for UDMA/100
[ 152.497600][ T1030] ata1: EH complete
Warning: Permanently added '[localhost]:44068' (ED25519) to the list of known hosts.
[*] Starting Btrfs reproducer for __add_block_group_free_space...
[+] Successfully created image file /tmp/btrfs.img
[+] Image file truncated to 0xf00000 bytes.
[+] Superblock written successfully at 0x10000.
[+] Chunk Tree leaf written at 0x100000.
[+] Root Tree leaf written at 0x200000.
[+] Extent Tree leaf written at 0x201000 (12 items).
[+] Dev Tree leaf written at 0x202000.
[+] FS Tree leaf written at 0x203000.
[+] CSUM Tree leaf written at 0x204000.
[+] Free Space Tree leaf written at 0x205000 (5 items).
[+] Data Reloc Tree leaf written at 0x206000.
[+] UUID Tree leaf written at 0x207000.
[+] Btrfs image file written successfully.
[+] Acquired loop device index: 0
[+] Attached /tmp/btrfs.img to /dev/loop0.
[+] Descriptors closed cleanly prior to mount.
[ 152.924655][ T5665] loop0: detected capacity change from 0 to 30720
[ 152.946538][ T5665] BTRFS: device fsid 5a112233-4455-6677-8899-aabbccddeeff devid 1 transid 1 /dev/loop0 (7:0) scanned by syz-executor393 (5665)
[ 153.004944][ T5665] BTRFS info (device loop0): first mount of filesystem 5a112233-4455-6677-8899-aabbccddeeff
[ 153.006845][ T5665] BTRFS info (device loop0): using crc32c checksum algorithm
[ 153.128189][ T5665] BTRFS info (device loop0): enabling ssd optimizations
[ 153.128213][ T5665] BTRFS info (device loop0): turning on async discard
[ 153.128221][ T5665] BTRFS info (device loop0): enabling free space tree
[+] Successfully mounted /dev/loop0 on /tmp/btrfs_mnt.
[+] Successfully opened /tmp/btrfs_mnt/f (fd = 3).
[*] Invoking fallocate() to request data space...
[ 153.224577][ T14] ------------[ cut here ]------------
[ 153.224589][ T14] btrfs_abort_should_print_stack(__error)
[ 153.224610][ T14] WARNING: fs/btrfs/free-space-tree.c:1446 at __add_block_group_free_space+0x5a3/0x5b0, CPU#0: kworker/u4:1/14
[ 153.235010][ T14] Modules linked in:
[ 153.236971][ T14] CPU: 0 UID: 0 PID: 14 Comm: kworker/u4:1 Not tainted syzkaller #0 PREEMPT(full)
[ 153.240947][ T14] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 153.245396][ T14] Workqueue: events_unbound btrfs_async_reclaim_data_space
[ 153.248560][ T14] RIP: 0010:__add_block_group_free_space+0x5a3/0x5b0
[ 153.251286][ T14] Code: 07 38 c1 0f 8c ce fc ff ff 4c 89 f7 e8 06 5b f4 fd e9 c1 fc ff ff e8 3c fa 7a fd eb 10 e8 35 fa 7a fd eb 09 e8 2e fa 7a fd 90 <0f> 0b 90 44 89 e1 f7 d9 e9 51 fe ff ff 90 90 90 90 90 90 90 90 90
[ 153.259863][ T14] RSP: 0018:ffffc9000027f578 EFLAGS: 00010293
[ 153.262609][ T14] RAX: ffffffff844e37b2 RBX: ffff888013af4001 RCX: ffff88801d7ecb00
[ 153.266023][ T14] RDX: 0000000000000000 RSI: ffffffff9081f240 RDI: 00000000ffffffe4
[ 153.269897][ T14] RBP: ffff888045966758 R08: ffff88801d7ecb00 R09: 0000000000000003
[ 153.274273][ T14] R10: 00000000fffffffb R11: 0000000000000000 R12: 00000000ffffffe4
[ 153.277843][ T14] R13: ffff88804f51c000 R14: ffff8880459667b8 R15: 0000000000000000
[ 153.281269][ T14] FS: 0000000000000000(0000) GS:ffff88808a9f4000(0000) knlGS:0000000000000000
[ 153.285281][ T14] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 153.288241][ T14] CR2: 00007f7703d212c0 CR3: 0000000043377000 CR4: 0000000000352ef0
[ 153.291619][ T14] Call Trace:
[ 153.293175][ T14]
[ 153.294478][ T14] ? btrfs_create_pending_block_groups+0xad2/0x15e0
[ 153.297380][ T14] btrfs_add_block_group_free_space+0xd0/0x130
[ 153.300109][ T14] btrfs_create_pending_block_groups+0xcc6/0x15e0
[ 153.303076][ T14] ? __pfx_btrfs_create_pending_block_groups+0x10/0x10
[ 153.306075][ T14] ? btrfs_trans_release_metadata+0x224/0x330
[ 153.308739][ T14] __btrfs_end_transaction+0x140/0x640
[ 153.311157][ T14] flush_space+0x3e9/0xde0
[ 153.313332][ T14] ? __pfx_flush_space+0x10/0x10
[ 153.315594][ T14] ? do_raw_spin_unlock+0x4d/0x200
[ 153.317837][ T14] do_async_reclaim_data_space+0x137/0x550
[ 153.320372][ T14] ? process_scheduled_works+0x97a/0x1630
[ 153.323000][ T14] btrfs_async_reclaim_data_space+0x41/0x90
[ 153.325665][ T14] process_scheduled_works+0xc3d/0x1630
[ 153.328227][ T14] ? __pfx_process_scheduled_works+0x10/0x10
[ 153.330809][ T14] ? assign_work+0x3cf/0x5d0
[ 153.332884][ T14] worker_thread+0xa47/0xfb0
[ 153.334976][ T14] kthread+0x38b/0x480
[ 153.336810][ T14] ? __pfx_worker_thread+0x10/0x10
[ 153.339074][ T14] ? __pfx_kthread+0x10/0x10
[ 153.341195][ T14] ret_from_fork+0x514/0xb70
[ 153.343375][ T14] ? __pfx_ret_from_fork+0x10/0x10
[ 153.345630][ T14] ? __switch_to+0xc78/0x1410
[ 153.347749][ T14] ? __pfx_kthread+0x10/0x10
[ 153.349800][ T14] ret_from_fork_asm+0x1a/0x30
[ 153.351878][ T14]
[ 153.353382][ T14] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 153.356623][ T14] CPU: 0 UID: 0 PID: 14 Comm: kworker/u4:1 Not tainted syzkaller #0 PREEMPT(full)
[ 153.360713][ T14] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 153.365175][ T14] Workqueue: events_unbound btrfs_async_reclaim_data_space
[ 153.368414][ T14] Call Trace:
[ 153.369914][ T14]
[ 153.371237][ T14] vpanic+0x26f/0x710
[ 153.373052][ T14] panic+0xc5/0xd0
[ 153.374804][ T14] ? __pfx_panic+0x10/0x10
[ 153.376852][ T14] ? ret_from_fork_asm+0x1a/0x30
[ 153.379075][ T14] __warn+0x315/0x4c0
[ 153.380857][ T14] ? __add_block_group_free_space+0x5a3/0x5b0
[ 153.383585][ T14] ? __add_block_group_free_space+0x5a3/0x5b0
[ 153.386302][ T14] __report_bug+0x276/0x570
[ 153.388451][ T14] ? __add_block_group_free_space+0x5a3/0x5b0
[ 153.391129][ T14] ? __pfx___report_bug+0x10/0x10
[ 153.393356][ T14] ? btrfs_insert_empty_items+0x119/0x1a0
[ 153.395815][ T14] ? add_new_free_space_info+0x2c3/0x420
[ 153.398338][ T14] ? __add_block_group_free_space+0x5a3/0x5b0
[ 153.400692][ T14] report_bug+0x16b/0x220
[ 153.402434][ T14] ? __add_block_group_free_space+0x5a3/0x5b0
[ 153.404819][ T14] ? __add_block_group_free_space+0x5a5/0x5b0
[ 153.407635][ T14] handle_bug+0x9c/0x200
[ 153.409530][ T14] exc_invalid_op+0x1a/0x50
[ 153.411602][ T14] asm_exc_invalid_op+0x1a/0x20
[ 153.413775][ T14] RIP: 0010:__add_block_group_free_space+0x5a3/0x5b0
[ 153.416685][ T14] Code: 07 38 c1 0f 8c ce fc ff ff 4c 89 f7 e8 06 5b f4 fd e9 c1 fc ff ff e8 3c fa 7a fd eb 10 e8 35 fa 7a fd eb 09 e8 2e fa 7a fd 90 <0f> 0b 90 44 89 e1 f7 d9 e9 51 fe ff ff 90 90 90 90 90 90 90 90 90
[ 153.424918][ T14] RSP: 0018:ffffc9000027f578 EFLAGS: 00010293
[ 153.427673][ T14] RAX: ffffffff844e37b2 RBX: ffff888013af4001 RCX: ffff88801d7ecb00
[ 153.431147][ T14] RDX: 0000000000000000 RSI: ffffffff9081f240 RDI: 00000000ffffffe4
[ 153.434632][ T14] RBP: ffff888045966758 R08: ffff88801d7ecb00 R09: 0000000000000003
[ 153.438171][ T14] R10: 00000000fffffffb R11: 0000000000000000 R12: 00000000ffffffe4
[ 153.441575][ T14] R13: ffff88804f51c000 R14: ffff8880459667b8 R15: 0000000000000000
[ 153.445029][ T14] ? __add_block_group_free_space+0x5a2/0x5b0
[ 153.447866][ T14] ? __add_block_group_free_space+0x5a2/0x5b0
[ 153.450647][ T14] ? btrfs_create_pending_block_groups+0xad2/0x15e0
[ 153.453633][ T14] btrfs_add_block_group_free_space+0xd0/0x130
[ 153.456415][ T14] btrfs_create_pending_block_groups+0xcc6/0x15e0
[ 153.459267][ T14] ? __pfx_btrfs_create_pending_block_groups+0x10/0x10
[ 153.462318][ T14] ? btrfs_trans_release_metadata+0x224/0x330
[ 153.464818][ T14] __btrfs_end_transaction+0x140/0x640
[ 153.466933][ T14] flush_space+0x3e9/0xde0
[ 153.468639][ T14] ? __pfx_flush_space+0x10/0x10
[ 153.470684][ T14] ? do_raw_spin_unlock+0x4d/0x200
[ 153.473097][ T14] do_async_reclaim_data_space+0x137/0x550
[ 153.475790][ T14] ? process_scheduled_works+0x97a/0x1630
[ 153.478355][ T14] btrfs_async_reclaim_data_space+0x41/0x90
[ 153.480686][ T14] process_scheduled_works+0xc3d/0x1630
[ 153.482899][ T14] ? __pfx_process_scheduled_works+0x10/0x10
[ 153.485467][ T14] ? assign_work+0x3cf/0x5d0
[ 153.487547][ T14] worker_thread+0xa47/0xfb0
[ 153.489610][ T14] kthread+0x38b/0x480
[ 153.491471][ T14] ? __pfx_worker_thread+0x10/0x10
[ 153.493782][ T14] ? __pfx_kthread+0x10/0x10
[ 153.495910][ T14] ret_from_fork+0x514/0xb70
[ 153.498075][ T14] ? __pfx_ret_from_fork+0x10/0x10
[ 153.500440][ T14] ? __switch_to+0xc78/0x1410
[ 153.502516][ T14] ? __pfx_kthread+0x10/0x10
[ 153.504561][ T14] ret_from_fork_asm+0x1a/0x30
[ 153.506717][ T14]
[ 153.508490][ T14] Kernel Offset: disabled
[ 153.510486][ T14] Rebooting in 86400 seconds..