Warning: Permanently added '[localhost]:9730' (ED25519) to the list of known hosts. executing program [ 63.594028][ T5320] loop0: detected capacity change from 0 to 32768 [ 63.665077][ T5320] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 63.670711][ T5320] bcachefs (loop0): recovering from clean shutdown, journal seq 18446744073709551614 [ 63.674268][ T5320] bcachefs (loop0): Version upgrade required: [ 63.674268][ T5320] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 63.674268][ T5320] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 63.674268][ T5320] 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.712859][ T5320] bcachefs (loop0): accounting_read... done [ 63.715627][ T5320] bcachefs (loop0): alloc_read... done [ 63.718565][ T5320] bcachefs (loop0): stripes_read... done [ 63.720638][ T5320] bcachefs (loop0): snapshots_read... done [ 63.723004][ T5320] bcachefs (loop0): check_allocations... done [ 63.738270][ T5320] bcachefs (loop0): going read-write [ 63.741864][ T5320] bcachefs (loop0): journal_replay... [ 64.819208][ T4682] ------------[ cut here ]------------ [ 64.823395][ T4682] kernel BUG at fs/bcachefs/journal_reclaim.h:30! [ 64.825849][ T4682] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 64.829450][ T4682] CPU: 0 UID: 0 PID: 4682 Comm: kworker/u5:1 Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0 [ 64.833112][ T4682] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 64.837013][ T4682] Workqueue: bcachefs_journal journal_write_work [ 64.839545][ T4682] RIP: 0010:__bch2_journal_pin_put+0x121/0x130 [ 64.842107][ T4682] Code: 9a 52 fd 31 ff 89 de e8 0d 9a 52 fd 89 d8 5b 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc e8 f8 96 52 fd 90 0f 0b e8 f0 96 52 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 [ 64.848922][ T4682] RSP: 0018:ffffc9000dcf7a10 EFLAGS: 00010293 [ 64.851143][ T4682] RAX: ffffffff84434920 RBX: 0000000000000000 RCX: ffff888000582440 [ 64.854202][ T4682] RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000000 [ 64.857284][ T4682] RBP: ffffc9000dcf7b78 R08: ffffffff84434881 R09: ffffffff8440bb88 [ 64.860361][ T4682] R10: 0000000000000004 R11: ffff888000582440 R12: dffffc0000000000 [ 64.863301][ T4682] R13: ffff88804474a500 R14: ffffffffffffffff R15: ffff88804474a500 [ 64.866181][ T4682] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 64.869230][ T4682] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 64.871636][ T4682] CR2: 000056474e330408 CR3: 000000000e738000 CR4: 0000000000352ef0 [ 64.874888][ T4682] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 64.878464][ T4682] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 64.881953][ T4682] Call Trace: [ 64.883504][ T4682] [ 64.884834][ T4682] ? __die_body+0x5f/0xb0 [ 64.886774][ T4682] ? die+0x9e/0xc0 [ 64.888205][ T4682] ? do_trap+0x15a/0x3a0 [ 64.889782][ T4682] ? __bch2_journal_pin_put+0x121/0x130 [ 64.891833][ T4682] ? do_error_trap+0x1dc/0x2c0 [ 64.893563][ T4682] ? __bch2_journal_pin_put+0x121/0x130 [ 64.895630][ T4682] ? __pfx_do_error_trap+0x10/0x10 [ 64.897540][ T4682] ? handle_invalid_op+0x34/0x40 [ 64.899332][ T4682] ? __bch2_journal_pin_put+0x121/0x130 [ 64.901524][ T4682] ? exc_invalid_op+0x38/0x50 [ 64.903373][ T4682] ? asm_exc_invalid_op+0x1a/0x20 [ 64.905272][ T4682] ? __journal_entry_close+0x728/0xe30 [ 64.907349][ T4682] ? __bch2_journal_pin_put+0x81/0x130 [ 64.909405][ T4682] ? __bch2_journal_pin_put+0x120/0x130 [ 64.911525][ T4682] ? __bch2_journal_pin_put+0x121/0x130 [ 64.913653][ T4682] __journal_entry_close+0x80a/0xe30 [ 64.915654][ T4682] ? __pfx___journal_entry_close+0x10/0x10 [ 64.917855][ T4682] ? do_raw_spin_lock+0x14f/0x370 [ 64.919736][ T4682] ? __pfx_lock_acquire+0x10/0x10 [ 64.921556][ T4682] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 64.923592][ T4682] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 64.925836][ T4682] journal_write_work+0x129/0x140 [ 64.927783][ T4682] ? process_scheduled_works+0x976/0x1850 [ 64.929921][ T4682] process_scheduled_works+0xa63/0x1850 [ 64.932113][ T4682] ? __pfx_process_scheduled_works+0x10/0x10 [ 64.934351][ T4682] ? assign_work+0x364/0x3d0 [ 64.936110][ T4682] worker_thread+0x870/0xd30 [ 64.937829][ T4682] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 64.940154][ T4682] ? __kthread_parkme+0x169/0x1d0 [ 64.942092][ T4682] ? __pfx_worker_thread+0x10/0x10 [ 64.943985][ T4682] kthread+0x2f0/0x390 [ 64.945551][ T4682] ? __pfx_worker_thread+0x10/0x10 [ 64.947420][ T4682] ? __pfx_kthread+0x10/0x10 [ 64.949057][ T4682] ret_from_fork+0x4b/0x80 [ 64.950705][ T4682] ? __pfx_kthread+0x10/0x10 [ 64.952386][ T4682] ret_from_fork_asm+0x1a/0x30 [ 64.954272][ T4682] [ 64.955345][ T4682] Modules linked in: [ 64.956806][ T4682] ---[ end trace 0000000000000000 ]--- [ 64.958823][ T4682] RIP: 0010:__bch2_journal_pin_put+0x121/0x130 [ 64.961028][ T4682] Code: 9a 52 fd 31 ff 89 de e8 0d 9a 52 fd 89 d8 5b 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc e8 f8 96 52 fd 90 0f 0b e8 f0 96 52 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 [ 64.967922][ T4682] RSP: 0018:ffffc9000dcf7a10 EFLAGS: 00010293 [ 64.969953][ T4682] RAX: ffffffff84434920 RBX: 0000000000000000 RCX: ffff888000582440 [ 64.972662][ T4682] RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000000 [ 64.975530][ T4682] RBP: ffffc9000dcf7b78 R08: ffffffff84434881 R09: ffffffff8440bb88 [ 64.978526][ T4682] R10: 0000000000000004 R11: ffff888000582440 R12: dffffc0000000000 [ 64.981417][ T4682] R13: ffff88804474a500 R14: ffffffffffffffff R15: ffff88804474a500 [ 64.984290][ T4682] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 64.987532][ T4682] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 64.989897][ T4682] CR2: 000056474e330408 CR3: 000000000e738000 CR4: 0000000000352ef0 [ 64.992704][ T4682] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 64.995479][ T4682] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 64.998260][ T4682] Kernel panic - not syncing: Fatal exception [ 65.000444][ T4682] Kernel Offset: disabled [ 65.002192][ T4682] Rebooting in 86400 seconds.. VM DIAGNOSIS: 12:42:00 Registers: info registers vcpu 0 CPU#0 RAX=1ffffffff34ed660 RBX=ffffffff9a76b400 RCX=0000000000000000 RDX=00000000000003fd RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000dcf70d8 R8 =ffffffff854e4fd6 R9 =1ffff11003df5046 R10=dffffc0000000000 R11=ffffffff854e4f90 R12=dffffc0000000000 R13=ffffffff9a466fa0 R14=00000000000003fd R15=dffffc0000000000 RIP=ffffffff854e5006 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 0000000000000000 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=000056474e330408 CR3=000000000e738000 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=0000000000000301 Opmask01=0000000000000040 Opmask02=00000000ffffffff Opmask03=0000000000000000 Opmask04=00000000ffffffff Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 69ba9c57f73827c9 72d3c0b43fdaaf63 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 8483a82d236a5c41 8c44586f2448559d ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 853cedbcd4120d22 e3e37846f14317bf ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 74678f2987493e47 777ade7bda62869a ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000001980 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000040 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00002b249570ace2 5948d483c776fc6c ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00002b2628312543 e3550e364eaa82df ZMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00002b32a7431a00 c5aa3700501bd000 ZMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 9e74625a115ff2e1 b1f13de5a7e02000 ZMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 b73c81d9b74a1e76 608ab06272f61f0a ZMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 dbada0881d9d6e29 fb3e4879e57ae39b 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 a54ff53a3c6ef372 bb67ae856a09e667 ZMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 5be0cd191f83d9ab 9b05688c510e527f ZMM16=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM17=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0a0a0a0a0a0a0a0a 0a0a0a0a0a0a0a0a 0a0a0a0a0a0a0a0a 0a0a0a0a0a0a0a0a ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 6362205d30323335 54205b5d38333630 32372e3336200000 656e6f64202e2e00 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 6362205730323335 5420515732333630 3237243336200000 6564656420242400 ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 20205b3e203a004b 2f000065205d3154 202020205b5d3233 383038342e323220 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2020513420360041 26000065205d2c54 20202020555d3233 383038342e323220 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 636e5561696f6269 266f787f7e697f78 7e79556f677f6665 7c687f795561696f ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2a2a51343c360a41 3c0a006f69646b66 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