Warning: Permanently added '[localhost]:64548' (ED25519) to the list of known hosts. executing program [ 62.692599][ T5096] loop0: detected capacity change from 0 to 32768 [ 62.765382][ T5096] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 62.775616][ T5096] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 62.781012][ T5096] bcachefs (loop0): Version upgrade required: [ 62.781012][ T5096] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 62.781012][ T5096] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 62.781012][ T5096] 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.811815][ T5096] bcachefs (loop0): dropping and reconstructing all alloc info [ 62.819178][ T5096] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 62.819198][ T5096] invalid variable length fields: delete?, fixing [ 62.828577][ T5096] bcachefs (loop0): check_topology... done [ 62.830699][ T5096] bcachefs (loop0): accounting_read... done [ 62.833860][ T5096] bcachefs (loop0): alloc_read... done [ 62.836035][ T5096] bcachefs (loop0): stripes_read... done [ 62.838910][ T5096] bcachefs (loop0): snapshots_read... done [ 62.841472][ T5096] bcachefs (loop0): check_allocations... [ 62.843835][ T5096] ------------[ cut here ]------------ [ 62.848916][ T5096] kernel BUG at fs/bcachefs/bkey.c:130! [ 62.851532][ T5096] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 62.855500][ T5096] CPU: 0 UID: 0 PID: 5096 Comm: syz-executor440 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 [ 62.859729][ T5096] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 62.863891][ T5096] RIP: 0010:bch2_bkey_pack_pos_lossy+0x1956/0x1990 [ 62.866446][ T5096] Code: fd 90 0f 0b e8 5b b8 83 fd 90 0f 0b e8 53 b8 83 fd 90 0f 0b e8 4b b8 83 fd 90 0f 0b e8 43 b8 83 fd 90 0f 0b e8 3b b8 83 fd 90 <0f> 0b e8 33 47 b5 07 e8 2e b8 83 fd 90 0f 0b e8 26 b8 83 fd 90 0f [ 62.873862][ T5096] RSP: 0018:ffffc90002c3dd20 EFLAGS: 00010293 [ 62.876144][ T5096] RAX: ffffffff84111fa5 RBX: ffffc90802c3e0b8 RCX: ffff88801fa9a440 [ 62.879168][ T5096] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 62.881901][ T5096] RBP: ffffc90002c3df58 R08: ffffffff84110ea6 R09: 0000000000000000 [ 62.884784][ T5096] R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 [ 62.887751][ T5096] R13: ffff8880408320c0 R14: 0000000000000000 R15: ffffc90002c3e0c0 [ 62.890782][ T5096] FS: 0000555561411380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 62.893989][ T5096] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 62.896425][ T5096] CR2: 000055cccf015d88 CR3: 0000000040a32000 CR4: 0000000000352ef0 [ 62.899536][ T5096] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 62.902389][ T5096] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 62.905052][ T5096] Call Trace: [ 62.906269][ T5096] [ 62.907353][ T5096] ? __die_body+0x5f/0xb0 [ 62.908888][ T5096] ? die+0x9e/0xc0 [ 62.910227][ T5096] ? do_trap+0x15a/0x3a0 [ 62.911739][ T5096] ? bch2_bkey_pack_pos_lossy+0x1956/0x1990 [ 62.913774][ T5096] ? do_error_trap+0x1dc/0x2c0 [ 62.915410][ T5096] ? bch2_bkey_pack_pos_lossy+0x1956/0x1990 [ 62.917614][ T5096] ? __pfx_do_error_trap+0x10/0x10 [ 62.919491][ T5096] ? report_bug+0x3e8/0x500 [ 62.921225][ T5096] ? handle_invalid_op+0x34/0x40 [ 62.923125][ T5096] ? bch2_bkey_pack_pos_lossy+0x1956/0x1990 [ 62.925378][ T5096] ? exc_invalid_op+0x38/0x50 [ 62.927149][ T5096] ? asm_exc_invalid_op+0x1a/0x20 [ 62.928988][ T5096] ? bch2_bkey_pack_pos_lossy+0x856/0x1990 [ 62.930970][ T5096] ? bch2_bkey_pack_pos_lossy+0x1955/0x1990 [ 62.932925][ T5096] ? bch2_bkey_pack_pos_lossy+0x1956/0x1990 [ 62.935050][ T5096] ? __pfx_bch2_bkey_pack_pos_lossy+0x10/0x10 [ 62.937358][ T5096] ? __lock_acquire+0x1384/0x2050 [ 62.939331][ T5096] ? rcuwait_wake_up+0x1c/0x230 [ 62.941182][ T5096] ? bch2_btree_node_iter_init+0x841/0x4280 [ 62.943391][ T5096] bch2_btree_node_iter_init+0x894/0x4280 [ 62.945233][ T5096] ? bch2_printbuf_exit+0x6d/0xa0 [ 62.946879][ T5096] ? __pfx_bch2_btree_node_iter_init+0x10/0x10 [ 62.948894][ T5096] ? __pfx_check_noncircular+0x10/0x10 [ 62.950909][ T5096] ? __pfx___do_six_trylock+0x10/0x10 [ 62.952792][ T5096] ? __btree_path_up_until_good_node+0xafb/0xb40 [ 62.955115][ T5096] bch2_btree_path_level_init+0x4d2/0x9f0 [ 62.957049][ T5096] ? bch2_btree_path_traverse_one+0xa4b/0x2940 [ 62.959150][ T5096] bch2_btree_path_traverse_one+0x10de/0x2940 [ 62.961357][ T5096] ? __pfx_validate_chain+0x10/0x10 [ 62.963378][ T5096] ? bch2_check_allocations+0x1a8b/0x6e80 [ 62.965361][ T5096] ? __pfx_bch2_btree_path_traverse_one+0x10/0x10 [ 62.967640][ T5096] ? __pfx_bch2_btree_path_verify_level+0x10/0x10 [ 62.970039][ T5096] ? mark_lock+0x9a/0x360 [ 62.971607][ T5096] ? __lock_acquire+0x1384/0x2050 [ 62.973450][ T5096] ? bch2_btree_path_verify+0x1fd/0x300 [ 62.975414][ T5096] bch2_btree_iter_peek_upto+0xb58/0x70e0 [ 62.977598][ T5096] ? __pfx_lock_acquire+0x10/0x10 [ 62.979489][ T5096] ? __pfx___might_resched+0x10/0x10 [ 62.981421][ T5096] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 62.983558][ T5096] ? __pfx_bch2_btree_iter_peek_upto+0x10/0x10 [ 62.985692][ T5096] ? bch2_trans_begin+0x9c5/0x1c00 [ 62.987564][ T5096] ? bch2_trans_begin+0x16c1/0x1c00 [ 62.989605][ T5096] ? bch2_check_allocations+0x1a20/0x6e80 [ 62.991786][ T5096] ? __pfx___might_resched+0x10/0x10 [ 62.993789][ T5096] ? __bch2_path_free+0x6ef/0x820 [ 62.995637][ T5096] ? __asan_memset+0x23/0x50 [ 62.997533][ T5096] bch2_check_allocations+0x1a8b/0x6e80 [ 62.999499][ T5096] ? prb_first_seq+0x131/0x210 [ 63.001053][ T5096] ? this_cpu_in_panic+0x4f/0x80 [ 63.002819][ T5096] ? bch2_check_allocations+0x792/0x6e80 [ 63.005062][ T5096] ? __pfx_validate_chain+0x10/0x10 [ 63.007010][ T5096] ? __pfx_validate_chain+0x10/0x10 [ 63.009055][ T5096] ? do_raw_spin_lock+0x14f/0x370 [ 63.011034][ T5096] ? __pfx_bch2_check_allocations+0x10/0x10 [ 63.013338][ T5096] ? prb_read_valid+0xa9/0xf0 [ 63.015181][ T5096] ? __pfx_prb_read_valid+0x10/0x10 [ 63.017167][ T5096] ? desc_read+0x200/0x3f0 [ 63.018899][ T5096] ? desc_read+0x1a2/0x3f0 [ 63.020652][ T5096] ? prb_first_seq+0x131/0x210 [ 63.022507][ T5096] ? __pfx_prb_first_seq+0x10/0x10 [ 63.024573][ T5096] ? this_cpu_in_panic+0x4f/0x80 [ 63.026530][ T5096] ? _prb_read_valid+0xa39/0xac0 [ 63.028519][ T5096] ? bch2_check_allocations+0x1a14/0x6e80 [ 63.030743][ T5096] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 63.033077][ T5096] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 63.035546][ T5096] ? __console_unlock+0x12d/0x1f0 [ 63.037511][ T5096] ? bch2_check_allocations+0x20dd/0x6e80 [ 63.039737][ T5096] ? this_cpu_in_panic+0x4f/0x80 [ 63.041645][ T5096] ? __wake_up_klogd+0xd5/0x110 [ 63.043661][ T5096] ? __pfx_lock_release+0x10/0x10 [ 63.045602][ T5096] ? rcu_is_watching+0x15/0xb0 [ 63.047529][ T5096] ? bch2_check_allocations+0x792/0x6e80 [ 63.049757][ T5096] ? __bch2_print+0x17a/0x220 [ 63.051659][ T5096] ? local_clock+0x10/0x30 [ 63.053438][ T5096] ? __pfx___bch2_print+0x10/0x10 [ 63.055449][ T5096] bch2_run_recovery_pass+0xf0/0x1e0 [ 63.057176][ T5096] bch2_run_recovery_passes+0x387/0x870 [ 63.058920][ T5096] bch2_fs_recovery+0x25cc/0x39c0 [ 63.060948][ T5096] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 63.062960][ T5096] ? __pfx_lock_release+0x10/0x10 [ 63.064906][ T5096] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 63.067126][ T5096] ? __pfx_lock_release+0x10/0x10 [ 63.069079][ T5096] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 63.071219][ T5096] ? bch2_get_next_online_dev+0x4b9/0x4f0 [ 63.073422][ T5096] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 63.075309][ T5096] ? llist_reverse_order+0x72/0x90 [ 63.077224][ T5096] bch2_fs_start+0x356/0x5b0 [ 63.078956][ T5096] bch2_fs_get_tree+0xd68/0x1710 [ 63.080916][ T5096] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 63.082927][ T5096] ? generic_parse_monolithic+0x387/0x400 [ 63.084898][ T5096] ? apparmor_capable+0x13b/0x1b0 [ 63.086825][ T5096] vfs_get_tree+0x90/0x2b0 [ 63.088559][ T5096] do_new_mount+0x2be/0xb40 [ 63.090321][ T5096] ? __pfx_do_new_mount+0x10/0x10 [ 63.092338][ T5096] __se_sys_mount+0x2d6/0x3c0 [ 63.094191][ T5096] ? __pfx___se_sys_mount+0x10/0x10 [ 63.096140][ T5096] ? do_syscall_64+0x100/0x230 [ 63.097864][ T5096] ? __x64_sys_mount+0x20/0xc0 [ 63.099470][ T5096] do_syscall_64+0xf3/0x230 [ 63.100952][ T5096] ? clear_bhb_loop+0x35/0x90 [ 63.102626][ T5096] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 63.104470][ T5096] RIP: 0033:0x7f354cc85c3a [ 63.105992][ T5096] 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 [ 63.112170][ T5096] RSP: 002b:00007fff33d28828 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 63.115395][ T5096] RAX: ffffffffffffffda RBX: 00007fff33d28840 RCX: 00007f354cc85c3a [ 63.118458][ T5096] RDX: 00000000200058c0 RSI: 0000000020005900 RDI: 00007fff33d28840 [ 63.121273][ T5096] RBP: 0000000000000004 R08: 00007fff33d28880 R09: 0000000000005932 [ 63.124103][ T5096] R10: 0000000000010000 R11: 0000000000000282 R12: 0000000000010000 [ 63.127053][ T5096] R13: 00007fff33d28880 R14: 0000000000000003 R15: 0000000001000000 [ 63.129773][ T5096] [ 63.130883][ T5096] Modules linked in: [ 63.132507][ T5096] ---[ end trace 0000000000000000 ]--- [ 63.136237][ T5096] RIP: 0010:bch2_bkey_pack_pos_lossy+0x1956/0x1990 [ 63.143727][ T5096] Code: fd 90 0f 0b e8 5b b8 83 fd 90 0f 0b e8 53 b8 83 fd 90 0f 0b e8 4b b8 83 fd 90 0f 0b e8 43 b8 83 fd 90 0f 0b e8 3b b8 83 fd 90 <0f> 0b e8 33 47 b5 07 e8 2e b8 83 fd 90 0f 0b e8 26 b8 83 fd 90 0f [ 63.151866][ T5096] RSP: 0018:ffffc90002c3dd20 EFLAGS: 00010293 [ 63.154312][ T5096] RAX: ffffffff84111fa5 RBX: ffffc90802c3e0b8 RCX: ffff88801fa9a440 [ 63.157535][ T5096] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 63.161229][ T5096] RBP: ffffc90002c3df58 R08: ffffffff84110ea6 R09: 0000000000000000 [ 63.164045][ T5096] R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 [ 63.167136][ T5096] R13: ffff8880408320c0 R14: 0000000000000000 R15: ffffc90002c3e0c0 [ 63.170305][ T5096] FS: 0000555561411380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 63.173691][ T5096] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 63.176262][ T5096] CR2: 000055cccf015d88 CR3: 0000000040a32000 CR4: 0000000000352ef0 [ 63.179621][ T5096] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 63.182515][ T5096] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 63.185258][ T5096] Kernel panic - not syncing: Fatal exception [ 63.187697][ T5096] Kernel Offset: disabled [ 63.189187][ T5096] Rebooting in 86400 seconds.. VM DIAGNOSIS: 01:12:03 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000023 RBX=ffffffff9a715e80 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc90002c3d3d0 R8 =ffffffff854a635b R9 =1ffff11003d48046 R10=dffffc0000000000 R11=ffffffff854a6310 R12=dffffc0000000000 R13=ffffffff9a410f14 R14=0000000000000023 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 0000555561411380 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=000055cccf015d88 CR3=0000000040a32000 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=0000000000000019 Opmask01=00000000000000c8 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 00007ffda6e96b50 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 5f646c6968635f73 61685f65646f6e69 203a33312e31206f 7420730000656e00 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 5564666362635573 6162556564656463 2030333124312065 7420730000656400 ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 282020205b3e3620 0000003936363220 3a62656f5f656420 296d5f6d665f6e65 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 222020205b3e3620 0000003936362c20 3a62556355656420 2962556d55556365 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 636e5561696f6269 266f787f7e697f78 7e79556f677f6665 7c687f795561696f ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 222a6f6d6b67632a 660a006f69646b66 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