Warning: Permanently added '[localhost]:58922' (ED25519) to the list of known hosts.
executing program
[ 63.320455][ T5095] loop0: detected capacity change from 0 to 32768
[ 63.396004][ T5095] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,background_compression=lz4,grpquota,fsck,fix_errors=yes,nojournal_transaction_names,no_data_io
[ 63.405031][ T5095] invalid bkey u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key 17870283321406128128:0:0 durability: 0 ptr: 255:17592186044415 gen 0 cached
[ 63.405055][ T5095] has unwritten ptrs: delete?, fixing
[ 63.414166][ T5095] invalid bkey u64s 11 type btree_ptr_v2 U64_MAX:18446744073692774400:10 len 3036676096 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0
[ 63.414184][ T5095] size != 0: delete?, fixing
[ 63.423302][ T5095] bcachefs (loop0): recovering from clean shutdown, journal seq 10
[ 63.426639][ T5095] bcachefs (loop0): Version upgrade required:
[ 63.426639][ T5095] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete
[ 63.426639][ T5095] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots
[ 63.426639][ T5095] 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.457997][ T5095] invalid btree root inodes, fixing
[ 63.460087][ T5095] bcachefs (loop0): will run btree node scan
[ 63.462337][ T5095] bcachefs (loop0): flagging btree inodes lost data
[ 63.467397][ T5095] bcachefs (loop0): flagging btree xattrs lost data
[ 63.471902][ T5095] error reading btree root xattrs l=0: btree_node_read_error, fixing
[ 63.476753][ T5095] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0:
[ 63.476771][ T5095] gen 0 oldest_gen 0 data_type btree
[ 63.476779][ T5095] journal_seq 6
[ 63.476786][ T5095] need_discard 1
[ 63.476798][ T5095] need_inc_gen 1
[ 63.476805][ T5095] dirty_sectors 0
[ 63.476812][ T5095] stripe_sectors 0
[ 63.476818][ T5095] cached_sectors 0
[ 63.476824][ T5095] stripe 0
[ 63.476831][ T5095] stripe_redundancy 0
[ 63.476837][ T5095] io_time[READ] 1
[ 63.476844][ T5095] io_time[WRITE] 768
[ 63.476850][ T5095] fragmentation 0
[ 63.476857][ T5095] bp_start 8
[ 63.476863][ T5095]
[ 63.476869][ T5095] invalid data type (got 3 should be 9): delete?, fixing
[ 63.507218][ T5095] invalid btree root stripes, fixing
[ 63.509314][ T5095] bcachefs (loop0): flagging btree stripes lost data
[ 63.515456][ T5095] invalid bkey u64s 5 type set 0:37:0 len 4294964982 ver 0
[ 63.515470][ T5095] size greater than offset (4294964982 > 37): delete?, fixing
[ 63.521217][ T5095] bcachefs (loop0): flagging btree freespace lost data
[ 63.525126][ T5095] error reading btree root freespace l=0: btree_node_read_error, fixing
[ 63.529987][ T5095] ==================================================================
[ 63.533064][ T5095] BUG: KASAN: null-ptr-deref in bch2_sb_set_upgrade_extra+0x152/0x270
[ 63.536458][ T5095] Read of size 8 at addr 00000000000000b0 by task syz-executor407/5095
[ 63.540492][ T5095]
[ 63.541419][ T5095] CPU: 0 UID: 0 PID: 5095 Comm: syz-executor407 Not tainted 6.12.0-rc3-syzkaller-00319-gb04ae0f45168 #0
[ 63.545451][ T5095] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
[ 63.549470][ T5095] Call Trace:
[ 63.550716][ T5095]
[ 63.551880][ T5095] dump_stack_lvl+0x241/0x360
[ 63.553779][ T5095] ? __pfx_dump_stack_lvl+0x10/0x10
[ 63.555885][ T5095] ? __pfx__printk+0x10/0x10
[ 63.557666][ T5095] ? _printk+0xd5/0x120
[ 63.559267][ T5095] print_report+0xe8/0x550
[ 63.561054][ T5095] ? kfree+0x4e/0x440
[ 63.562662][ T5095] ? __virt_addr_valid+0x58/0x530
[ 63.564591][ T5095] ? bch2_sb_set_upgrade_extra+0x152/0x270
[ 63.566662][ T5095] kasan_report+0x143/0x180
[ 63.568434][ T5095] ? __pfx___mutex_lock+0x10/0x10
[ 63.570487][ T5095] ? bch2_sb_set_upgrade_extra+0x152/0x270
[ 63.572742][ T5095] kasan_check_range+0x282/0x290
[ 63.574639][ T5095] bch2_sb_set_upgrade_extra+0x152/0x270
[ 63.576721][ T5095] bch2_fs_recovery+0x25c4/0x39c0
[ 63.578699][ T5095] ? __pfx_bch2_fs_recovery+0x10/0x10
[ 63.580765][ T5095] ? __pfx_lock_release+0x10/0x10
[ 63.582675][ T5095] ? bch2_get_next_online_dev+0x2b/0x4f0
[ 63.584885][ T5095] ? __pfx_lock_release+0x10/0x10
[ 63.586673][ T5095] ? bch2_get_next_online_dev+0x2b/0x4f0
[ 63.588700][ T5095] ? bch2_get_next_online_dev+0x4b9/0x4f0
[ 63.590761][ T5095] ? bch2_get_next_online_dev+0x2b/0x4f0
[ 63.592855][ T5095] ? llist_reverse_order+0x72/0x90
[ 63.594725][ T5095] bch2_fs_start+0x356/0x5b0
[ 63.596404][ T5095] bch2_fs_get_tree+0xd68/0x1710
[ 63.598256][ T5095] ? __pfx_bch2_fs_get_tree+0x10/0x10
[ 63.600517][ T5095] ? generic_parse_monolithic+0x387/0x400
[ 63.603308][ T5095] ? apparmor_capable+0x13b/0x1b0
[ 63.605333][ T5095] vfs_get_tree+0x90/0x2b0
[ 63.606966][ T5095] do_new_mount+0x2be/0xb40
[ 63.608557][ T5095] ? __pfx_do_new_mount+0x10/0x10
[ 63.610377][ T5095] __se_sys_mount+0x2d6/0x3c0
[ 63.612153][ T5095] ? __pfx___se_sys_mount+0x10/0x10
[ 63.614003][ T5095] ? do_syscall_64+0x100/0x230
[ 63.615763][ T5095] ? __x64_sys_mount+0x20/0xc0
[ 63.617549][ T5095] do_syscall_64+0xf3/0x230
[ 63.619278][ T5095] ? clear_bhb_loop+0x35/0x90
[ 63.620975][ T5095] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 63.623036][ T5095] RIP: 0033:0x7ff4b3b479ba
[ 63.624705][ T5095] 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.631657][ T5095] RSP: 002b:00007ffe3df5ae28 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
[ 63.634666][ T5095] RAX: ffffffffffffffda RBX: 00007ffe3df5ae40 RCX: 00007ff4b3b479ba
[ 63.637533][ T5095] RDX: 00000000200058c0 RSI: 0000000020000000 RDI: 00007ffe3df5ae40
[ 63.640348][ T5095] RBP: 0000000000000004 R08: 00007ffe3df5ae80 R09: 0000000000005909
[ 63.643660][ T5095] R10: 0000000000010000 R11: 0000000000000282 R12: 0000000000010000
[ 63.646845][ T5095] R13: 00007ffe3df5ae80 R14: 0000000000000003 R15: 0000000001000000
[ 63.650124][ T5095]
[ 63.651312][ T5095] ==================================================================
[ 63.660167][ T5095] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 63.662842][ T5095] CPU: 0 UID: 0 PID: 5095 Comm: syz-executor407 Not tainted 6.12.0-rc3-syzkaller-00319-gb04ae0f45168 #0
[ 63.667169][ T5095] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
[ 63.671268][ T5095] Call Trace:
[ 63.672483][ T5095]
[ 63.673665][ T5095] dump_stack_lvl+0x241/0x360
[ 63.675174][ T5095] ? __pfx_dump_stack_lvl+0x10/0x10
[ 63.676987][ T5095] ? __pfx__printk+0x10/0x10
[ 63.678630][ T5095] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 63.680930][ T5095] ? vscnprintf+0x5d/0x90
[ 63.682518][ T5095] panic+0x349/0x880
[ 63.684058][ T5095] ? check_panic_on_warn+0x21/0xb0
[ 63.686203][ T5095] ? __pfx_panic+0x10/0x10
[ 63.688234][ T5095] ? _raw_spin_unlock_irqrestore+0x130/0x140
[ 63.690320][ T5095] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10
[ 63.692764][ T5095] ? print_report+0xe8/0x550
[ 63.694472][ T5095] ? kfree+0x4e/0x440
[ 63.695974][ T5095] check_panic_on_warn+0x86/0xb0
[ 63.697880][ T5095] ? bch2_sb_set_upgrade_extra+0x152/0x270
[ 63.700086][ T5095] end_report+0x77/0x160
[ 63.701602][ T5095] kasan_report+0x154/0x180
[ 63.703292][ T5095] ? __pfx___mutex_lock+0x10/0x10
[ 63.705258][ T5095] ? bch2_sb_set_upgrade_extra+0x152/0x270
[ 63.707581][ T5095] kasan_check_range+0x282/0x290
[ 63.709609][ T5095] bch2_sb_set_upgrade_extra+0x152/0x270
[ 63.711716][ T5095] bch2_fs_recovery+0x25c4/0x39c0
[ 63.713580][ T5095] ? __pfx_bch2_fs_recovery+0x10/0x10
[ 63.715718][ T5095] ? __pfx_lock_release+0x10/0x10
[ 63.717627][ T5095] ? bch2_get_next_online_dev+0x2b/0x4f0
[ 63.719651][ T5095] ? __pfx_lock_release+0x10/0x10
[ 63.721533][ T5095] ? bch2_get_next_online_dev+0x2b/0x4f0
[ 63.723603][ T5095] ? bch2_get_next_online_dev+0x4b9/0x4f0
[ 63.725799][ T5095] ? bch2_get_next_online_dev+0x2b/0x4f0
[ 63.728221][ T5095] ? llist_reverse_order+0x72/0x90
[ 63.730353][ T5095] bch2_fs_start+0x356/0x5b0
[ 63.732203][ T5095] bch2_fs_get_tree+0xd68/0x1710
[ 63.734085][ T5095] ? __pfx_bch2_fs_get_tree+0x10/0x10
[ 63.736111][ T5095] ? generic_parse_monolithic+0x387/0x400
[ 63.738222][ T5095] ? apparmor_capable+0x13b/0x1b0
[ 63.740246][ T5095] vfs_get_tree+0x90/0x2b0
[ 63.741892][ T5095] do_new_mount+0x2be/0xb40
[ 63.743505][ T5095] ? __pfx_do_new_mount+0x10/0x10
[ 63.745323][ T5095] __se_sys_mount+0x2d6/0x3c0
[ 63.746967][ T5095] ? __pfx___se_sys_mount+0x10/0x10
[ 63.748835][ T5095] ? do_syscall_64+0x100/0x230
[ 63.750398][ T5095] ? __x64_sys_mount+0x20/0xc0
[ 63.751865][ T5095] do_syscall_64+0xf3/0x230
[ 63.753448][ T5095] ? clear_bhb_loop+0x35/0x90
[ 63.755127][ T5095] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 63.757274][ T5095] RIP: 0033:0x7ff4b3b479ba
[ 63.759074][ T5095] 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.766051][ T5095] RSP: 002b:00007ffe3df5ae28 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
[ 63.769091][ T5095] RAX: ffffffffffffffda RBX: 00007ffe3df5ae40 RCX: 00007ff4b3b479ba
[ 63.772070][ T5095] RDX: 00000000200058c0 RSI: 0000000020000000 RDI: 00007ffe3df5ae40
[ 63.775056][ T5095] RBP: 0000000000000004 R08: 00007ffe3df5ae80 R09: 0000000000005909
[ 63.777966][ T5095] R10: 0000000000010000 R11: 0000000000000282 R12: 0000000000010000
[ 63.781031][ T5095] R13: 00007ffe3df5ae80 R14: 0000000000000003 R15: 0000000001000000
[ 63.784052][ T5095]
[ 63.785511][ T5095] Kernel Offset: disabled
[ 63.787176][ T5095] Rebooting in 86400 seconds..
VM DIAGNOSIS:
07:16:08 Registers:
info registers vcpu 0
CPU#0
RAX=0000000000000020 RBX=ffffffff9a715e60 RCX=0000000000000000 RDX=00000000000003f8
RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000b1eed10
R8 =ffffffff854a5d3b R9 =1ffff11003d89046 R10=dffffc0000000000 R11=ffffffff854a5cf0
R12=dffffc0000000000 R13=ffffffff9a410f04 R14=0000000000000020 R15=00000000000003f8
RIP=ffffffff854a5d6e 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 000055558a437380 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=00005614880b9668 CR3=0000000040ef6000 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=0000000004000000 Opmask02=0000000000000000 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 00007ffdb8b26090 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 206e65675f636e69 5f6465656e202020 5d3539303554205b 5d38393736373400
ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2064656755636463 5564656564202020 5735333035542051 5732333736373400
ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2075636500006261 2e72206c65616c65 6700006836203139 3132203a616f6164
ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 206555640000205d 2e54202020200000 6100002636203139 3132203a6155615f
ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 796c557e6f792679 6164636664556169 6f6269266f787f7e 697f787e79557378
ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2a73666465276e6b 6f782a666f64786f 612a6f627e2a6d64 637e696f7e65787a
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