Warning: Permanently added '[localhost]:20839' (ED25519) to the list of known hosts. Setting up swapspace version 1, size = 127995904 bytes [ 69.242493][ T5306] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 69.276733][ T5311] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 69.280369][ T5311] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 69.283457][ T5311] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 69.287454][ T5311] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 69.290526][ T5311] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 69.292907][ T5311] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 executing program [ 69.570448][ T5316] loop0: detected capacity change from 0 to 32768 [ 69.632850][ T5316] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 69.641937][ T5316] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 69.645662][ T5316] bcachefs (loop0): Version upgrade required: [ 69.645662][ T5316] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 69.645662][ T5316] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.20: directory_size [ 69.645662][ T5316] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 69.676133][ T5316] bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 69.676156][ T5316] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 69.676167][ T5316] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 69.691980][ T5316] bcachefs (loop0): inconsistency detected - emergency read only at journal seq 10 [ 69.695390][ T5316] bcachefs (loop0): flagging btree extents lost data [ 69.697545][ T5316] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 69.701152][ T5316] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 69.707110][ T5316] error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 69.714411][ T5316] bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 69.714424][ T5316] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 69.714432][ T5316] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 69.729752][ T5316] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 69.729752][ T5316] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 69.743574][ T5316] bcachefs (loop0): scan_for_btree_nodes... [ 69.752725][ T5316] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 69.757875][ T5316] done [ 69.758962][ T5316] bcachefs (loop0): check_topology... [ 69.760288][ T5316] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 69.766423][ T5316] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 69.770619][ T5316] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 1032 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 69.780061][ T37] invalid bkey in btree_node btree=extents level=0: u64s 17 type deleted 18446744069414584328:0:0 len 0 ver 0: [ 69.780081][ T37] snapshot == 0: delete?, fixing [ 69.787488][ T37] bcachefs (loop0): error validating btree node at btree extents level 0/0 [ 69.787501][ T37] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 1032 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 69.787511][ T37] node offset 8/1032 bset u64s 65327 bset byte offset 40: invalid bkey format 53, shutting down [ 69.801980][ T5316] empty interior btree node at btree=extents level=1 [ 69.801999][ T5316] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 69.807034][ T5316] bcachefs (loop0): empty btree root extents [ 69.809158][ T5316] done [ 69.810136][ T5316] bcachefs (loop0): accounting_read... done [ 69.813098][ T5316] bcachefs (loop0): alloc_read... done [ 69.815562][ T5316] bcachefs (loop0): stripes_read... done [ 69.817690][ T5316] bcachefs (loop0): snapshots_read... done [ 69.819995][ T5316] bcachefs (loop0): check_allocations... [ 69.822897][ T5316] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 69.822915][ T5316] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 69.835330][ T5316] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 69.835344][ T5316] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 69.846754][ T5316] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 69.846769][ T5316] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 69.856923][ T5316] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 69.856939][ T5316] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 69.867750][ T5316] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 69.867764][ T5316] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 69.876682][ T5316] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 69.880117][ T5316] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 69.884266][ T5316] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 69.887796][ T5316] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 69.891373][ T5316] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 69.895257][ T5316] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 69.899237][ T5316] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 69.902310][ T5316] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 69.906737][ T5316] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 69.910229][ T5316] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 69.913612][ T5316] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 69.917610][ T5316] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 69.922304][ T5316] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 69.925621][ T5316] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 69.929375][ T5316] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 69.932635][ T5316] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 69.936897][ T5316] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 69.940019][ T5316] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 69.944003][ T5316] bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 69.947347][ T5316] bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 69.951210][ T5316] bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 69.954968][ T5316] bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 69.960289][ T5316] bucket 0:12 gen 0 has wrong data_type: got free, should be journal, fixing [ 69.966170][ T5316] bucket 0:12 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 69.971641][ T5316] bucket 0:13 gen 0 has wrong data_type: got free, should be journal, fixing [ 69.977137][ T5316] bucket 0:13 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 69.983011][ T5316] bucket 0:14 gen 0 has wrong data_type: got free, should be journal, fixing [ 69.988677][ T5316] bucket 0:14 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 69.993847][ T5316] bucket 0:15 gen 0 has wrong data_type: got free, should be journal, fixing [ 69.998951][ T5316] bucket 0:15 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 70.010801][ T5316] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.015628][ T5316] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.020963][ T5316] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.026829][ T5316] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.031896][ T5316] bucket 0:18 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.035715][ T5316] bucket 0:18 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.039397][ T5316] bucket 0:19 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.042533][ T5316] bucket 0:19 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.046619][ T5316] bucket 0:20 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.049641][ T5316] bucket 0:20 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.053355][ T5316] bucket 0:21 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.056836][ T5316] bucket 0:21 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.060238][ T5316] bucket 0:22 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.063574][ T5316] bucket 0:22 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.067709][ T5316] bucket 0:23 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.070828][ T5316] bucket 0:23 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.074394][ T5316] bucket 0:24 gen 0 has wrong data_type: got free, should be journal, fixing [ 70.078139][ T5316] bucket 0:24 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 70.082031][ T5316] bucket 0:26 gen 0 has wrong data_type: got free, should be btree, fixing [ 70.085735][ T5316] bucket 0:26 gen 0 data type btree has wrong dirty_sectors: got 0, should be 256, fixing [ 70.090761][ T5316] bucket 0:27 gen 0 has wrong data_type: got btree, should be need_discard, fixing [ 70.094420][ T5316] bucket 0:27 gen 0 data type need_discard has wrong dirty_sectors: got 256, should be 0, fixing [ 70.098997][ T5316] bucket 0:29 gen 0 has wrong data_type: got free, should be btree, fixing [ 70.102121][ T5316] bucket 0:29 gen 0 data type btree has wrong dirty_sectors: got 0, should be 256, fixing [ 70.106210][ T5316] bucket 0:32 gen 0 has wrong data_type: got sb, should be btree, fixing [ 70.109468][ T5316] bucket 0:34 gen 0 has wrong data_type: got user, should be need_discard, fixing [ 70.112917][ T5316] bucket 0:34 gen 0 data type need_discard has wrong dirty_sectors: got 16, should be 0, fixing [ 70.117591][ T5316] bucket 0:35 gen 0 has wrong data_type: got free, should be btree, fixing [ 70.121005][ T5316] bucket 0:35 gen 0 data type btree has wrong dirty_sectors: got 0, should be 256, fixing [ 70.125123][ T5316] bucket 0:38 gen 0 has wrong data_type: got free, should be btree, fixing [ 70.128527][ T5316] bucket 0:38 gen 0 data type btree has wrong dirty_sectors: got 0, should be 256, fixing [ 70.132602][ T5316] bucket 0:41 gen 0 has wrong data_type: got free, should be btree, fixing [ 70.136405][ T5316] bucket 0:41 gen 0 data type btree has wrong dirty_sectors: got 0, should be 256, fixing [ 70.140993][ T5316] bucket 0:120 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.144943][ T5316] bucket 0:120 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.148746][ T5316] bucket 0:121 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.151773][ T5316] bucket 0:121 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.155929][ T5316] bucket 0:122 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.159082][ T5316] bucket 0:122 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.162627][ T5316] bucket 0:123 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.166325][ T5316] bucket 0:123 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.170098][ T5316] bucket 0:124 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.173192][ T5316] bucket 0:124 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.177542][ T5316] bucket 0:125 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.180737][ T5316] bucket 0:125 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.184399][ T5316] bucket 0:126 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.190128][ T5316] bucket 0:126 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.193871][ T5316] bucket 0:127 gen 0 has wrong data_type: got free, should be sb, fixing [ 70.197395][ T5316] bucket 0:127 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 70.202571][ T5316] done [ 70.204386][ T5316] bcachefs (loop0): going read-write [ 70.209408][ T55] bcachefs (loop0): bch2_btree_update_start(): error journal_shutdown [ 70.212624][ T5316] bcachefs (loop0): journal_replay... [ 70.212732][ T5316] bcachefs (loop0): bch2_journal_replay(): error erofs_journal_err [ 70.218240][ T5316] bcachefs (loop0): bch2_fs_recovery(): error erofs_journal_err [ 70.221023][ T5316] bcachefs (loop0): bch2_fs_start(): error starting filesystem erofs_journal_err [ 70.224985][ T55] bcachefs (loop0): async_btree_node_rewrite_work(): error journal_shutdown [ 70.229145][ T9] bcachefs (loop0): going read-only [ 70.231223][ T9] bcachefs (loop0): finished waiting for writes to stop [ 70.234102][ T9] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 70.237642][ T5316] bcachefs (loop0): shutting down [ 70.240137][ T9] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 70.244345][ T9] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 70.248628][ T9] bcachefs (loop0): done going read-only, filesystem not clean [ 70.267225][ T5316] bcachefs (loop0): shutdown complete [ 70.752945][ T5316] bcachefs: bch2_fs_get_tree() error: erofs_journal_err [ 70.840128][ T5316] syz-executor390 (5316) used greatest stack depth: 18208 bytes left executing program [ 70.994802][ T5327] loop0: detected capacity change from 0 to 32768 [ 71.038677][ T5327] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 71.045544][ T5327] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 71.048736][ T5327] bcachefs (loop0): Version upgrade required: [ 71.048736][ T5327] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 71.048736][ T5327] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.20: directory_size [ 71.048736][ T5327] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 71.076588][ T5327] bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 71.076606][ T5327] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 71.076615][ T5327] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 71.090267][ T5327] bcachefs (loop0): inconsistency detected - emergency read only at journal seq 10 [ 71.093696][ T5327] bcachefs (loop0): flagging btree extents lost data [ 71.096704][ T5327] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 71.101040][ T5327] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 71.106559][ T5327] error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 71.113305][ T5327] bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 71.113315][ T5327] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 71.113319][ T5327] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 71.128582][ T5327] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 71.128582][ T5327] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 71.141250][ T5327] bcachefs (loop0): scan_for_btree_nodes... [ 71.150476][ T5327] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 71.155659][ T5327] done [ 71.156733][ T5327] bcachefs (loop0): check_topology... [ 71.157988][ T5327] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 71.163361][ T5327] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 71.167956][ T5327] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 1032 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 71.176077][ T37] invalid bkey in btree_node btree=extents level=0: u64s 17 type deleted 18446744069414584328:0:0 len 0 ver 0: [ 71.176097][ T37] snapshot == 0: delete?, fixing [ 71.182803][ T37] bcachefs (loop0): error validating btree node at btree extents level 0/0 [ 71.182816][ T37] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 1032 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 71.182825][ T37] node offset 8/1032 bset u64s 65327 bset byte offset 40: invalid bkey format 53, shutting down [ 71.197713][ T5327] Topology repair: unreadable btree node at [ 71.197726][ T5327] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 1032 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 71.207451][ T5327] empty interior btree node at btree=extents level=1 [ 71.207465][ T5327] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 71.212728][ T5327] bcachefs (loop0): empty btree root extents [ 71.215465][ T5327] done [ 71.216597][ T5327] bcachefs (loop0): accounting_read... done [ 71.218937][ T5327] bcachefs (loop0): alloc_read... done [ 71.220802][ T5327] bcachefs (loop0): stripes_read... done [ 71.222501][ T5327] bcachefs (loop0): snapshots_read... done [ 71.224365][ T5327] bcachefs (loop0): check_allocations... [ 71.225256][ T5327] ------------[ cut here ]------------ [ 71.229516][ T5327] kernel BUG at fs/bcachefs/bset.c:1308! [ 71.231628][ T5327] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 71.234893][ T5327] CPU: 0 UID: 0 PID: 5327 Comm: syz-executor390 Not tainted 6.14.0-rc1-syzkaller-00034-g92514ef226f5 #0 [ 71.238935][ T5327] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 71.242601][ T5327] RIP: 0010:bch2_btree_node_iter_init+0x4272/0x4280 [ 71.245004][ T5327] Code: fd 90 0f 0b e8 1f 68 84 fd 90 0f 0b e8 17 68 84 fd 90 0f 0b e8 0f 68 84 fd 90 0f 0b e8 07 68 84 fd 90 0f 0b e8 ff 67 84 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 [ 71.252024][ T5327] RSP: 0018:ffffc9000d355de0 EFLAGS: 00010293 [ 71.254166][ T5327] RAX: ffffffff843af621 RBX: 0000000000000001 RCX: ffff8880009ec880 [ 71.256983][ T5327] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 71.259705][ T5327] RBP: ffffc9000d356050 R08: ffffffff843ab7c6 R09: 0000000000000000 [ 71.262506][ T5327] R10: ffffc9000d355f70 R11: fffff52001a6abf1 R12: ffff888046320040 [ 71.265348][ T5327] R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 71.268241][ T5327] FS: 00007f034a79f6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 71.271400][ T5327] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 71.273857][ T5327] CR2: 00007f03431ff000 CR3: 0000000033f7e000 CR4: 0000000000352ef0 [ 71.276784][ T5327] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 71.279773][ T5327] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 71.282734][ T5327] Call Trace: [ 71.283986][ T5327] [ 71.285111][ T5327] ? __die_body+0x5f/0xb0 [ 71.286745][ T5327] ? die+0x9e/0xc0 [ 71.288242][ T5327] ? do_trap+0x15a/0x3a0 [ 71.289871][ T5327] ? bch2_btree_node_iter_init+0x4272/0x4280 [ 71.292178][ T5327] ? do_error_trap+0x1dc/0x2c0 [ 71.293998][ T5327] ? bch2_btree_node_iter_init+0x4272/0x4280 [ 71.296242][ T5327] ? __pfx_do_error_trap+0x10/0x10 [ 71.298239][ T5327] ? report_bug+0x3e8/0x500 [ 71.300058][ T5327] ? handle_invalid_op+0x34/0x40 [ 71.301997][ T5327] ? bch2_btree_node_iter_init+0x4272/0x4280 [ 71.304223][ T5327] ? exc_invalid_op+0x38/0x50 [ 71.306033][ T5327] ? asm_exc_invalid_op+0x1a/0x20 [ 71.308041][ T5327] ? bch2_btree_node_iter_init+0x416/0x4280 [ 71.310496][ T5327] ? bch2_btree_node_iter_init+0x4271/0x4280 [ 71.312869][ T5327] ? bch2_btree_node_iter_init+0x4272/0x4280 [ 71.315033][ T5327] ? deref_stack_reg+0x17c/0x210 [ 71.316729][ T5327] ? __pfx_validate_chain+0x10/0x10 [ 71.318569][ T5327] ? __pfx_bch2_btree_node_iter_init+0x10/0x10 [ 71.320700][ T5327] ? __pfx_bch2_btree_path_verify_level+0x10/0x10 [ 71.323090][ T5327] ? __pfx___do_six_trylock+0x10/0x10 [ 71.325189][ T5327] ? __btree_path_up_until_good_node+0xb33/0xb80 [ 71.327593][ T5327] bch2_btree_path_level_init+0x4d2/0x9f0 [ 71.329686][ T5327] ? bch2_btree_path_traverse_one+0xa9c/0x2930 [ 71.331972][ T5327] bch2_btree_path_traverse_one+0x108b/0x2930 [ 71.334243][ T5327] ? __pfx_validate_chain+0x10/0x10 [ 71.336130][ T5327] ? bch2_btree_path_traverse_one+0xa9c/0x2930 [ 71.338408][ T5327] ? btree_node_unlock+0x95/0x230 [ 71.340297][ T5327] ? bch2_gc_reflink_start+0x461/0xa50 [ 71.342422][ T5327] ? __pfx_bch2_btree_path_traverse_one+0x10/0x10 [ 71.344873][ T5327] ? __bch2_btree_path_set_pos+0xe90/0x17e0 [ 71.347037][ T5327] ? mark_lock+0x9a/0x360 [ 71.348604][ T5327] ? __pfx___bch2_btree_path_set_pos+0x10/0x10 [ 71.350813][ T5327] ? bch2_btree_path_verify_locks+0x268/0xb30 [ 71.353022][ T5327] ? bch2_btree_path_verify+0x1fd/0x300 [ 71.355032][ T5327] ? bch2_gc_reflink_start+0x1ac/0xa50 [ 71.357173][ T5327] bch2_btree_iter_peek_max+0xc06/0x6320 [ 71.359325][ T5327] ? __pfx_bch2_btree_iter_peek_max+0x10/0x10 [ 71.361492][ T5327] ? __bch2_time_stats_update+0x2ca/0x370 [ 71.363522][ T5327] ? bch2_trans_begin+0x17ff/0x1d90 [ 71.365471][ T5327] ? bch2_gc_reflink_start+0x40e/0xa50 [ 71.367541][ T5327] bch2_gc_reflink_start+0x461/0xa50 [ 71.369547][ T5327] ? __pfx_bch2_gc_reflink_start+0x10/0x10 [ 71.371601][ T5327] ? bch2_get_next_dev+0x26/0x500 [ 71.373419][ T5327] ? __kasan_kmalloc+0x98/0xb0 [ 71.374995][ T5327] ? bch2_gc_reflink_start+0x1ac/0xa50 [ 71.376957][ T5327] ? bch2_get_next_dev+0x26/0x500 [ 71.378851][ T5327] bch2_check_allocations+0x680/0x6aa0 [ 71.380867][ T5327] ? validate_chain+0x11e/0x5920 [ 71.382711][ T5327] ? this_cpu_in_panic+0x4f/0x80 [ 71.384538][ T5327] ? _prb_read_valid+0xa39/0xac0 [ 71.386420][ T5327] ? __pfx__prb_read_valid+0x10/0x10 [ 71.388480][ T5327] ? __pfx_validate_chain+0x10/0x10 [ 71.390500][ T5327] ? __pfx_data_push_tail+0x10/0x10 [ 71.392562][ T5327] ? __pfx_validate_chain+0x10/0x10 [ 71.394451][ T5327] ? prb_read_valid+0xa9/0xf0 [ 71.396360][ T5327] ? __pfx_prb_read_valid+0x10/0x10 [ 71.398470][ T5327] ? data_alloc+0x523/0x840 [ 71.400309][ T5327] ? desc_read+0x200/0x3f0 [ 71.402025][ T5327] ? __pfx_bch2_check_allocations+0x10/0x10 [ 71.404152][ T5327] ? desc_read+0x1a2/0x3f0 [ 71.405756][ T5327] ? prb_first_seq+0x131/0x210 [ 71.407482][ T5327] ? __pfx_prb_first_seq+0x10/0x10 [ 71.409453][ T5327] ? this_cpu_in_panic+0x4f/0x80 [ 71.411274][ T5327] ? _prb_read_valid+0xa39/0xac0 [ 71.413154][ T5327] ? __pfx__prb_read_valid+0x10/0x10 [ 71.415087][ T5327] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 71.417321][ T5327] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 71.419683][ T5327] ? __console_unlock+0x12d/0x1f0 [ 71.421612][ T5327] ? prb_read_valid+0xa9/0xf0 [ 71.423460][ T5327] ? __pfx___console_unlock+0x10/0x10 [ 71.425608][ T5327] ? __pfx_prb_read_valid+0x10/0x10 [ 71.427524][ T5327] ? is_printk_cpu_sync_owner+0x32/0x40 [ 71.429681][ T5327] ? printk_get_console_flush_type+0x1fe/0x4f0 [ 71.431903][ T5327] ? console_unlock+0x2fc/0x3b0 [ 71.433750][ T5327] ? __pfx_console_unlock+0x10/0x10 [ 71.435650][ T5327] ? irq_work_queue+0xd1/0x150 [ 71.437448][ T5327] ? __wake_up_klogd+0xd5/0x110 [ 71.439305][ T5327] ? vprintk_emit+0x7ed/0xa10 [ 71.441159][ T5327] ? __pfx_vprintk_emit+0x10/0x10 [ 71.443100][ T5327] ? __bch2_print+0x17a/0x220 [ 71.444902][ T5327] ? mark_lock+0x9a/0x360 [ 71.446499][ T5327] ? bch2_run_recovery_pass+0x6d/0x1e0 [ 71.448535][ T5327] ? __pfx___bch2_print+0x10/0x10 [ 71.450380][ T5327] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 71.452677][ T5327] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 71.455119][ T5327] bch2_run_recovery_pass+0xf0/0x1e0 [ 71.457143][ T5327] bch2_run_recovery_passes+0x2ad/0xa90 [ 71.459267][ T5327] bch2_fs_recovery+0x265a/0x3de0 [ 71.461231][ T5327] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 71.463267][ T5327] ? __pfx_lock_release+0x10/0x10 [ 71.465448][ T5327] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 71.467566][ T5327] ? __pfx_lock_release+0x10/0x10 [ 71.469618][ T5327] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 71.471708][ T5327] ? bch2_get_next_online_dev+0x4b9/0x4f0 [ 71.473932][ T5327] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 71.476346][ T5327] ? llist_reverse_order+0x72/0x90 [ 71.478405][ T5327] bch2_fs_start+0x37c/0x610 [ 71.480241][ T5327] bch2_fs_get_tree+0xd8d/0x1740 [ 71.482195][ T5327] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 71.484279][ T5327] ? generic_parse_monolithic+0x387/0x400 [ 71.486478][ T5327] ? rcu_is_watching+0x15/0xb0 [ 71.488334][ T5327] ? apparmor_capable+0x13b/0x1b0 [ 71.490754][ T5327] vfs_get_tree+0x90/0x2b0 [ 71.492536][ T5327] do_new_mount+0x2be/0xb40 [ 71.494493][ T5327] ? __pfx_do_new_mount+0x10/0x10 [ 71.496486][ T5327] __se_sys_mount+0x2d6/0x3c0 [ 71.498481][ T5327] ? __pfx___se_sys_mount+0x10/0x10 [ 71.500595][ T5327] ? do_syscall_64+0x100/0x230 [ 71.502493][ T5327] ? __x64_sys_mount+0x20/0xc0 [ 71.504325][ T5327] do_syscall_64+0xf3/0x230 [ 71.506170][ T5327] ? clear_bhb_loop+0x35/0x90 [ 71.508001][ T5327] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 71.510185][ T5327] RIP: 0033:0x7f034aff75aa [ 71.511913][ T5327] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 ae 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 [ 71.519216][ T5327] RSP: 002b:00007f034a79efa8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 71.522475][ T5327] RAX: ffffffffffffffda RBX: 00007f034a79efc0 RCX: 00007f034aff75aa [ 71.525538][ T5327] RDX: 0000200000000000 RSI: 0000200000000040 RDI: 00007f034a79efc0 [ 71.528622][ T5327] RBP: 0000200000000040 R08: 00007f034a79f000 R09: 0000000000005939 [ 71.531673][ T5327] R10: 0000000000000000 R11: 0000000000000282 R12: 0000200000000000 [ 71.534685][ T5327] R13: 00007f034a79f000 R14: 0000000000000005 R15: 0000000000000000 [ 71.537801][ T5327] [ 71.539060][ T5327] Modules linked in: [ 71.541096][ T5327] ---[ end trace 0000000000000000 ]--- [ 71.543464][ T4669] Bluetooth: hci0: command tx timeout [ 71.549127][ T5327] RIP: 0010:bch2_btree_node_iter_init+0x4272/0x4280 [ 71.551671][ T5327] Code: fd 90 0f 0b e8 1f 68 84 fd 90 0f 0b e8 17 68 84 fd 90 0f 0b e8 0f 68 84 fd 90 0f 0b e8 07 68 84 fd 90 0f 0b e8 ff 67 84 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 [ 71.562863][ T5327] RSP: 0018:ffffc9000d355de0 EFLAGS: 00010293 [ 71.565407][ T5327] RAX: ffffffff843af621 RBX: 0000000000000001 RCX: ffff8880009ec880 [ 71.568576][ T5327] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 71.571587][ T5327] RBP: ffffc9000d356050 R08: ffffffff843ab7c6 R09: 0000000000000000 [ 71.575437][ T5327] R10: ffffc9000d355f70 R11: fffff52001a6abf1 R12: ffff888046320040 [ 71.578670][ T5327] R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 71.581753][ T5327] FS: 00007f034a79f6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 71.585610][ T5327] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 71.588155][ T5327] CR2: 00007f03431ff000 CR3: 0000000033f7e000 CR4: 0000000000352ef0 [ 71.591263][ T5327] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 71.594269][ T5327] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 71.597899][ T5327] Kernel panic - not syncing: Fatal exception [ 71.600572][ T5327] Kernel Offset: disabled [ 71.602240][ T5327] Rebooting in 86400 seconds.. VM DIAGNOSIS: 21:57:46 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000050 RBX=ffffffff9a746080 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000d355490 R8 =ffffffff8576c5ab R9 =1ffff11003e0e046 R10=dffffc0000000000 R11=ffffffff8576c560 R12=dffffc0000000000 R13=0000000000000050 R14=0000000000000050 R15=00000000000003f8 RIP=ffffffff8576c5de RFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 ffffffff 00c00000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0000 0000000000000000 ffffffff 00c00000 FS =0000 00007f034a79f6c0 ffffffff 00c00000 GS =0000 ffff88801fc00000 ffffffff 00c00000 LDT=0000 0000000000000000 ffffffff 00c00000 TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000001000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=00007f03431ff000 CR3=0000000033f7e000 CR4=00352ef0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000fffe0ff0 DR7=0000000000000400 EFER=0000000000000d01 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 Opmask00=0000000001000000 Opmask01=0000000001000001 Opmask02=00000000fff7ffff Opmask03=0000000000000000 Opmask04=0000000000000000 Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd2239b110 0000003000000018 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000001a0000000d0 00000000ffffffff ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000001a0000000d0 00000000ffffffff ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000001000 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000800000 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM16=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM17=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000002 0000000000000000 0000000000000000 0000000000000000 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00000000000000c0 ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000002 0000000000000000 0000000000000000 00000000000000c0 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000000524f525245 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00524f5252450040 ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00e800a800000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM25=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM26=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM27=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM28=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM29=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM30=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM31=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000