Warning: Permanently added '[localhost]:32271' (ED25519) to the list of known hosts. executing program [ 63.109966][ T5092] loop0: detected capacity change from 0 to 32768 [ 63.190312][ T5092] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 63.196381][ T5092] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 63.199531][ T5092] bcachefs (loop0): Version upgrade required: [ 63.199531][ T5092] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 63.199531][ T5092] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 63.199531][ T5092] 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.235135][ T5092] bcachefs (loop0): accounting_read... done [ 63.237979][ T5092] bcachefs (loop0): alloc_read... done [ 63.240275][ T5092] bcachefs (loop0): stripes_read... done [ 63.242274][ T5092] bcachefs (loop0): snapshots_read... done [ 63.244627][ T5092] bcachefs (loop0): check_allocations... done [ 63.259704][ T5092] bcachefs (loop0): going read-write [ 63.263027][ T5092] bcachefs (loop0): journal_replay... done [ 63.287868][ T5092] bcachefs (loop0): check_alloc_info... done [ 63.293529][ T5092] bcachefs (loop0): check_lrus... done [ 63.296625][ T5092] bcachefs (loop0): check_btree_backpointers... done [ 63.299841][ T5092] bcachefs (loop0): check_backpointers_to_extents... [ 63.300454][ T5092] ------------[ cut here ]------------ [ 63.305915][ T5092] kernel BUG at fs/bcachefs/bkey_types.h:210! [ 63.308919][ T5092] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 63.312920][ T5092] CPU: 0 UID: 0 PID: 5092 Comm: syz-executor784 Not tainted 6.12.0-rc3-syzkaller-00420-g715ca9dd687f #0 [ 63.317808][ T5092] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 63.322453][ T5092] RIP: 0010:bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.325610][ T5092] 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.333674][ T5092] RSP: 0018:ffffc9000b01ed80 EFLAGS: 00010293 [ 63.336032][ T5092] RAX: ffffffff84102fd9 RBX: ffff8880489001d0 RCX: ffff88801f330000 [ 63.339002][ T5092] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 000000000000001c [ 63.341951][ T5092] RBP: ffffc9000b01f488 R08: ffffffff84101b4e R09: 0000000000000000 [ 63.344794][ T5092] R10: ffffc9000b01e780 R11: fffff52001603cfd R12: 0000000000000003 [ 63.347622][ T5092] R13: ffffc9000b01f280 R14: dffffc0000000000 R15: ffff88804133c000 [ 63.350572][ T5092] FS: 000055555d144380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 63.353769][ T5092] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 63.356138][ T5092] CR2: 00005642c49840d0 CR3: 000000004054a000 CR4: 0000000000352ef0 [ 63.359238][ T5092] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 63.362162][ T5092] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 63.365023][ T5092] Call Trace: [ 63.366337][ T5092] [ 63.367433][ T5092] ? __die_body+0x5f/0xb0 [ 63.369077][ T5092] ? die+0x9e/0xc0 [ 63.370474][ T5092] ? do_trap+0x15a/0x3a0 [ 63.371996][ T5092] ? bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.374499][ T5092] ? do_error_trap+0x1dc/0x2c0 [ 63.376137][ T5092] ? bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.378562][ T5092] ? __pfx_do_error_trap+0x10/0x10 [ 63.380404][ T5092] ? report_bug+0x3e8/0x500 [ 63.382093][ T5092] ? handle_invalid_op+0x34/0x40 [ 63.383978][ T5092] ? bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.386490][ T5092] ? exc_invalid_op+0x38/0x50 [ 63.388205][ T5092] ? asm_exc_invalid_op+0x1a/0x20 [ 63.389952][ T5092] ? bch2_check_backpointers_to_extents+0xf7e/0x2430 [ 63.392598][ T5092] ? bch2_check_backpointers_to_extents+0x2409/0x2430 [ 63.395135][ T5092] ? bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.397856][ T5092] ? __pfx_bch2_check_backpointers_to_extents+0x10/0x10 [ 63.400521][ T5092] ? __pfx__prb_read_valid+0x10/0x10 [ 63.402531][ T5092] ? bch2_backpointer_get_key+0x2b0/0x970 [ 63.404671][ T5092] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 63.406942][ T5092] ? __console_unlock+0x12d/0x1f0 [ 63.408884][ T5092] ? prb_read_valid+0xa9/0xf0 [ 63.410582][ T5092] ? __pfx___console_unlock+0x10/0x10 [ 63.412521][ T5092] ? this_cpu_in_panic+0x4f/0x80 [ 63.414364][ T5092] ? printk_get_console_flush_type+0x1fe/0x4f0 [ 63.416538][ T5092] ? bch2_check_backpointers_to_extents+0xc6a/0x2430 [ 63.419023][ T5092] ? __pfx_lock_release+0x10/0x10 [ 63.420887][ T5092] ? rcu_is_watching+0x15/0xb0 [ 63.422664][ T5092] ? __bch2_print+0x17a/0x220 [ 63.424360][ T5092] ? bch2_run_recovery_pass+0x6d/0x1e0 [ 63.426473][ T5092] ? __pfx___bch2_print+0x10/0x10 [ 63.428403][ T5092] ? __bch2_fs_read_write+0x35c/0x370 [ 63.430305][ T5092] bch2_run_recovery_pass+0xf0/0x1e0 [ 63.432289][ T5092] bch2_run_recovery_passes+0x387/0x870 [ 63.434600][ T5092] bch2_fs_recovery+0x25cc/0x39c0 [ 63.436882][ T5092] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 63.439199][ T5092] ? __pfx_lock_release+0x10/0x10 [ 63.441397][ T5092] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 63.443768][ T5092] ? __pfx_lock_release+0x10/0x10 [ 63.445977][ T5092] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 63.448351][ T5092] ? bch2_get_next_online_dev+0x4b9/0x4f0 [ 63.450674][ T5092] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 63.452958][ T5092] ? llist_reverse_order+0x72/0x90 [ 63.454916][ T5092] bch2_fs_start+0x356/0x5b0 [ 63.457018][ T5092] bch2_fs_get_tree+0xd68/0x1710 [ 63.459070][ T5092] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 63.461087][ T5092] ? generic_parse_monolithic+0x387/0x400 [ 63.463402][ T5092] ? apparmor_capable+0x13b/0x1b0 [ 63.465512][ T5092] vfs_get_tree+0x90/0x2b0 [ 63.467229][ T5092] do_new_mount+0x2be/0xb40 [ 63.468981][ T5092] ? __pfx_do_new_mount+0x10/0x10 [ 63.470961][ T5092] __se_sys_mount+0x2d6/0x3c0 [ 63.472805][ T5092] ? __pfx___se_sys_mount+0x10/0x10 [ 63.474763][ T5092] ? do_syscall_64+0x100/0x230 [ 63.476606][ T5092] ? __x64_sys_mount+0x20/0xc0 [ 63.478400][ T5092] do_syscall_64+0xf3/0x230 [ 63.480123][ T5092] ? clear_bhb_loop+0x35/0x90 [ 63.481844][ T5092] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 63.484035][ T5092] RIP: 0033:0x7fc6b87b98fa [ 63.485730][ T5092] 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.493138][ T5092] RSP: 002b:00007ffe6c81f3a8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 63.496583][ T5092] RAX: ffffffffffffffda RBX: 00007ffe6c81f3c0 RCX: 00007fc6b87b98fa [ 63.499680][ T5092] RDX: 00000000200058c0 RSI: 0000000020001040 RDI: 00007ffe6c81f3c0 [ 63.502740][ T5092] RBP: 0000000000000004 R08: 00007ffe6c81f400 R09: 002c647261637350 [ 63.505788][ T5092] R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000 [ 63.509050][ T5092] R13: 00007ffe6c81f400 R14: 0000000000000003 R15: 0000000001000000 [ 63.511964][ T5092] [ 63.513112][ T5092] Modules linked in: [ 63.514693][ T5092] ---[ end trace 0000000000000000 ]--- [ 63.520941][ T5092] RIP: 0010:bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.523644][ T5092] 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.531127][ T5092] RSP: 0018:ffffc9000b01ed80 EFLAGS: 00010293 [ 63.533438][ T5092] RAX: ffffffff84102fd9 RBX: ffff8880489001d0 RCX: ffff88801f330000 [ 63.536999][ T5092] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 000000000000001c [ 63.539975][ T5092] RBP: ffffc9000b01f488 R08: ffffffff84101b4e R09: 0000000000000000 [ 63.542889][ T5092] R10: ffffc9000b01e780 R11: fffff52001603cfd R12: 0000000000000003 [ 63.546171][ T5092] R13: ffffc9000b01f280 R14: dffffc0000000000 R15: ffff88804133c000 [ 63.549232][ T5092] FS: 000055555d144380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 63.552621][ T5092] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 63.555078][ T5092] CR2: 00005642c49840d0 CR3: 000000004054a000 CR4: 0000000000352ef0 [ 63.558672][ T5092] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 63.561742][ T5092] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 63.564768][ T5092] Kernel panic - not syncing: Fatal exception [ 63.567442][ T5092] Kernel Offset: disabled [ 63.569033][ T5092] Rebooting in 86400 seconds.. VM DIAGNOSIS: 18:46:04 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000020 RBX=ffffffff9a715e60 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000b01e430 R8 =ffffffff854a6dbb R9 =1ffff11006777046 R10=dffffc0000000000 R11=ffffffff854a6d70 R12=dffffc0000000000 R13=ffffffff9a410f0d R14=0000000000000020 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 000055555d144380 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=00005642c49840d0 CR3=000000004054a000 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 00007ffef07e9860 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