Warning: Permanently added '[localhost]:25987' (ED25519) to the list of known hosts. executing program [ 69.309044][ T5299] loop0: detected capacity change from 0 to 32768 [ 69.379377][ T5299] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 69.390048][ T5299] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 69.393787][ T5299] bcachefs (loop0): Version upgrade required: [ 69.393787][ T5299] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 69.393787][ T5299] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 69.393787][ T5299] 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.424815][ T5299] bcachefs (loop0): error validating btree node at btree extents level 0/0 [ 69.424841][ T5299] 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.424852][ T5299] 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.440483][ T5299] bcachefs (loop0): btree_node_read_work: rewriting btree node at btree=extents level=0 SPOS_MAX due to error [ 69.446112][ T5299] bcachefs (loop0): error validating btree node on loop0 at btree dirents level 0/0 [ 69.446127][ T5299] 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.446135][ T5299] node offset 16/24: btree node data missing: expected 24 sectors, found 16, fixing [ 69.458944][ T5299] bcachefs (loop0): btree_node_read_work: rewriting btree node at btree=dirents level=0 SPOS_MAX due to error [ 69.464626][ T5299] bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 69.464640][ T5299] 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.464649][ T5299] 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.479805][ T5299] bcachefs (loop0): btree_node_read_work: rewriting btree node at btree=alloc level=0 SPOS_MAX due to error [ 69.485698][ T5299] bcachefs (loop0): error validating btree node on loop0 at btree freespace level 0/0 [ 69.485721][ T5299] 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.485731][ T5299] node offset 0/32 bset u64s 0: invalid bkey format: incorrect key_u64s: got 3, should be 1 [ 69.485739][ T5299] u64s 3 fields 2:0, 0:0, 0:0, 0:0, 0:0, 0:0 [ 69.500918][ T5299] bcachefs (loop0): flagging btree freespace lost data [ 69.505364][ T5299] error reading btree root freespace l=0: btree_node_read_error, fixing [ 69.509839][ T5299] ------------[ cut here ]------------ [ 69.511870][ T5299] kernel BUG at fs/bcachefs/ec.h:35! [ 69.514483][ T5299] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 69.517966][ T5299] CPU: 0 UID: 0 PID: 5299 Comm: syz-executor153 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 [ 69.521980][ T5299] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 69.525957][ T5299] RIP: 0010:bch2_stripe_validate+0x639/0x680 [ 69.528262][ T5299] 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.535401][ T5299] RSP: 0018:ffffc9000d08e9f8 EFLAGS: 00010293 [ 69.537724][ T5299] RAX: ffffffff84303718 RBX: 0000000000000008 RCX: ffff888000b82440 [ 69.540710][ T5299] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007 [ 69.543704][ T5299] RBP: 00000000ffffffff R08: ffffffff843032d9 R09: 1ffff110088e0035 [ 69.546714][ T5299] R10: dffffc0000000000 R11: ffffffff843030e0 R12: 0000000000000000 [ 69.549644][ T5299] R13: 0000000000000009 R14: ffff88804370c0b8 R15: ffffc9000d08ee40 [ 69.552714][ T5299] FS: 0000555584a6d380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 69.556006][ T5299] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 69.558533][ T5299] CR2: 00007ffdb8b83eb0 CR3: 0000000043728000 CR4: 0000000000352ef0 [ 69.561626][ T5299] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 69.564528][ T5299] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 69.567380][ T5299] Call Trace: [ 69.568649][ T5299] [ 69.569812][ T5299] ? __die_body+0x5f/0xb0 [ 69.571544][ T5299] ? die+0x9e/0xc0 [ 69.572947][ T5299] ? do_trap+0x15a/0x3a0 [ 69.574479][ T5299] ? bch2_stripe_validate+0x639/0x680 [ 69.576436][ T5299] ? do_error_trap+0x1dc/0x2c0 [ 69.578234][ T5299] ? bch2_stripe_validate+0x639/0x680 [ 69.580266][ T5299] ? __pfx_do_error_trap+0x10/0x10 [ 69.582191][ T5299] ? handle_invalid_op+0x34/0x40 [ 69.584045][ T5299] ? bch2_stripe_validate+0x639/0x680 [ 69.586051][ T5299] ? exc_invalid_op+0x38/0x50 [ 69.587939][ T5299] ? asm_exc_invalid_op+0x1a/0x20 [ 69.589791][ T5299] ? __pfx_bch2_stripe_validate+0x10/0x10 [ 69.591937][ T5299] ? bch2_stripe_validate+0x1f9/0x680 [ 69.593835][ T5299] ? bch2_stripe_validate+0x638/0x680 [ 69.595800][ T5299] ? bch2_stripe_validate+0x639/0x680 [ 69.597883][ T5299] ? bch2_stripe_validate+0x638/0x680 [ 69.599958][ T5299] bch2_btree_node_read_done+0x3e7e/0x5e90 [ 69.602300][ T5299] ? bch2_bkey_pick_read_device+0x221/0x1670 [ 69.604616][ T5299] ? __pfx_bch2_btree_node_read_done+0x10/0x10 [ 69.606950][ T5299] ? bch2_bkey_pick_read_device+0x137d/0x1670 [ 69.609318][ T5299] ? bch2_bkey_pick_read_device+0x221/0x1670 [ 69.611628][ T5299] ? __pfx_bch2_bkey_pick_read_device+0x10/0x10 [ 69.613962][ T5299] ? bch2_btree_ptr_v2_to_text+0x209/0x2f0 [ 69.616177][ T5299] btree_node_read_work+0x68b/0x1260 [ 69.618114][ T5299] ? __pfx_btree_node_read_work+0x10/0x10 [ 69.620236][ T5299] ? __bch2_time_stats_update+0x280/0x370 [ 69.622488][ T5299] ? __pfx_bch2_latency_acct+0x10/0x10 [ 69.624463][ T5299] ? bio_associate_blkg+0x6c/0x230 [ 69.626299][ T5299] bch2_btree_node_read+0x2433/0x29f0 [ 69.628225][ T5299] ? __pfx_lock_release+0x10/0x10 [ 69.630186][ T5299] ? bch2_trans_unlock+0x346/0x470 [ 69.632180][ T5299] ? __pfx_bch2_btree_node_read+0x10/0x10 [ 69.634369][ T5299] ? __pfx___bch2_btree_node_hash_insert+0x10/0x10 [ 69.636747][ T5299] ? bch2_trans_unlock+0x3a6/0x470 [ 69.638688][ T5299] bch2_btree_root_read+0x617/0x7a0 [ 69.640732][ T5299] ? __pfx_bch2_btree_root_read+0x10/0x10 [ 69.642867][ T5299] ? bch2_current_has_btree_trans+0x142/0x180 [ 69.645169][ T5299] read_btree_roots+0x296/0x840 [ 69.646964][ T5299] bch2_fs_recovery+0x2585/0x39d0 [ 69.648796][ T5299] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 69.650835][ T5299] ? __pfx_lock_release+0x10/0x10 [ 69.652818][ T5299] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 69.654664][ T5299] ? __pfx_lock_release+0x10/0x10 [ 69.656364][ T5299] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 69.658205][ T5299] ? bch2_get_next_online_dev+0x4b9/0x4f0 [ 69.660155][ T5299] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 69.662063][ T5299] ? llist_reverse_order+0x72/0x90 [ 69.663830][ T5299] bch2_fs_start+0x356/0x5b0 [ 69.665564][ T5299] bch2_fs_get_tree+0xd68/0x1710 [ 69.667462][ T5299] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 69.669453][ T5299] ? generic_parse_monolithic+0x387/0x400 [ 69.671655][ T5299] ? apparmor_capable+0x13b/0x1b0 [ 69.673737][ T5299] vfs_get_tree+0x90/0x2b0 [ 69.675411][ T5299] do_new_mount+0x2be/0xb40 [ 69.677127][ T5299] ? __pfx_do_new_mount+0x10/0x10 [ 69.679023][ T5299] __se_sys_mount+0x2d6/0x3c0 [ 69.680912][ T5299] ? __pfx___se_sys_mount+0x10/0x10 [ 69.682947][ T5299] ? do_syscall_64+0x100/0x230 [ 69.684676][ T5299] ? __x64_sys_mount+0x20/0xc0 [ 69.686457][ T5299] do_syscall_64+0xf3/0x230 [ 69.688159][ T5299] ? clear_bhb_loop+0x35/0x90 [ 69.690000][ T5299] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 69.692271][ T5299] RIP: 0033:0x7f512a3e2b7a [ 69.693982][ T5299] 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.701105][ T5299] RSP: 002b:00007ffcb0167498 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 69.704192][ T5299] RAX: ffffffffffffffda RBX: 00007ffcb01674b0 RCX: 00007f512a3e2b7a [ 69.707219][ T5299] RDX: 0000000020000040 RSI: 0000000020000080 RDI: 00007ffcb01674b0 [ 69.710175][ T5299] RBP: 0000000000000010 R08: 00007ffcb01674f0 R09: 0000000000005998 [ 69.713199][ T5299] R10: 0000000000000010 R11: 0000000000000282 R12: 0000000000000004 [ 69.716022][ T5299] R13: 00007ffcb01674f0 R14: 0000000000000003 R15: 0000000001000000 [ 69.718978][ T5299] [ 69.720462][ T5299] Modules linked in: [ 69.722468][ T5299] ---[ end trace 0000000000000000 ]--- [ 69.728680][ T5299] RIP: 0010:bch2_stripe_validate+0x639/0x680 [ 69.735252][ T5299] 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.744044][ T5299] RSP: 0018:ffffc9000d08e9f8 EFLAGS: 00010293 [ 69.746596][ T5299] RAX: ffffffff84303718 RBX: 0000000000000008 RCX: ffff888000b82440 [ 69.750241][ T5299] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007 [ 69.753274][ T5299] RBP: 00000000ffffffff R08: ffffffff843032d9 R09: 1ffff110088e0035 [ 69.756306][ T5299] R10: dffffc0000000000 R11: ffffffff843030e0 R12: 0000000000000000 [ 69.759084][ T5299] R13: 0000000000000009 R14: ffff88804370c0b8 R15: ffffc9000d08ee40 [ 69.762670][ T5299] FS: 0000555584a6d380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 69.766086][ T5299] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 69.768568][ T5299] CR2: 000056434a3e5028 CR3: 0000000043728000 CR4: 0000000000352ef0 [ 69.772132][ T5299] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 69.774897][ T5299] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 69.777570][ T5299] Kernel panic - not syncing: Fatal exception [ 69.779890][ T5299] Kernel Offset: disabled [ 69.781437][ T5299] Rebooting in 86400 seconds.. VM DIAGNOSIS: 04:44:04 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000063 RBX=ffffffff9a6f17e0 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000d08e0b0 R8 =ffffffff855034db R9 =1ffff11003d68046 R10=dffffc0000000000 R11=ffffffff85503490 R12=dffffc0000000000 R13=ffffffff9a3ebf88 R14=0000000000000063 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 0000555584a6d380 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=00007ffdb8b83eb0 CR3=0000000043728000 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=0000000000000800 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 00007ffed049b2e0 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 3339646531653138 6520716573203a30 207265762030206e 656c2058414d5f00 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 3333646531653132 6520716573203030 2072657620302064 6566205241475500 ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 65203a2032332f30 2020656566622020 6564616e2020203a 302032343620205d ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 3020372020312030 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 3333383f5e2a5157 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