Warning: Permanently added '[localhost]:41028' (ED25519) to the list of known hosts. executing program [ 63.224217][ T5098] loop0: detected capacity change from 0 to 32768 [ 63.297502][ T5098] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 63.303421][ T5098] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 63.307154][ T5098] bcachefs (loop0): Version upgrade required: [ 63.307154][ T5098] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 63.307154][ T5098] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 63.307154][ T5098] 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.344349][ T5098] bcachefs (loop0): accounting_read... done [ 63.347239][ T5098] bcachefs (loop0): alloc_read... done [ 63.349555][ T5098] bcachefs (loop0): stripes_read... done [ 63.351662][ T5098] bcachefs (loop0): snapshots_read... done [ 63.354711][ T5098] bcachefs (loop0): check_allocations... done [ 63.369986][ T5098] bcachefs (loop0): going read-write [ 63.374050][ T5098] bcachefs (loop0): journal_replay... done [ 63.564550][ T5098] bcachefs (loop0): check_alloc_info... done [ 63.570099][ T5098] bcachefs (loop0): check_lrus... done [ 63.573186][ T5098] bcachefs (loop0): check_btree_backpointers... done [ 63.577345][ T5098] bcachefs (loop0): check_backpointers_to_extents... [ 63.577984][ T5098] ------------[ cut here ]------------ [ 63.582200][ T5098] kernel BUG at fs/bcachefs/bkey_types.h:210! [ 63.585085][ T5098] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 63.588446][ T5098] CPU: 0 UID: 0 PID: 5098 Comm: syz-executor177 Not tainted 6.12.0-rc3-syzkaller-00420-g715ca9dd687f #0 [ 63.592226][ T5098] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 63.596317][ T5098] RIP: 0010:bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.599102][ T5098] 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.606217][ T5098] RSP: 0018:ffffc90002d9ed80 EFLAGS: 00010293 [ 63.608657][ T5098] RAX: ffffffff84102fd9 RBX: ffff888041da01d0 RCX: ffff8880003e2440 [ 63.611586][ T5098] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 000000000000001c [ 63.614493][ T5098] RBP: ffffc90002d9f488 R08: ffffffff84101b4e R09: 0000000000000000 [ 63.617545][ T5098] R10: ffffc90002d9e780 R11: fffff520005b3cfd R12: 0000000000000003 [ 63.620496][ T5098] R13: ffffc90002d9f280 R14: dffffc0000000000 R15: ffff8880401a8000 [ 63.623322][ T5098] FS: 000055556e26c380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 63.626654][ T5098] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 63.629127][ T5098] CR2: 00007ffda68deef8 CR3: 000000004091a000 CR4: 0000000000352ef0 [ 63.632159][ T5098] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 63.635082][ T5098] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 63.638139][ T5098] Call Trace: [ 63.639473][ T5098] [ 63.640606][ T5098] ? __die_body+0x5f/0xb0 [ 63.642300][ T5098] ? die+0x9e/0xc0 [ 63.643779][ T5098] ? do_trap+0x15a/0x3a0 [ 63.645431][ T5098] ? bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.647994][ T5098] ? do_error_trap+0x1dc/0x2c0 [ 63.649831][ T5098] ? bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.652271][ T5098] ? __pfx_do_error_trap+0x10/0x10 [ 63.654143][ T5098] ? report_bug+0x3e8/0x500 [ 63.655942][ T5098] ? handle_invalid_op+0x34/0x40 [ 63.657748][ T5098] ? bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.660320][ T5098] ? exc_invalid_op+0x38/0x50 [ 63.662048][ T5098] ? asm_exc_invalid_op+0x1a/0x20 [ 63.663945][ T5098] ? bch2_check_backpointers_to_extents+0xf7e/0x2430 [ 63.666450][ T5098] ? bch2_check_backpointers_to_extents+0x2409/0x2430 [ 63.668833][ T5098] ? bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.671272][ T5098] ? __pfx_bch2_check_backpointers_to_extents+0x10/0x10 [ 63.673712][ T5098] ? __pfx__prb_read_valid+0x10/0x10 [ 63.675632][ T5098] ? bch2_backpointer_get_key+0x2b0/0x970 [ 63.677738][ T5098] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 63.680231][ T5098] ? __console_unlock+0x12d/0x1f0 [ 63.682092][ T5098] ? prb_read_valid+0xa9/0xf0 [ 63.683898][ T5098] ? __pfx___console_unlock+0x10/0x10 [ 63.685879][ T5098] ? this_cpu_in_panic+0x4f/0x80 [ 63.687708][ T5098] ? printk_get_console_flush_type+0x1fe/0x4f0 [ 63.690045][ T5098] ? bch2_check_backpointers_to_extents+0xc6a/0x2430 [ 63.692561][ T5098] ? __pfx_lock_release+0x10/0x10 [ 63.694611][ T5098] ? rcu_is_watching+0x15/0xb0 [ 63.696463][ T5098] ? __bch2_print+0x17a/0x220 [ 63.698297][ T5098] ? bch2_run_recovery_pass+0x6d/0x1e0 [ 63.700390][ T5098] ? __pfx___bch2_print+0x10/0x10 [ 63.702253][ T5098] ? __bch2_fs_read_write+0x35c/0x370 [ 63.704308][ T5098] bch2_run_recovery_pass+0xf0/0x1e0 [ 63.706327][ T5098] bch2_run_recovery_passes+0x387/0x870 [ 63.708442][ T5098] bch2_fs_recovery+0x25cc/0x39c0 [ 63.710375][ T5098] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 63.712539][ T5098] ? __pfx_lock_release+0x10/0x10 [ 63.714452][ T5098] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 63.716586][ T5098] ? __pfx_lock_release+0x10/0x10 [ 63.718517][ T5098] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 63.720546][ T5098] ? bch2_get_next_online_dev+0x4b9/0x4f0 [ 63.722787][ T5098] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 63.724888][ T5098] ? llist_reverse_order+0x72/0x90 [ 63.726775][ T5098] bch2_fs_start+0x356/0x5b0 [ 63.728445][ T5098] bch2_fs_get_tree+0xd68/0x1710 [ 63.730406][ T5098] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 63.732480][ T5098] ? generic_parse_monolithic+0x387/0x400 [ 63.734680][ T5098] ? apparmor_capable+0x13b/0x1b0 [ 63.736468][ T5098] vfs_get_tree+0x90/0x2b0 [ 63.738215][ T5098] do_new_mount+0x2be/0xb40 [ 63.740098][ T5098] ? __pfx_do_new_mount+0x10/0x10 [ 63.742032][ T5098] __se_sys_mount+0x2d6/0x3c0 [ 63.743791][ T5098] ? __pfx___se_sys_mount+0x10/0x10 [ 63.745762][ T5098] ? do_syscall_64+0x100/0x230 [ 63.747616][ T5098] ? __x64_sys_mount+0x20/0xc0 [ 63.749381][ T5098] do_syscall_64+0xf3/0x230 [ 63.751198][ T5098] ? clear_bhb_loop+0x35/0x90 [ 63.753035][ T5098] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 63.755230][ T5098] RIP: 0033:0x7f1f62c028fa [ 63.756974][ T5098] 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.764329][ T5098] RSP: 002b:00007ffe477ec068 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 63.767493][ T5098] RAX: ffffffffffffffda RBX: 00007ffe477ec080 RCX: 00007f1f62c028fa [ 63.770452][ T5098] RDX: 00000000200058c0 RSI: 0000000020001040 RDI: 00007ffe477ec080 [ 63.773524][ T5098] RBP: 0000000000000004 R08: 00007ffe477ec0c0 R09: 002c647261637350 [ 63.776544][ T5098] R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000 [ 63.779679][ T5098] R13: 00007ffe477ec0c0 R14: 0000000000000003 R15: 0000000001000000 [ 63.782820][ T5098] [ 63.784053][ T5098] Modules linked in: [ 63.785856][ T5098] ---[ end trace 0000000000000000 ]--- [ 63.791968][ T5098] RIP: 0010:bch2_check_backpointers_to_extents+0x240a/0x2430 [ 63.798292][ T5098] 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.805882][ T5098] RSP: 0018:ffffc90002d9ed80 EFLAGS: 00010293 [ 63.808211][ T5098] RAX: ffffffff84102fd9 RBX: ffff888041da01d0 RCX: ffff8880003e2440 [ 63.811215][ T5098] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 000000000000001c [ 63.814637][ T5098] RBP: ffffc90002d9f488 R08: ffffffff84101b4e R09: 0000000000000000 [ 63.817493][ T5098] R10: ffffc90002d9e780 R11: fffff520005b3cfd R12: 0000000000000003 [ 63.820387][ T5098] R13: ffffc90002d9f280 R14: dffffc0000000000 R15: ffff8880401a8000 [ 63.824246][ T5098] FS: 000055556e26c380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 63.827734][ T5098] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 63.830189][ T5098] CR2: 00007ffda68deef8 CR3: 000000004091a000 CR4: 0000000000352ef0 [ 63.833235][ T5098] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 63.836683][ T5098] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 63.839711][ T5098] Kernel panic - not syncing: Fatal exception [ 63.842215][ T5098] Kernel Offset: disabled [ 63.843634][ T5098] Rebooting in 86400 seconds.. VM DIAGNOSIS: 19:18:09 Registers: info registers vcpu 0 CPU#0 RAX=000000000000006f RBX=ffffffff9a715e60 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc90002d9e430 R8 =ffffffff854a6dbb R9 =1ffff110065ad046 R10=dffffc0000000000 R11=ffffffff854a6d70 R12=dffffc0000000000 R13=ffffffff9a410f09 R14=000000000000006f 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 000055556e26c380 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=00007ffda68deef8 CR3=000000004091a000 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=0000000000040000 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 00007ffd92269070 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 3a2930706f6f6c28 2073666568636163 62205d3839303554 205b5d3638313300 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 3023307065656622 2073666562636163 6220573233303554 2051573632313300 ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 5b3e373c00732020 2000005d31542020 20205b5d32343835 39312e3232202020 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 512c373600652020 2000005d31542020 2020555d32343835 39312e3232202020 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 636e5561696f6269 266f787f7e697f78 7e79556f677f6665 7c687f795561696f ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 51343d360a727f64 630a006f69646b66 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