Warning: Permanently added '[localhost]:50045' (ED25519) to the list of known hosts. executing program [ 63.177380][ T5096] loop0: detected capacity change from 0 to 32768 [ 63.249995][ T5096] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 63.256653][ T5096] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 63.260196][ T5096] bcachefs (loop0): Version upgrade required: [ 63.260196][ T5096] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 63.260196][ T5096] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 63.260196][ 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 [ 63.297933][ T5096] bcachefs (loop0): accounting_read... done [ 63.300949][ T5096] bcachefs (loop0): alloc_read... done [ 63.303881][ T5096] bcachefs (loop0): stripes_read... done [ 63.306112][ T5096] bcachefs (loop0): snapshots_read... done [ 63.308708][ T5096] bcachefs (loop0): check_allocations... done [ 63.324272][ T5096] bcachefs (loop0): going read-write [ 63.328165][ T5096] bcachefs (loop0): journal_replay... done [ 63.513616][ T5096] bcachefs (loop0): check_alloc_info... done [ 63.519510][ T5096] bcachefs (loop0): check_lrus... done [ 63.522615][ T5096] bcachefs (loop0): check_btree_backpointers... done [ 63.525679][ T5096] bcachefs (loop0): check_backpointers_to_extents... [ 63.526197][ T5096] ------------[ cut here ]------------ [ 63.530956][ T5096] kernel BUG at fs/bcachefs/bkey_types.h:210! [ 63.533794][ T5096] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 63.537153][ T5096] CPU: 0 UID: 0 PID: 5096 Comm: syz-executor217 Not tainted 6.12.0-rc3-syzkaller-00420-g715ca9dd687f #0 [ 63.541272][ T5096] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 63.545097][ T5096] RIP: 0010:bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.547855][ T5096] Code: 48 8b 4c 24 38 80 e1 07 38 c1 0f 8c b7 dd ff ff be 18 00 00 00 48 8b 7c 24 38 e8 11 7e ee fd e9 a3 dd ff ff e8 27 b8 84 fd 90 <0f> 0b e8 1f b8 84 fd 90 0f 0b e8 f7 56 b6 07 e8 12 b8 84 fd 90 0f [ 63.554751][ T5096] RSP: 0018:ffffc9000aec6d80 EFLAGS: 00010293 [ 63.556986][ T5096] RAX: ffffffff84102fd9 RBX: ffff8880488601d0 RCX: ffff888000f30000 [ 63.559939][ T5096] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 000000000000001c [ 63.562807][ T5096] RBP: ffffc9000aec7488 R08: ffffffff84101b4e R09: 0000000000000000 [ 63.565793][ T5096] R10: ffffc9000aec6780 R11: fffff520015d8cfd R12: 0000000000000003 [ 63.568786][ T5096] R13: ffffc9000aec7280 R14: dffffc0000000000 R15: ffff888040748000 [ 63.571736][ T5096] FS: 0000555578aff380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 63.574977][ T5096] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 63.577443][ T5096] CR2: 00007fff53c7bff8 CR3: 000000003f80a000 CR4: 0000000000352ef0 [ 63.580541][ T5096] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 63.583602][ T5096] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 63.586618][ T5096] Call Trace: [ 63.587817][ T5096] [ 63.588956][ T5096] ? __die_body+0x5f/0xb0 [ 63.590658][ T5096] ? die+0x9e/0xc0 [ 63.592161][ T5096] ? do_trap+0x15a/0x3a0 [ 63.593832][ T5096] ? bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.596503][ T5096] ? do_error_trap+0x1dc/0x2c0 [ 63.598209][ T5096] ? bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.600783][ T5096] ? __pfx_do_error_trap+0x10/0x10 [ 63.602722][ T5096] ? report_bug+0x3e8/0x500 [ 63.604499][ T5096] ? handle_invalid_op+0x34/0x40 [ 63.606440][ T5096] ? bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.609019][ T5096] ? exc_invalid_op+0x38/0x50 [ 63.610840][ T5096] ? asm_exc_invalid_op+0x1a/0x20 [ 63.612842][ T5096] ? bch2_check_backpointers_to_extents+0xf7e/0x2430 [ 63.615296][ T5096] ? bch2_check_backpointers_to_extents+0x2409/0x2430 [ 63.617871][ T5096] ? bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.620576][ T5096] ? __pfx_bch2_check_backpointers_to_extents+0x10/0x10 [ 63.623195][ T5096] ? __pfx__prb_read_valid+0x10/0x10 [ 63.625202][ T5096] ? bch2_backpointer_get_key+0x2b0/0x970 [ 63.627304][ T5096] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 63.629845][ T5096] ? __console_unlock+0x12d/0x1f0 [ 63.631842][ T5096] ? prb_read_valid+0xa9/0xf0 [ 63.633590][ T5096] ? __pfx___console_unlock+0x10/0x10 [ 63.635655][ T5096] ? this_cpu_in_panic+0x4f/0x80 [ 63.637524][ T5096] ? printk_get_console_flush_type+0x1fe/0x4f0 [ 63.639751][ T5096] ? bch2_check_backpointers_to_extents+0xc6a/0x2430 [ 63.642138][ T5096] ? __pfx_lock_release+0x10/0x10 [ 63.644019][ T5096] ? rcu_is_watching+0x15/0xb0 [ 63.645847][ T5096] ? __bch2_print+0x17a/0x220 [ 63.647614][ T5096] ? bch2_run_recovery_pass+0x6d/0x1e0 [ 63.649784][ T5096] ? __pfx___bch2_print+0x10/0x10 [ 63.651572][ T5096] ? __bch2_fs_read_write+0x35c/0x370 [ 63.653569][ T5096] bch2_run_recovery_pass+0xf0/0x1e0 [ 63.655580][ T5096] bch2_run_recovery_passes+0x387/0x870 [ 63.657733][ T5096] bch2_fs_recovery+0x25cc/0x39c0 [ 63.660015][ T5096] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 63.662238][ T5096] ? __pfx_lock_release+0x10/0x10 [ 63.664148][ T5096] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 63.666254][ T5096] ? __pfx_lock_release+0x10/0x10 [ 63.668239][ T5096] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 63.670322][ T5096] ? bch2_get_next_online_dev+0x4b9/0x4f0 [ 63.672520][ T5096] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 63.674648][ T5096] ? llist_reverse_order+0x72/0x90 [ 63.676477][ T5096] bch2_fs_start+0x356/0x5b0 [ 63.678261][ T5096] bch2_fs_get_tree+0xd68/0x1710 [ 63.680092][ T5096] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 63.682061][ T5096] ? generic_parse_monolithic+0x387/0x400 [ 63.684165][ T5096] ? apparmor_capable+0x13b/0x1b0 [ 63.686172][ T5096] vfs_get_tree+0x90/0x2b0 [ 63.687929][ T5096] do_new_mount+0x2be/0xb40 [ 63.689646][ T5096] ? __pfx_do_new_mount+0x10/0x10 [ 63.691541][ T5096] __se_sys_mount+0x2d6/0x3c0 [ 63.693318][ T5096] ? __pfx___se_sys_mount+0x10/0x10 [ 63.695249][ T5096] ? do_syscall_64+0x100/0x230 [ 63.697115][ T5096] ? __x64_sys_mount+0x20/0xc0 [ 63.698948][ T5096] do_syscall_64+0xf3/0x230 [ 63.700744][ T5096] ? clear_bhb_loop+0x35/0x90 [ 63.702720][ T5096] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 63.705084][ T5096] RIP: 0033:0x7fd15d5ca8fa [ 63.706786][ 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.713768][ T5096] RSP: 002b:00007fffa29a4888 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 63.716789][ T5096] RAX: ffffffffffffffda RBX: 00007fffa29a48a0 RCX: 00007fd15d5ca8fa [ 63.719672][ T5096] RDX: 00000000200058c0 RSI: 0000000020001040 RDI: 00007fffa29a48a0 [ 63.722673][ T5096] RBP: 0000000000000004 R08: 00007fffa29a48e0 R09: 002c647261637350 [ 63.725431][ T5096] R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000 [ 63.728076][ T5096] R13: 00007fffa29a48e0 R14: 0000000000000003 R15: 0000000001000000 [ 63.730724][ T5096] [ 63.731774][ T5096] Modules linked in: [ 63.733302][ T5096] ---[ end trace 0000000000000000 ]--- [ 63.739743][ T5096] RIP: 0010:bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.742569][ T5096] Code: 48 8b 4c 24 38 80 e1 07 38 c1 0f 8c b7 dd ff ff be 18 00 00 00 48 8b 7c 24 38 e8 11 7e ee fd e9 a3 dd ff ff e8 27 b8 84 fd 90 <0f> 0b e8 1f b8 84 fd 90 0f 0b e8 f7 56 b6 07 e8 12 b8 84 fd 90 0f [ 63.749755][ T5096] RSP: 0018:ffffc9000aec6d80 EFLAGS: 00010293 [ 63.752500][ T5096] RAX: ffffffff84102fd9 RBX: ffff8880488601d0 RCX: ffff888000f30000 [ 63.755356][ T5096] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 000000000000001c [ 63.758436][ T5096] RBP: ffffc9000aec7488 R08: ffffffff84101b4e R09: 0000000000000000 [ 63.761825][ T5096] R10: ffffc9000aec6780 R11: fffff520015d8cfd R12: 0000000000000003 [ 63.764728][ T5096] R13: ffffc9000aec7280 R14: dffffc0000000000 R15: ffff888040748000 [ 63.767733][ T5096] FS: 0000555578aff380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 63.771082][ T5096] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 63.774139][ T5096] CR2: 00007fff53c7bff8 CR3: 000000003f80a000 CR4: 0000000000352ef0 [ 63.777105][ T5096] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 63.780290][ T5096] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 63.783975][ T5096] Kernel panic - not syncing: Fatal exception [ 63.786715][ T5096] Kernel Offset: disabled [ 63.788351][ T5096] Rebooting in 86400 seconds.. VM DIAGNOSIS: 18:13:53 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000030 RBX=ffffffff9a715e60 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000aec6430 R8 =ffffffff854a6dbb R9 =1ffff11003da1046 R10=dffffc0000000000 R11=ffffffff854a6d70 R12=dffffc0000000000 R13=ffffffff9a410f0f R14=0000000000000030 R15=00000000000003f8 RIP=ffffffff854a6dee 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 0000555578aff380 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=00007fff53c7bff8 CR3=000000003f80a000 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=0000000000000040 Opmask01=00000000fffffffa Opmask02=0000000000000000 Opmask03=0000000000000000 Opmask04=0000000000000000 Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fffce67f650 0000003000000010 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 2525252525252525 2525252525252525 2525252525252525 2525252525252525 ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 4f6e3a6d5e007325 2e73250064252e73 2500656c6f736e6f 632f7665642f000a ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 4f4b1f485e005600 0b56000041000b56 000040494a564b4a 460a5340410a000a ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00000000000a000a ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 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