Warning: Permanently added '[localhost]:41523' (ED25519) to the list of known hosts. executing program [ 62.438436][ T5094] loop0: detected capacity change from 0 to 32768 [ 62.515917][ T5094] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=(invalid option 4),metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 62.524075][ T5094] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 62.527918][ T5094] bcachefs (loop0): Version upgrade required: [ 62.527918][ T5094] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 62.527918][ T5094] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 62.527918][ T5094] 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 [ 62.560819][ T5094] ------------[ cut here ]------------ [ 62.563027][ T5094] kernel BUG at fs/bcachefs/error.c:29! [ 62.564998][ T5094] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 62.568177][ T5094] CPU: 0 UID: 0 PID: 5094 Comm: syz-executor353 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 [ 62.571896][ T5094] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 62.575533][ T5094] RIP: 0010:bch2_inconsistent_error+0x14c/0x150 [ 62.577673][ T5094] Code: fb 02 75 20 e8 f5 53 67 fd 49 81 c7 cc 01 00 00 e8 09 0c d1 fd 48 c7 c7 20 74 53 8c 4c 89 fe e8 2a cb 95 07 e8 d5 53 67 fd 90 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f [ 62.583983][ T5094] RSP: 0018:ffffc9000b0965f8 EFLAGS: 00010293 [ 62.586269][ T5094] RAX: ffffffff842d840b RBX: 0000000000000004 RCX: ffff8880359c8000 [ 62.589178][ T5094] RDX: 0000000000000000 RSI: ffffffff8ef57290 RDI: 0000000000000004 [ 62.591961][ T5094] RBP: ffffc9000b0967a8 R08: 0000000000000001 R09: ffffffff842d8324 [ 62.594830][ T5094] R10: 0000000000000004 R11: ffff8880359c8000 R12: dffffc0000000000 [ 62.597634][ T5094] R13: ffffc9000b0966c0 R14: ffff888044c00000 R15: ffff888044c00000 [ 62.600555][ T5094] FS: 00005555742e5380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 62.603893][ T5094] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 62.606418][ T5094] CR2: 00007ffe064e9e68 CR3: 000000003df88000 CR4: 0000000000352ef0 [ 62.609475][ T5094] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 62.612577][ T5094] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 62.615554][ T5094] Call Trace: [ 62.616796][ T5094] [ 62.617911][ T5094] ? __die_body+0x5f/0xb0 [ 62.619511][ T5094] ? die+0x9e/0xc0 [ 62.620961][ T5094] ? do_trap+0x15a/0x3a0 [ 62.622606][ T5094] ? bch2_inconsistent_error+0x14c/0x150 [ 62.624703][ T5094] ? do_error_trap+0x1dc/0x2c0 [ 62.626560][ T5094] ? bch2_inconsistent_error+0x14c/0x150 [ 62.628723][ T5094] ? __pfx_do_error_trap+0x10/0x10 [ 62.630637][ T5094] ? handle_invalid_op+0x34/0x40 [ 62.632543][ T5094] ? bch2_inconsistent_error+0x14c/0x150 [ 62.634669][ T5094] ? exc_invalid_op+0x38/0x50 [ 62.636529][ T5094] ? asm_exc_invalid_op+0x1a/0x20 [ 62.638502][ T5094] ? bch2_inconsistent_error+0x64/0x150 [ 62.640603][ T5094] ? bch2_inconsistent_error+0x14b/0x150 [ 62.642747][ T5094] ? bch2_inconsistent_error+0x14c/0x150 [ 62.644838][ T5094] ? bch2_inconsistent_error+0x14b/0x150 [ 62.646872][ T5094] bch2_topology_error+0x83/0xc0 [ 62.648760][ T5094] __btree_err+0x610/0x760 [ 62.650492][ T5094] ? __pfx___btree_err+0x10/0x10 [ 62.652406][ T5094] ? vsnprintf+0x948/0x1da0 [ 62.654191][ T5094] ? vsnprintf+0x1ccd/0x1da0 [ 62.655960][ T5094] ? compat_btree_node+0x4f7/0xda0 [ 62.657922][ T5094] validate_bset+0x157b/0x2640 [ 62.659683][ T5094] ? __pfx_validate_bset+0x10/0x10 [ 62.661649][ T5094] ? bch2_bpos_to_text+0x295/0x3a0 [ 62.663558][ T5094] ? krealloc_noprof+0xec/0x120 [ 62.665422][ T5094] ? __pfx_bch2_bpos_to_text+0x10/0x10 [ 62.667432][ T5094] ? prt_str+0x4af/0x7d0 [ 62.669035][ T5094] ? bch2_btree_node_read_done+0x744/0x5e90 [ 62.671038][ T5094] bch2_btree_node_read_done+0x2108/0x5e90 [ 62.673193][ T5094] ? bch2_bkey_pick_read_device+0x221/0x1670 [ 62.675292][ T5094] ? __pfx_lock_release+0x10/0x10 [ 62.677033][ T5094] ? __pfx_bch2_btree_node_read_done+0x10/0x10 [ 62.679361][ T5094] ? bch2_bkey_pick_read_device+0x221/0x1670 [ 62.681441][ T5094] ? bch2_bkey_pick_read_device+0x137d/0x1670 [ 62.683440][ T5094] ? bch2_bkey_pick_read_device+0x221/0x1670 [ 62.685323][ T5094] ? __pfx_bch2_bkey_pick_read_device+0x10/0x10 [ 62.687650][ T5094] ? bch2_btree_ptr_v2_to_text+0x209/0x2f0 [ 62.689882][ T5094] ? __pfx_bch2_btree_ptr_v2_to_text+0x10/0x10 [ 62.692232][ T5094] btree_node_read_work+0x68b/0x1260 [ 62.694253][ T5094] ? __pfx_btree_node_read_work+0x10/0x10 [ 62.696333][ T5094] ? __bch2_time_stats_update+0x260/0x370 [ 62.698507][ T5094] ? __pfx_bch2_latency_acct+0x10/0x10 [ 62.700308][ T5094] ? bio_associate_blkg+0x6c/0x230 [ 62.701934][ T5094] bch2_btree_node_read+0x2433/0x2a10 [ 62.703531][ T5094] ? __pfx_lock_release+0x10/0x10 [ 62.705364][ T5094] ? bch2_trans_unlock+0x346/0x470 [ 62.707146][ T5094] ? __pfx_bch2_btree_node_read+0x10/0x10 [ 62.709271][ T5094] ? __pfx___bch2_btree_node_hash_insert+0x10/0x10 [ 62.711621][ T5094] ? bch2_trans_unlock+0x3a6/0x470 [ 62.713407][ T5094] bch2_btree_root_read+0x617/0x7a0 [ 62.715290][ T5094] ? __pfx_bch2_btree_root_read+0x10/0x10 [ 62.717320][ T5094] ? bch2_current_has_btree_trans+0x142/0x180 [ 62.719640][ T5094] read_btree_roots+0x296/0x840 [ 62.721476][ T5094] bch2_fs_recovery+0x2585/0x39c0 [ 62.723419][ T5094] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 62.725338][ T5094] ? __pfx_lock_release+0x10/0x10 [ 62.727127][ T5094] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 62.729176][ T5094] ? __pfx_lock_release+0x10/0x10 [ 62.731109][ T5094] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 62.733194][ T5094] ? bch2_get_next_online_dev+0x4b9/0x4f0 [ 62.735273][ T5094] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 62.737405][ T5094] ? llist_reverse_order+0x72/0x90 [ 62.739378][ T5094] bch2_fs_start+0x356/0x5b0 [ 62.741122][ T5094] bch2_fs_get_tree+0xd68/0x1710 [ 62.742864][ T5094] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 62.744949][ T5094] ? generic_parse_monolithic+0x387/0x400 [ 62.746932][ T5094] ? __pfx_vfs_parse_fs_string+0x10/0x10 [ 62.749062][ T5094] ? apparmor_capable+0x13b/0x1b0 [ 62.751067][ T5094] vfs_get_tree+0x90/0x2b0 [ 62.752878][ T5094] do_new_mount+0x2be/0xb40 [ 62.754615][ T5094] ? __pfx_do_new_mount+0x10/0x10 [ 62.756509][ T5094] __se_sys_mount+0x2d6/0x3c0 [ 62.758307][ T5094] ? __pfx___se_sys_mount+0x10/0x10 [ 62.760283][ T5094] ? do_syscall_64+0x100/0x230 [ 62.762037][ T5094] ? __x64_sys_mount+0x20/0xc0 [ 62.763782][ T5094] do_syscall_64+0xf3/0x230 [ 62.765466][ T5094] ? clear_bhb_loop+0x35/0x90 [ 62.767176][ T5094] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 62.769331][ T5094] RIP: 0033:0x7f1aa39038fa [ 62.771023][ T5094] 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 [ 62.777689][ T5094] RSP: 002b:00007ffddefb1b08 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 62.780252][ T5094] RAX: ffffffffffffffda RBX: 00007ffddefb1b20 RCX: 00007f1aa39038fa [ 62.782812][ T5094] RDX: 0000000020000300 RSI: 0000000020005900 RDI: 00007ffddefb1b20 [ 62.785588][ T5094] RBP: 0000000000000004 R08: 00007ffddefb1b60 R09: 00000000000058c4 [ 62.788500][ T5094] R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000 [ 62.791466][ T5094] R13: 00007ffddefb1b60 R14: 0000000000000003 R15: 0000000001000000 [ 62.794106][ T5094] [ 62.795016][ T5094] Modules linked in: [ 62.796410][ T5094] ---[ end trace 0000000000000000 ]--- [ 62.806228][ T5094] RIP: 0010:bch2_inconsistent_error+0x14c/0x150 [ 62.808751][ T5094] Code: fb 02 75 20 e8 f5 53 67 fd 49 81 c7 cc 01 00 00 e8 09 0c d1 fd 48 c7 c7 20 74 53 8c 4c 89 fe e8 2a cb 95 07 e8 d5 53 67 fd 90 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f [ 62.814655][ T5094] RSP: 0018:ffffc9000b0965f8 EFLAGS: 00010293 [ 62.817445][ T5094] RAX: ffffffff842d840b RBX: 0000000000000004 RCX: ffff8880359c8000 [ 62.820147][ T5094] RDX: 0000000000000000 RSI: ffffffff8ef57290 RDI: 0000000000000004 [ 62.822753][ T5094] RBP: ffffc9000b0967a8 R08: 0000000000000001 R09: ffffffff842d8324 [ 62.825292][ T5094] R10: 0000000000000004 R11: ffff8880359c8000 R12: dffffc0000000000 [ 62.828086][ T5094] R13: ffffc9000b0966c0 R14: ffff888044c00000 R15: ffff888044c00000 [ 62.831317][ T5094] FS: 00005555742e5380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 62.834577][ T5094] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 62.837505][ T5094] CR2: 00007ffe064e9e68 CR3: 000000003df88000 CR4: 0000000000352ef0 [ 62.840421][ T5094] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 62.843358][ T5094] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 62.846193][ T5094] Kernel panic - not syncing: Fatal exception [ 62.848678][ T5094] Kernel Offset: disabled [ 62.850179][ T5094] Rebooting in 86400 seconds.. VM DIAGNOSIS: 04:40:19 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000041 RBX=ffffffff9a715e80 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000b095cb0 R8 =ffffffff854a635b R9 =1ffff11006766046 R10=dffffc0000000000 R11=ffffffff854a6310 R12=dffffc0000000000 R13=ffffffff9a410f25 R14=0000000000000041 R15=00000000000003f8 RIP=ffffffff854a638e 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 00005555742e5380 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=00007ffe064e9e68 CR3=000000003df88000 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=0000000000600000 Opmask02=00000000ffffffff 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 00007ffdae306710 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 2f617461646f7228 206567616d69206c 656e72656b206465 73756e7520676e00 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2561746164657222 2065676167632066 6564726561206465 7375647520676400 ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2029706167202067 610000616361616c 612820655f616465 206c5f6e665f6b20 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2029556163202063 2600006163612c65 6128206355616465 2062556e55556320 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 636e5561696f6269 266f787f7e697f78 7e79556f677f6665 7c687f795561696f ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 6e6f797f647f2a6d 640a006f69646b66 6b686f7855796e6f 6f6455796c557e6f 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