Warning: Permanently added '[localhost]:49427' (ED25519) to the list of known hosts. executing program syzkaller login: [ 88.988217][ T5101] loop0: detected capacity change from 0 to 32768 [ 89.011290][ T5101] bcachefs (/dev/loop0): error reading default superblock: checksum error, type crc32c_nonzero: got e3ad2ae1 should be 29d2fb78 [ 89.100786][ T5101] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,compression=lz4,norecovery,recovery_pass_last=journal_replay,nojournal_transaction_names,nocow [ 89.107365][ T5101] bcachefs (loop0): recovering from clean shutdown, journal seq 7 [ 89.110910][ T5101] bcachefs (loop0): Doing compatible version upgrade from 1.7: mi_btree_bitmap to 1.12: rebalance_work_acct_fix [ 89.110910][ T5101] running recovery passes: check_allocations [ 89.122735][ T5101] bcachefs (loop0): flagging btree extents lost data [ 89.127567][ T5101] error reading btree root extents l=0: btree_node_read_error, fixing [ 89.131367][ T5101] bcachefs (loop0): will run btree node scan [ 89.136430][ T5101] bcachefs (loop0): flagging btree xattrs lost data [ 89.139415][ T5101] error reading btree root xattrs l=0: btree_node_read_error, fixing [ 89.144640][ T5101] invalid bkey u64s 11 type alloc_v4 0:14:0 len 0 ver 0: [ 89.144662][ T5101] gen 0 oldest_gen 0 data_type journal [ 89.144670][ T5101] journal_seq 1 [ 89.144676][ T5101] need_discard 1 [ 89.144682][ T5101] need_inc_gen 1 [ 89.144688][ T5101] dirty_sectors 256 [ 89.144694][ T5101] stripe_sectors 0 [ 89.144700][ T5101] cached_sectors 0 [ 89.144706][ T5101] stripe 67108864 [ 89.144713][ T5101] stripe_redundancy 0 [ 89.144719][ T5101] io_time[READ] 1 [ 89.144725][ T5101] io_time[WRITE] 1 [ 89.144731][ T5101] fragmentation 0 [ 89.144737][ T5101] bp_start 8 [ 89.144743][ T5101] [ 89.144748][ T5101] invalid data type (got 2 should be 7): delete?, fixing [ 89.177315][ T5101] bcachefs (loop0): flagging btree freespace lost data [ 89.181145][ T5101] error reading btree root freespace l=0: btree_node_read_error, fixing [ 89.185455][ T5101] bcachefs (loop0): scan_for_btree_nodes... [ 89.188830][ T5111] ------------[ cut here ]------------ [ 89.192753][ T5111] kernel BUG at fs/bcachefs/btree_cache.h:126! [ 89.195397][ T5111] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 89.198235][ T5111] CPU: 0 UID: 0 PID: 5111 Comm: read_btree_node Not tainted 6.11.0-syzkaller-03917-ga940d9a43e62 #0 [ 89.203283][ T5111] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 89.207174][ T5111] RIP: 0010:bch2_btree_pos_to_text+0x1ee/0x1f0 [ 89.209799][ T5111] Code: 00 00 fc ff df e9 70 ff ff ff 89 d9 80 e1 07 38 c1 0f 8c 7a ff ff ff 48 89 df e8 2d 90 ec fd e9 6d ff ff ff e8 b3 4b 85 fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa [ 89.217391][ T5111] RSP: 0018:ffffc9000315f448 EFLAGS: 00010293 [ 89.219760][ T5111] RAX: ffffffff840ede8d RBX: 00000000000000de RCX: ffff88801e138000 [ 89.222859][ T5111] RDX: 0000000000000000 RSI: 00000000000000de RDI: 0000000000000000 [ 89.225903][ T5111] RBP: 0000000000000000 R08: ffffffff840edd7a R09: 0000000000000000 [ 89.228865][ T5111] R10: ffffc9000315f5e0 R11: fffff5200062bec1 R12: ffff8880410b0000 [ 89.231929][ T5111] R13: ffff888041280000 R14: ffff888041280000 R15: ffffc9000315f5e0 [ 89.234924][ T5111] FS: 0000000000000000(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 [ 89.238211][ T5111] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 89.240816][ T5111] CR2: 0000559507bd4640 CR3: 000000003f78a000 CR4: 0000000000350ef0 [ 89.243757][ T5111] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 89.246514][ T5111] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 89.249335][ T5111] Call Trace: [ 89.250536][ T5111] [ 89.251579][ T5111] ? __die_body+0x88/0xe0 [ 89.253120][ T5111] ? die+0xcf/0x110 [ 89.254479][ T5111] ? do_trap+0x15a/0x3a0 [ 89.255949][ T5111] ? bch2_btree_pos_to_text+0x1ee/0x1f0 [ 89.257891][ T5111] ? do_error_trap+0x1dc/0x2c0 [ 89.259687][ T5111] ? bch2_btree_pos_to_text+0x1ee/0x1f0 [ 89.261872][ T5111] ? mark_lock+0x9a/0x360 [ 89.263558][ T5111] ? __pfx_do_error_trap+0x10/0x10 [ 89.265505][ T5111] ? report_bug+0x3e8/0x500 [ 89.268000][ T5111] ? handle_invalid_op+0x34/0x40 [ 89.269863][ T5111] ? bch2_btree_pos_to_text+0x1ee/0x1f0 [ 89.271917][ T5111] ? exc_invalid_op+0x38/0x50 [ 89.273744][ T5111] ? asm_exc_invalid_op+0x1a/0x20 [ 89.275693][ T5111] ? bch2_btree_pos_to_text+0xda/0x1f0 [ 89.277838][ T5111] ? bch2_btree_pos_to_text+0x1ed/0x1f0 [ 89.279971][ T5111] ? bch2_btree_pos_to_text+0x1ee/0x1f0 [ 89.282293][ T5111] ? bch2_btree_pos_to_text+0x1ed/0x1f0 [ 89.284409][ T5111] btree_node_read_work+0x486/0x1260 [ 89.286438][ T5111] ? __pfx_btree_node_read_work+0x10/0x10 [ 89.288564][ T5111] ? __bch2_time_stats_update+0x290/0x370 [ 89.290725][ T5111] ? __pfx_bch2_latency_acct+0x10/0x10 [ 89.292770][ T5111] ? bio_associate_blkg+0x6c/0x230 [ 89.294741][ T5111] bch2_btree_node_read+0x2433/0x2a10 [ 89.296933][ T5111] ? mark_lock+0x9a/0x360 [ 89.298589][ T5111] ? __pfx_bch2_btree_node_read+0x10/0x10 [ 89.300741][ T5111] ? __mutex_unlock_slowpath+0x21d/0x750 [ 89.302917][ T5111] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 89.305182][ T5111] ? __bch2_btree_node_hash_insert+0x1cd/0x1190 [ 89.307618][ T5111] ? __pfx___bch2_btree_node_hash_insert+0x10/0x10 [ 89.310185][ T5111] ? bch2_btree_node_mem_alloc+0xa3e/0x13b0 [ 89.312497][ T5111] ? six_unlock_ip+0x2ce/0x3e0 [ 89.314334][ T5111] ? bch2_btree_node_fill+0xc24/0x1320 [ 89.316456][ T5111] bch2_btree_node_fill+0xcd1/0x1320 [ 89.318518][ T5111] ? __pfx_lock_acquire+0x10/0x10 [ 89.320446][ T5111] ? __pfx_bch2_btree_node_fill+0x10/0x10 [ 89.322703][ T5111] ? __asan_memset+0x23/0x50 [ 89.324541][ T5111] ? btree_cache_find+0xa4/0x720 [ 89.326422][ T5111] bch2_btree_node_get_noiter+0x9b3/0xf50 [ 89.328631][ T5111] read_btree_nodes_worker+0x122c/0x20b0 [ 89.330848][ T5111] ? read_btree_nodes_worker+0xc2e/0x20b0 [ 89.333054][ T5111] ? __pfx_read_btree_nodes_worker+0x10/0x10 [ 89.335422][ T5111] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 89.337695][ T5111] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 89.340159][ T5111] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 89.342445][ T5111] ? __kthread_parkme+0x169/0x1d0 [ 89.344357][ T5111] ? __pfx_read_btree_nodes_worker+0x10/0x10 [ 89.346594][ T5111] kthread+0x2f0/0x390 [ 89.348204][ T5111] ? __pfx_read_btree_nodes_worker+0x10/0x10 [ 89.350465][ T5111] ? __pfx_kthread+0x10/0x10 [ 89.352272][ T5111] ret_from_fork+0x4b/0x80 [ 89.353977][ T5111] ? __pfx_kthread+0x10/0x10 [ 89.355731][ T5111] ret_from_fork_asm+0x1a/0x30 [ 89.357548][ T5111] [ 89.358732][ T5111] Modules linked in: [ 89.360530][ T5111] ---[ end trace 0000000000000000 ]--- [ 89.367530][ T5111] RIP: 0010:bch2_btree_pos_to_text+0x1ee/0x1f0 [ 89.369946][ T5111] Code: 00 00 fc ff df e9 70 ff ff ff 89 d9 80 e1 07 38 c1 0f 8c 7a ff ff ff 48 89 df e8 2d 90 ec fd e9 6d ff ff ff e8 b3 4b 85 fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa [ 89.379832][ T5111] RSP: 0018:ffffc9000315f448 EFLAGS: 00010293 [ 89.382296][ T5111] RAX: ffffffff840ede8d RBX: 00000000000000de RCX: ffff88801e138000 [ 89.385204][ T5111] RDX: 0000000000000000 RSI: 00000000000000de RDI: 0000000000000000 [ 89.388253][ T5111] RBP: 0000000000000000 R08: ffffffff840edd7a R09: 0000000000000000 [ 89.391586][ T5111] R10: ffffc9000315f5e0 R11: fffff5200062bec1 R12: ffff8880410b0000 [ 89.394606][ T5111] R13: ffff888041280000 R14: ffff888041280000 R15: ffffc9000315f5e0 [ 89.397575][ T5111] FS: 0000000000000000(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 [ 89.401317][ T5111] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 89.403803][ T5111] CR2: 0000559507bd4640 CR3: 0000000011a04000 CR4: 0000000000350ef0 [ 89.406727][ T5111] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 89.409662][ T5111] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 89.413199][ T5111] Kernel panic - not syncing: Fatal exception [ 89.415870][ T5111] Kernel Offset: disabled [ 89.417528][ T5111] Rebooting in 86400 seconds.. VM DIAGNOSIS: 00:22:10 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000020 RBX=ffffffff9a6d0da0 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000315ea70 R8 =ffffffff8543cf4b R9 =1ffff11003dd1046 R10=dffffc0000000000 R11=ffffffff8543cf00 R12=dffffc0000000000 R13=ffffffff9a3cdf64 R14=0000000000000020 R15=00000000000003f8 RIP=ffffffff8543cf7e 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 ffff88801fe00000 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=0000559507bd4640 CR3=000000003f78a000 CR4=00350ef0 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=0000000000000400 Opmask02=00000000ffffffff Opmask03=0000000000000000 Opmask04=00000000ffffffdf Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffcb9651640 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 6f746365735f7974 7269642020205d31 30313554205b5d38 38363434312e3900 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 6574636573557374 7263642020205731 3031355420515732 3236343431243300 ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 205d313031355420 5b5d353633373031 2e39382020205b3e 363c006e2c63616c ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 205d313031355420 5b26343633373031 2e39382020205b3e 3626006326632c64 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 786f7c65696f7865 64263e7066376465 6379796f787a6765 69266f7f64637e64 ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 26796f676b645564 65637e696b79646b 787e55666b64787f 6560656426736b66 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