Warning: Permanently added '[localhost]:51522' (ED25519) to the list of known hosts. executing program [ 66.523519][ T5298] loop0: detected capacity change from 0 to 32768 [ 66.569205][ T5298] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 66.574948][ T5298] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 66.578560][ T5298] bcachefs (loop0): Version upgrade required: [ 66.578560][ T5298] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 66.578560][ T5298] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 66.578560][ T5298] 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 [ 66.604755][ T5298] bcachefs (loop0): error validating btree node at btree extents level 0/0 [ 66.604767][ T5298] 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 [ 66.604775][ T5298] 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 [ 66.621041][ T5298] bcachefs (loop0): btree_node_read_work: rewriting btree node at btree=extents level=0 SPOS_MAX due to error [ 66.626177][ T5298] bcachefs (loop0): error validating btree node on loop0 at btree dirents level 0/0 [ 66.626192][ T5298] 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 [ 66.626199][ T5298] node offset 16/24: btree node data missing: expected 24 sectors, found 16, fixing [ 66.638638][ T5298] bcachefs (loop0): btree_node_read_work: rewriting btree node at btree=dirents level=0 SPOS_MAX due to error [ 66.643286][ T5298] bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 66.643297][ T5298] 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 [ 66.643304][ T5298] 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 [ 66.657738][ T5298] bcachefs (loop0): btree_node_read_work: rewriting btree node at btree=alloc level=0 SPOS_MAX due to error [ 66.662937][ T5298] bcachefs (loop0): error validating btree node on loop0 at btree freespace level 0/0 [ 66.662947][ T5298] 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 [ 66.662954][ T5298] node offset 0/32 bset u64s 0: invalid bkey format: incorrect key_u64s: got 3, should be 1 [ 66.662960][ T5298] u64s 3 fields 2:0, 0:0, 0:0, 0:0, 0:0, 0:0 [ 66.679947][ T5298] bcachefs (loop0): flagging btree freespace lost data [ 66.683439][ T5298] error reading btree root freespace l=0: btree_node_read_error, fixing [ 66.687233][ T5298] ------------[ cut here ]------------ [ 66.689479][ T5298] kernel BUG at fs/bcachefs/ec.h:35! [ 66.692403][ T5298] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 66.697050][ T5298] CPU: 0 UID: 0 PID: 5298 Comm: syz-executor406 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 [ 66.701023][ T5298] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 66.704971][ T5298] RIP: 0010:bch2_stripe_validate+0x639/0x680 [ 66.707323][ T5298] 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 [ 66.714481][ T5298] RSP: 0018:ffffc9000d1169f8 EFLAGS: 00010293 [ 66.716699][ T5298] RAX: ffffffff84303718 RBX: 0000000000000008 RCX: ffff888000920000 [ 66.719548][ T5298] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007 [ 66.722357][ T5298] RBP: 00000000ffffffff R08: ffffffff843032d9 R09: 1ffff11009400035 [ 66.725125][ T5298] R10: dffffc0000000000 R11: ffffffff843030e0 R12: 0000000000000000 [ 66.728023][ T5298] R13: 0000000000000009 R14: ffff88804a13c0b8 R15: ffffc9000d116e40 [ 66.730855][ T5298] FS: 000055556cdbe380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 66.734026][ T5298] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 66.736299][ T5298] CR2: 000055a17fd85068 CR3: 0000000040c3c000 CR4: 0000000000352ef0 [ 66.739178][ T5298] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 66.742099][ T5298] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 66.744897][ T5298] Call Trace: [ 66.746306][ T5298] [ 66.747410][ T5298] ? __die_body+0x5f/0xb0 [ 66.748897][ T5298] ? die+0x9e/0xc0 [ 66.750136][ T5298] ? do_trap+0x15a/0x3a0 [ 66.751666][ T5298] ? bch2_stripe_validate+0x639/0x680 [ 66.753535][ T5298] ? do_error_trap+0x1dc/0x2c0 [ 66.755261][ T5298] ? bch2_stripe_validate+0x639/0x680 [ 66.757088][ T5298] ? __pfx_do_error_trap+0x10/0x10 [ 66.759088][ T5298] ? handle_invalid_op+0x34/0x40 [ 66.760788][ T5298] ? bch2_stripe_validate+0x639/0x680 [ 66.762695][ T5298] ? exc_invalid_op+0x38/0x50 [ 66.764378][ T5298] ? asm_exc_invalid_op+0x1a/0x20 [ 66.766249][ T5298] ? __pfx_bch2_stripe_validate+0x10/0x10 [ 66.768477][ T5298] ? bch2_stripe_validate+0x1f9/0x680 [ 66.770415][ T5298] ? bch2_stripe_validate+0x638/0x680 [ 66.772312][ T5298] ? bch2_stripe_validate+0x639/0x680 [ 66.774241][ T5298] ? bch2_stripe_validate+0x638/0x680 [ 66.776021][ T5298] bch2_btree_node_read_done+0x3e7e/0x5e90 [ 66.777991][ T5298] ? __pfx_bch2_btree_node_read_done+0x10/0x10 [ 66.780220][ T5298] ? bch2_bkey_pick_read_device+0x3d1/0x1670 [ 66.782297][ T5298] ? bch2_bkey_pick_read_device+0x137d/0x1670 [ 66.784542][ T5298] ? bch2_bkey_pick_read_device+0x221/0x1670 [ 66.786679][ T5298] ? __pfx_bch2_bkey_pick_read_device+0x10/0x10 [ 66.788863][ T5298] ? bch2_btree_ptr_v2_to_text+0x209/0x2f0 [ 66.790936][ T5298] ? rcu_is_watching+0x15/0xb0 [ 66.792571][ T5298] btree_node_read_work+0x68b/0x1260 [ 66.794431][ T5298] ? __pfx_btree_node_read_work+0x10/0x10 [ 66.796389][ T5298] ? __bch2_time_stats_update+0x280/0x370 [ 66.798518][ T5298] ? __pfx_bch2_latency_acct+0x10/0x10 [ 66.800513][ T5298] ? bio_associate_blkg+0x6c/0x230 [ 66.802348][ T5298] bch2_btree_node_read+0x2433/0x29f0 [ 66.804162][ T5298] ? __pfx_lock_release+0x10/0x10 [ 66.805974][ T5298] ? __mutex_unlock_slowpath+0x21e/0x790 [ 66.808039][ T5298] ? __pfx_bch2_btree_node_read+0x10/0x10 [ 66.810148][ T5298] ? __pfx___bch2_btree_node_hash_insert+0x10/0x10 [ 66.812280][ T5298] ? bch2_trans_unlock+0x3a6/0x470 [ 66.814198][ T5298] bch2_btree_root_read+0x617/0x7a0 [ 66.816026][ T5298] ? __pfx_bch2_btree_root_read+0x10/0x10 [ 66.818185][ T5298] ? bch2_current_has_btree_trans+0x142/0x180 [ 66.820560][ T5298] read_btree_roots+0x296/0x840 [ 66.822480][ T5298] bch2_fs_recovery+0x2585/0x39d0 [ 66.824268][ T5298] ? vfs_get_tree+0x90/0x2b0 [ 66.825848][ T5298] ? do_new_mount+0x2be/0xb40 [ 66.827496][ T5298] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 66.829310][ T5298] ? percpu_ref_put+0x1f/0x250 [ 66.830939][ T5298] ? percpu_ref_put+0x1f/0x250 [ 66.832762][ T5298] ? rcu_is_watching+0x15/0xb0 [ 66.834510][ T5298] ? percpu_ref_put+0x1f/0x250 [ 66.836321][ T5298] ? rcu_is_watching+0x15/0xb0 [ 66.838049][ T5298] ? lock_release+0xbf/0xa30 [ 66.839585][ T5298] ? __pfx_lock_release+0x10/0x10 [ 66.841406][ T5298] ? lock_release+0xbf/0xa30 [ 66.843054][ T5298] ? __pfx_lock_release+0x10/0x10 [ 66.844865][ T5298] ? percpu_ref_put+0x18b/0x250 [ 66.846616][ T5298] ? __pfx_lock_release+0x10/0x10 [ 66.848471][ T5298] ? percpu_ref_put+0x18b/0x250 [ 66.850208][ T5298] ? bch2_get_next_online_dev+0x90/0x4f0 [ 66.852141][ T5298] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 66.854078][ T5298] ? bch2_get_next_online_dev+0x4b9/0x4f0 [ 66.856145][ T5298] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 66.858271][ T5298] ? llist_reverse_order+0x72/0x90 [ 66.860195][ T5298] bch2_fs_start+0x356/0x5b0 [ 66.861815][ T5298] bch2_fs_get_tree+0xd68/0x1710 [ 66.863601][ T5298] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 66.865554][ T5298] ? generic_parse_monolithic+0x387/0x400 [ 66.867612][ T5298] ? apparmor_capable+0x13b/0x1b0 [ 66.869421][ T5298] vfs_get_tree+0x90/0x2b0 [ 66.871021][ T5298] do_new_mount+0x2be/0xb40 [ 66.872614][ T5298] ? __pfx_do_new_mount+0x10/0x10 [ 66.874357][ T5298] __se_sys_mount+0x2d6/0x3c0 [ 66.875995][ T5298] ? __pfx___se_sys_mount+0x10/0x10 [ 66.877777][ T5298] ? rcu_is_watching+0x15/0xb0 [ 66.879437][ T5298] ? rcu_is_watching+0x15/0xb0 [ 66.881060][ T5298] ? __x64_sys_mount+0x20/0xc0 [ 66.882715][ T5298] do_syscall_64+0xf3/0x230 [ 66.884295][ T5298] ? clear_bhb_loop+0x35/0x90 [ 66.886040][ T5298] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 66.888216][ T5298] RIP: 0033:0x7f9cc1409b7a [ 66.889790][ T5298] 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 [ 66.896522][ T5298] RSP: 002b:00007ffe633b6498 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 66.899716][ T5298] RAX: ffffffffffffffda RBX: 00007ffe633b64b0 RCX: 00007f9cc1409b7a [ 66.902673][ T5298] RDX: 0000000020000040 RSI: 0000000020000080 RDI: 00007ffe633b64b0 [ 66.905631][ T5298] RBP: 0000000000000010 R08: 00007ffe633b64f0 R09: 0000000000005998 [ 66.908589][ T5298] R10: 0000000000000010 R11: 0000000000000282 R12: 0000000000000004 [ 66.911468][ T5298] R13: 00007ffe633b64f0 R14: 0000000000000003 R15: 0000000001000000 [ 66.914353][ T5298] [ 66.915459][ T5298] Modules linked in: [ 66.916872][ T5298] ---[ end trace 0000000000000000 ]--- [ 66.924524][ T5298] RIP: 0010:bch2_stripe_validate+0x639/0x680 [ 66.926731][ T5298] 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 [ 66.934333][ T5298] RSP: 0018:ffffc9000d1169f8 EFLAGS: 00010293 [ 66.936607][ T5298] RAX: ffffffff84303718 RBX: 0000000000000008 RCX: ffff888000920000 [ 66.939750][ T5298] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007 [ 66.942699][ T5298] RBP: 00000000ffffffff R08: ffffffff843032d9 R09: 1ffff11009400035 [ 66.945579][ T5298] R10: dffffc0000000000 R11: ffffffff843030e0 R12: 0000000000000000 [ 66.948856][ T5298] R13: 0000000000000009 R14: ffff88804a13c0b8 R15: ffffc9000d116e40 [ 66.951712][ T5298] FS: 000055556cdbe380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 66.954807][ T5298] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 66.956885][ T5298] CR2: 000055a17fd85068 CR3: 0000000040c3c000 CR4: 0000000000352ef0 [ 66.960074][ T5298] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 66.962686][ T5298] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 66.965359][ T5298] Kernel panic - not syncing: Fatal exception [ 66.967657][ T5298] Kernel Offset: disabled [ 66.969188][ T5298] Rebooting in 86400 seconds.. VM DIAGNOSIS: 05:08:09 Registers: info registers vcpu 0 CPU#0 RAX=000000000000006e RBX=ffffffff9a6f17e0 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000d1160b0 R8 =ffffffff855034db R9 =1ffff11003d7e046 R10=dffffc0000000000 R11=ffffffff85503490 R12=dffffc0000000000 R13=ffffffff9a3ebf7f R14=000000000000006e 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 000055556cdbe380 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=000055a17fd85068 CR3=0000000040c3c000 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 00007ffef1c71140 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 3020392020312030 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 3233383f5e2a5157 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