Warning: Permanently added '[localhost]:31703' (ED25519) to the list of known hosts. executing program [ 69.222389][ T5300] loop0: detected capacity change from 0 to 32768 [ 69.293933][ T5300] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 69.301308][ T5300] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 69.304915][ T5300] bcachefs (loop0): Version upgrade required: [ 69.304915][ T5300] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 69.304915][ T5300] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 69.304915][ T5300] 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.337259][ T5300] bcachefs (loop0): error validating btree node at btree extents level 0/0 [ 69.337284][ T5300] 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.337295][ T5300] node offset 8/16 bset u64s 49 bset byte offset 96: keys out of order: u64s 7 type extent 83890179:8:U32_MAX len 8 ver 0 > u64s 10 type inline_data 4100:8:U32_MAX len 8 ver 0, fixing [ 69.353481][ T5300] bcachefs (loop0): btree_node_read_work: rewriting btree node at btree=extents level=0 SPOS_MAX due to error [ 69.358647][ T5300] bcachefs (loop0): error validating btree node on loop0 at btree dirents level 0/0 [ 69.358661][ T5300] 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 [ 69.358670][ T5300] node offset 16/24: btree node data missing: expected 24 sectors, found 16, fixing [ 69.370695][ T5300] bcachefs (loop0): btree_node_read_work: rewriting btree node at btree=dirents level=0 SPOS_MAX due to error [ 69.375844][ T5300] bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 69.375854][ T5300] 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.375859][ T5300] 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.391427][ T5300] bcachefs (loop0): btree_node_read_work: rewriting btree node at btree=alloc level=0 SPOS_MAX due to error [ 69.397602][ T5300] bcachefs (loop0): error validating btree node on loop0 at btree freespace level 0/0 [ 69.397625][ T5300] 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 [ 69.397634][ T5300] node offset 0/32 bset u64s 0: invalid bkey format: incorrect key_u64s: got 3, should be 1 [ 69.397642][ T5300] u64s 3 fields 2:0, 0:0, 0:0, 0:0, 0:0, 0:0 [ 69.413510][ T5300] bcachefs (loop0): flagging btree freespace lost data [ 69.418435][ T5300] error reading btree root freespace l=0: btree_node_read_error, fixing [ 69.423136][ T5300] ------------[ cut here ]------------ [ 69.425159][ T5300] kernel BUG at fs/bcachefs/ec.h:35! [ 69.427237][ T5300] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 69.430702][ T5300] CPU: 0 UID: 0 PID: 5300 Comm: syz-executor271 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 [ 69.434544][ T5300] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 69.438523][ T5300] RIP: 0010:bch2_stripe_validate+0x639/0x680 [ 69.440873][ T5300] Code: 3d 3d 6f fd e9 76 fc ff ff 44 89 f9 80 e1 07 38 c1 0f 8c 53 fd ff ff 4c 89 ff e8 42 a4 d5 fd e9 46 fd ff ff e8 18 3d 6f fd 90 <0f> 0b e8 10 3d 6f fd 90 0f 0b 44 89 e1 80 e1 07 38 c1 7c ab 4c 89 [ 69.447853][ T5300] RSP: 0018:ffffc9000cff69f8 EFLAGS: 00010293 [ 69.450185][ T5300] RAX: ffffffff84303718 RBX: 0000000000000008 RCX: ffff88800015a440 [ 69.452978][ T5300] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007 [ 69.455655][ T5300] RBP: 00000000ffffffff R08: ffffffff843032d9 R09: 1ffff11009090035 [ 69.458702][ T5300] R10: dffffc0000000000 R11: ffffffff843030e0 R12: 0000000000000000 [ 69.461069][ T5300] R13: 0000000000000009 R14: ffff8880427a00b8 R15: ffffc9000cff6e40 [ 69.464062][ T5300] FS: 0000555571cbf380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 69.467336][ T5300] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 69.469777][ T5300] CR2: 00007ffe5a7e6df8 CR3: 00000000331d6000 CR4: 0000000000352ef0 [ 69.472627][ T5300] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 69.475424][ T5300] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 69.478426][ T5300] Call Trace: [ 69.479721][ T5300] [ 69.480897][ T5300] ? __die_body+0x5f/0xb0 [ 69.482487][ T5300] ? die+0x9e/0xc0 [ 69.484021][ T5300] ? do_trap+0x15a/0x3a0 [ 69.485633][ T5300] ? bch2_stripe_validate+0x639/0x680 [ 69.487697][ T5300] ? do_error_trap+0x1dc/0x2c0 [ 69.489480][ T5300] ? bch2_stripe_validate+0x639/0x680 [ 69.491542][ T5300] ? __pfx_do_error_trap+0x10/0x10 [ 69.493477][ T5300] ? handle_invalid_op+0x34/0x40 [ 69.495348][ T5300] ? bch2_stripe_validate+0x639/0x680 [ 69.497305][ T5300] ? exc_invalid_op+0x38/0x50 [ 69.499155][ T5300] ? asm_exc_invalid_op+0x1a/0x20 [ 69.501077][ T5300] ? __pfx_bch2_stripe_validate+0x10/0x10 [ 69.503246][ T5300] ? bch2_stripe_validate+0x1f9/0x680 [ 69.505138][ T5300] ? bch2_stripe_validate+0x638/0x680 [ 69.507131][ T5300] ? bch2_stripe_validate+0x639/0x680 [ 69.509015][ T5300] ? bch2_stripe_validate+0x638/0x680 [ 69.510893][ T5300] bch2_btree_node_read_done+0x3e7e/0x5e90 [ 69.512966][ T5300] ? bch2_bkey_pick_read_device+0x221/0x1670 [ 69.515309][ T5300] ? __pfx_bch2_btree_node_read_done+0x10/0x10 [ 69.517537][ T5300] ? bch2_bkey_pick_read_device+0x137d/0x1670 [ 69.519922][ T5300] ? bch2_bkey_pick_read_device+0x221/0x1670 [ 69.522070][ T5300] ? __pfx_bch2_bkey_pick_read_device+0x10/0x10 [ 69.524366][ T5300] ? bch2_btree_ptr_v2_to_text+0x209/0x2f0 [ 69.526416][ T5300] btree_node_read_work+0x68b/0x1260 [ 69.528297][ T5300] ? __pfx_btree_node_read_work+0x10/0x10 [ 69.530336][ T5300] ? __bch2_time_stats_update+0x280/0x370 [ 69.532584][ T5300] ? __pfx_bch2_latency_acct+0x10/0x10 [ 69.534687][ T5300] ? bio_associate_blkg+0x6c/0x230 [ 69.536551][ T5300] bch2_btree_node_read+0x2433/0x29f0 [ 69.538509][ T5300] ? __pfx_lock_release+0x10/0x10 [ 69.540456][ T5300] ? bch2_trans_unlock+0x346/0x470 [ 69.542435][ T5300] ? __pfx_bch2_btree_node_read+0x10/0x10 [ 69.544606][ T5300] ? __pfx___bch2_btree_node_hash_insert+0x10/0x10 [ 69.547052][ T5300] ? bch2_trans_unlock+0x3a6/0x470 [ 69.548847][ T5300] bch2_btree_root_read+0x617/0x7a0 [ 69.550909][ T5300] ? __pfx_bch2_btree_root_read+0x10/0x10 [ 69.552978][ T5300] ? bch2_current_has_btree_trans+0x142/0x180 [ 69.555305][ T5300] read_btree_roots+0x296/0x840 [ 69.557372][ T5300] bch2_fs_recovery+0x2585/0x39d0 [ 69.559268][ T5300] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 69.561221][ T5300] ? __pfx_lock_release+0x10/0x10 [ 69.563079][ T5300] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 69.565229][ T5300] ? __pfx_lock_release+0x10/0x10 [ 69.567112][ T5300] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 69.569136][ T5300] ? bch2_get_next_online_dev+0x4b9/0x4f0 [ 69.571449][ T5300] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 69.573987][ T5300] ? llist_reverse_order+0x72/0x90 [ 69.575902][ T5300] bch2_fs_start+0x356/0x5b0 [ 69.577578][ T5300] bch2_fs_get_tree+0xd68/0x1710 [ 69.579231][ T5300] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 69.581095][ T5300] ? generic_parse_monolithic+0x387/0x400 [ 69.583072][ T5300] ? apparmor_capable+0x13b/0x1b0 [ 69.584783][ T5300] vfs_get_tree+0x90/0x2b0 [ 69.586347][ T5300] do_new_mount+0x2be/0xb40 [ 69.587944][ T5300] ? __pfx_do_new_mount+0x10/0x10 [ 69.589814][ T5300] __se_sys_mount+0x2d6/0x3c0 [ 69.591566][ T5300] ? __pfx___se_sys_mount+0x10/0x10 [ 69.593622][ T5300] ? do_syscall_64+0x100/0x230 [ 69.595450][ T5300] ? __x64_sys_mount+0x20/0xc0 [ 69.597143][ T5300] do_syscall_64+0xf3/0x230 [ 69.598741][ T5300] ? clear_bhb_loop+0x35/0x90 [ 69.600472][ T5300] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 69.602652][ T5300] RIP: 0033:0x7f3bcf61cb7a [ 69.604383][ T5300] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 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 b8 ff ff ff f7 d8 64 89 01 48 [ 69.611273][ T5300] RSP: 002b:00007fff9b9291b8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 69.614123][ T5300] RAX: ffffffffffffffda RBX: 00007fff9b9291d0 RCX: 00007f3bcf61cb7a [ 69.616762][ T5300] RDX: 0000000020000040 RSI: 0000000020000080 RDI: 00007fff9b9291d0 [ 69.619453][ T5300] RBP: 0000000000000010 R08: 00007fff9b929210 R09: 0000000000005998 [ 69.622108][ T5300] R10: 0000000000000010 R11: 0000000000000282 R12: 0000000000000004 [ 69.624906][ T5300] R13: 00007fff9b929210 R14: 0000000000000003 R15: 0000000001000000 [ 69.627992][ T5300] [ 69.629210][ T5300] Modules linked in: [ 69.630974][ T5300] ---[ end trace 0000000000000000 ]--- [ 69.636914][ T5300] RIP: 0010:bch2_stripe_validate+0x639/0x680 [ 69.639183][ T5300] Code: 3d 3d 6f fd e9 76 fc ff ff 44 89 f9 80 e1 07 38 c1 0f 8c 53 fd ff ff 4c 89 ff e8 42 a4 d5 fd e9 46 fd ff ff e8 18 3d 6f fd 90 <0f> 0b e8 10 3d 6f fd 90 0f 0b 44 89 e1 80 e1 07 38 c1 7c ab 4c 89 [ 69.648540][ T5300] RSP: 0018:ffffc9000cff69f8 EFLAGS: 00010293 [ 69.651122][ T5300] RAX: ffffffff84303718 RBX: 0000000000000008 RCX: ffff88800015a440 [ 69.654129][ T5300] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007 [ 69.657018][ T5300] RBP: 00000000ffffffff R08: ffffffff843032d9 R09: 1ffff11009090035 [ 69.659995][ T5300] R10: dffffc0000000000 R11: ffffffff843030e0 R12: 0000000000000000 [ 69.665149][ T5300] R13: 0000000000000009 R14: ffff8880427a00b8 R15: ffffc9000cff6e40 [ 69.668147][ T5300] FS: 0000555571cbf380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 69.671875][ T5300] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 69.674296][ T5300] CR2: 0000559fb55d9028 CR3: 00000000331d6000 CR4: 0000000000352ef0 [ 69.677217][ T5300] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 69.680431][ T5300] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 69.683419][ T5300] Kernel panic - not syncing: Fatal exception [ 69.685910][ T5300] Kernel Offset: disabled [ 69.687540][ T5300] Rebooting in 86400 seconds.. VM DIAGNOSIS: 05:33:45 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000023 RBX=ffffffff9a6f17e0 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000cff60b0 R8 =ffffffff855034db R9 =1ffff11000050046 R10=dffffc0000000000 R11=ffffffff85503490 R12=dffffc0000000000 R13=ffffffff9a3ebf94 R14=0000000000000023 R15=00000000000003f8 RIP=ffffffff8550350e 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 0000555571cbf380 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=00007ffe5a7e6df8 CR3=00000000331d6000 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=0000000000000001 Opmask01=0000000000000000 Opmask02=0000000000000000 Opmask03=0000000000000000 Opmask04=00000000ffffffff Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffe6436ee60 0000003000000018 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 6565656565656565 6565656565656565 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ff00ff0000000000 0000000000000000 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffffffffffffffff ffffffffffff0000 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ff00ff0000000000 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 0a0a0a0a0a0a0a0a 0a0a0a0a0a0a0a0a 0a0a0a0a0a0a0a0a 0a0a0a0a0a0a0a0a ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 206e6f2065646f6e 2065657274622067 6e69746164696c61 7620726f72726500 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2064652065646564 2065657274622067 6463746164636661 7620726572726500 ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 65203a2032332f30 2020656566622020 6564616e2020203a 302033343620205d ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 3020362020312030 202020205b3e2020 002020302020203a 2020203432202020 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 30787e7a2a3b2a30 737e636663686b78 7f6e2a4443475559 455a2a736f615564 ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 6f79682a3839253a 2a7e6f796c6c652a 6f6e65642a2a2a57 3a3a393f5e2a5157 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