Warning: Permanently added '10.128.1.42' (ED25519) to the list of known hosts. executing program [ 115.622202][ T6431] loop0: detected capacity change from 0 to 32768 [ 115.698195][ T6431] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 115.702447][ T6431] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 115.704593][ T6431] bcachefs (loop0): Version upgrade from 1.3: rebalance_work to 1.7: mi_btree_bitmap incomplete [ 115.704593][ T6431] Doing compatible version upgrade from 1.3: rebalance_work to 1.13: inode_has_child_snapshots [ 115.704593][ T6431] running recovery passes: check_allocations,check_subvols,check_inodes,check_dirents [ 115.720479][ T6431] bcachefs (loop0): error validating btree node on loop0 at btree inodes level 0/0 [ 115.720499][ T6431] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0 [ 115.720510][ T6431] node offset 0/24: incorrect min_key: got 0:327680:0 should be POS_MIN [ 115.727505][ T6431] bcachefs (loop0): flagging btree inodes lost data [ 115.730844][ T6431] error reading btree root inodes l=0: btree_node_read_error, fixing [ 115.732527][ T6431] bcachefs (loop0): will run btree node scan [ 115.734826][ T6431] bcachefs (loop0): error validating btree node on loop0 at btree dirents level 0/0 [ 115.734845][ T6431] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0 [ 115.734855][ T6431] node offset 16/24: btree node data missing: expected 24 sectors, found 16, fixing [ 115.741942][ T6431] bcachefs (loop0): btree_node_read_work: rewriting btree node at btree=dirents level=0 SPOS_MAX due to error [ 115.751389][ T6431] bcachefs (loop0): error validating btree node on loop0 at btree lru level 0/0 [ 115.751402][ T6431] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 280c1e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0 [ 115.751413][ T6431] node offset 0/16: got wrong btree node: got [ 115.751420][ T6431] btree=lru l=0 seq 2951579623591247874x [ 115.751428][ T6431] min: POS_MIN [ 115.751434][ T6431] max: SPOS_MAX [ 115.760727][ T6431] bcachefs (loop0): flagging btree lru lost data [ 115.763243][ T6431] error reading btree root lru l=0: btree_node_read_error, fixing [ 115.765453][ T6431] bcachefs (loop0): error validating btree node at btree backpointers level 0/0 [ 115.765466][ T6431] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 4a8b0fa43a9980a6 written 24 min_key POS_MIN durability: 1 ptr: 0:37:0 gen 0 [ 115.765476][ T6431] node offset 8/24 bset u64s 42 bset byte offset 208: keys out of order: u64s 9 type backpointer 3405774848:8126464:0 len 0 ver 0 > u64s 9 type backpointer 0:8912896:0 len 0 ver 0, fixing [ 115.774213][ T6431] bcachefs (loop0): btree_node_read_work: rewriting btree node at btree=backpointers level=0 SPOS_MAX due to error [ 115.777653][ T6431] bcachefs (loop0): scan_for_btree_nodes... [ 115.889715][ T6431] bch2_scan_for_btree_nodes: nodes found after overwrites: [ 115.889739][ T6431] extents l=0 seq=1 journal_seq=5 cookie=c6c25c03258c59c5 POS_MIN-SPOS_MAX ptr: 0:27:0 gen 0 [ 115.889748][ T6431] dirents l=0 seq=1 journal_seq=1 cookie=9aa2895aefce4bdf POS_MIN-SPOS_MAX ptr: 0:41:0 gen 0 [ 115.889758][ T6431] xattrs l=0 seq=1 journal_seq=4 cookie=2285c34bed0abe32 POS_MIN-SPOS_MAX ptr: 0:31:0 gen 0 [ 115.889766][ T6431] subvolumes l=0 seq=1 journal_seq=1 cookie=c0bef60d07ceb940 POS_MIN-SPOS_MAX ptr: 0:35:0 gen 0 [ 115.889775][ T6431] snapshots l=0 seq=1 journal_seq=1 cookie=ebb8d5a9e3463bdb POS_MIN-SPOS_MAX ptr: 0:32:0 gen 0 [ 115.889784][ T6431] lru l=0 seq=1 journal_seq=0 cookie=28f61e078e700002 POS_MIN-SPOS_MAX ptr: 0:28:0 gen 0 [ 115.889793][ T6431] deleted_inodes l=0 seq=1 journal_seq=0 cookie=1db8f60c84bb244c POS_MIN-SPOS_MAX ptr: 0:42:0 gen 0 [ 115.889802][ T6431] [ 115.907297][ T6431] done [ 115.907828][ T6431] bcachefs (loop0): check_topology... [ 115.907868][ T6431] bcachefs (loop0): btree root inodes unreadable, must recover from scan [ 115.910724][ T6431] no nodes found for btree inodes, continuing [ 115.912018][ T6431] bcachefs (loop0): btree root lru unreadable, must recover from scan [ 115.913881][ T6431] bcachefs (loop0): bch2_get_scanned_nodes(): recovering lru l=0 POS_MIN - SPOS_MAX [ 115.915866][ T6431] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e700002 written 8 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0 [ 115.920906][ T6431] done [ 115.921511][ T6431] bcachefs (loop0): accounting_read... done [ 115.994378][ T6431] bcachefs (loop0): alloc_read... done [ 115.995635][ T6431] bcachefs (loop0): stripes_read... done [ 115.996786][ T6431] bcachefs (loop0): snapshots_read... done [ 115.998165][ T6431] bcachefs (loop0): check_allocations... [ 116.000807][ T6431] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 116.000834][ T6431] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 116.007149][ T6431] bucket 0:31 data type btree ptr gen 0 missing in alloc btree [ 116.007162][ T6431] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 2285c34bed0abe32 written 16 min_key POS_MIN durability: 1 ptr: 0:31:0 gen 0, fixing [ 116.012689][ T6431] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 116.012702][ T6431] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 116.018368][ T6431] bucket 0:32 data type btree ptr gen 0 missing in alloc btree [ 116.018381][ T6431] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ebb8d5a9e3463bdb written 16 min_key POS_MIN durability: 1 ptr: 0:32:0 gen 0, fixing [ 116.023570][ T6431] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 116.023582][ T6431] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e700002 written 8 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 116.028483][ T6431] bucket 0:37 data type btree ptr gen 0 missing in alloc btree [ 116.028495][ T6431] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 4a8b0fa43a9980a6 written 24 min_key POS_MIN durability: 1 ptr: 0:37:0 gen 0, fixing [ 116.033486][ T6431] bucket 0:42 data type btree ptr gen 0 missing in alloc btree [ 116.033499][ T6431] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 1db8f60c84bb244c written 8 min_key POS_MIN durability: 1 ptr: 0:42:0 gen 0, fixing [ 116.038428][ T6431] bucket 0:0 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.040251][ T6431] bucket 0:0 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.042670][ T6431] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.044499][ T6431] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.046463][ T6431] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.048293][ T6431] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.050307][ T6431] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.052074][ T6431] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.054314][ T6431] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.056107][ T6431] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.058224][ T6431] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.060000][ T6431] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.061943][ T6431] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.063831][ T6431] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.065732][ T6431] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.067386][ T6431] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.069320][ T6431] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.071059][ T6431] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 116.073211][ T6431] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 116.074975][ T6431] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 116.077106][ T6431] bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 116.078855][ T6431] bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 116.080904][ T6431] bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 116.082676][ T6431] bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 116.085187][ T6431] bucket 0:12 gen 0 has wrong data_type: got free, should be journal, fixing [ 116.086909][ T6431] bucket 0:12 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 116.088964][ T6431] bucket 0:13 gen 0 has wrong data_type: got free, should be journal, fixing [ 116.090765][ T6431] bucket 0:13 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 116.092938][ T6431] bucket 0:14 gen 0 has wrong data_type: got free, should be journal, fixing [ 116.094752][ T6431] bucket 0:14 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 116.096854][ T6431] bucket 0:15 gen 0 has wrong data_type: got free, should be journal, fixing [ 116.098651][ T6431] bucket 0:15 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 116.100842][ T6431] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.102551][ T6431] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.104733][ T6431] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.106500][ T6431] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.108622][ T6431] bucket 0:18 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.110306][ T6431] bucket 0:18 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.112345][ T6431] bucket 0:19 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.114115][ T6431] bucket 0:19 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.116077][ T6431] bucket 0:20 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.117852][ T6431] bucket 0:20 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.119939][ T6431] bucket 0:21 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.121591][ T6431] bucket 0:21 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.123704][ T6431] bucket 0:22 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.125371][ T6431] bucket 0:22 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.127362][ T6431] bucket 0:23 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.129047][ T6431] bucket 0:23 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.131130][ T6431] bucket 0:24 gen 0 has wrong data_type: got free, should be journal, fixing [ 116.132969][ T6431] bucket 0:24 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 116.135306][ T6431] bucket 0:28 gen 0 has wrong data_type: got free, should be btree, fixing [ 116.137096][ T6431] bucket 0:28 gen 0 data type btree has wrong dirty_sectors: got 0, should be 32, fixing [ 116.139123][ T6431] bucket 0:31 gen 0 has wrong data_type: got free, should be btree, fixing [ 116.140717][ T6431] bucket 0:31 gen 0 data type btree has wrong dirty_sectors: got 0, should be 32, fixing [ 116.142778][ T6431] bucket 0:32 gen 0 has wrong data_type: got free, should be btree, fixing [ 116.144609][ T6431] bucket 0:32 gen 0 data type btree has wrong dirty_sectors: got 0, should be 32, fixing [ 116.146649][ T6431] bucket 0:35 gen 0 has wrong data_type: got free, should be btree, fixing [ 116.148395][ T6431] bucket 0:35 gen 0 data type btree has wrong dirty_sectors: got 0, should be 32, fixing [ 116.150426][ T6431] bucket 0:37 gen 0 has wrong data_type: got free, should be btree, fixing [ 116.152164][ T6431] bucket 0:37 gen 0 data type btree has wrong dirty_sectors: got 0, should be 32, fixing [ 116.154367][ T6431] bucket 0:41 gen 0 has wrong data_type: got free, should be btree, fixing [ 116.156201][ T6431] bucket 0:41 gen 0 data type btree has wrong dirty_sectors: got 0, should be 32, fixing [ 116.158320][ T6431] bucket 0:42 gen 0 has wrong data_type: got free, should be btree, fixing [ 116.160039][ T6431] bucket 0:42 gen 0 data type btree has wrong dirty_sectors: got 0, should be 32, fixing [ 116.162850][ T6431] bucket 0:120 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.164703][ T6431] bucket 0:120 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.166677][ T6431] bucket 0:121 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.168403][ T6431] bucket 0:121 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.170411][ T6431] bucket 0:122 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.172095][ T6431] bucket 0:122 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.174162][ T6431] bucket 0:123 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.175860][ T6431] bucket 0:123 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.177868][ T6431] bucket 0:124 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.179507][ T6431] bucket 0:124 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.181461][ T6431] bucket 0:125 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.183264][ T6431] bucket 0:125 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.185410][ T6431] bucket 0:126 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.187240][ T6431] bucket 0:126 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.189111][ T6431] bucket 0:127 gen 0 has wrong data_type: got free, should be sb, fixing [ 116.190838][ T6431] bucket 0:127 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 116.233687][ T6431] done [ 116.234703][ T6431] bcachefs (loop0): going read-write [ 116.237279][ T6431] bcachefs (loop0): journal_replay... done [ 116.460046][ T6431] bcachefs (loop0): check_subvols... [ 116.460457][ T6431] subvolume 1 points to missing subvolume root 4096:4294967295, fixing [ 116.464144][ T6431] done [ 116.465310][ T6431] bcachefs (loop0): check_inodes... done [ 116.466490][ T6431] bcachefs (loop0): check_dirents... [ 116.513637][ T6431] hash table key at wrong offset: btree dirents inode 4096 offset 8130059955150870709, hashed to 7239585846335378848 [ 116.513662][ T6431] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 116.519619][ T6431] done [ 116.521241][ T6431] bcachefs (loop0): resume_logged_ops... done [ 116.522616][ T6431] bcachefs (loop0): delete_dead_inodes... done [ 117.902339][ T6238] bcachefs (loop0): bch2_delete_dead_snapshots(): error deleting snapshot 4294967295 ENOENT_bkey_type_mismatch [ 117.905432][ T6238] bcachefs (loop0): bch2_delete_dead_snapshots(): error ENOENT_bkey_type_mismatch [ 117.905461][ T6431] bcachefs (loop0): done starting filesystem [ 117.909658][ T6431] bcachefs (loop0): missing subvolume 1 [ 117.910897][ T6431] bcachefs (loop0): bch2_fs_get_tree(): error mounting: error getting root inode ENOENT_bkey_type_mismatch [ 117.914023][ T6431] bcachefs (loop0): shutting down [ 117.915331][ T6431] bcachefs (loop0): going read-only [ 117.917277][ T10] bcachefs (loop0): bch2_do_discards_fast_work(): error erofs_trans_commit [ 117.919054][ T6431] bcachefs (loop0): finished waiting for writes to stop [ 118.004382][ T6431] bcachefs (loop0): flushing journal and stopping allocators, journal seq 132 [ 284.643292][ T31] INFO: task bch-reclaim/loo:6440 blocked for more than 143 seconds. [ 284.645106][ T31] Not tainted 6.13.0-rc3-syzkaller-g573067a5a685 #0 [ 284.646478][ T31] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 284.648332][ T31] task:bch-reclaim/loo state:D stack:0 pid:6440 tgid:6440 ppid:2 flags:0x00000008 [ 284.650236][ T31] Call trace: [ 284.650922][ T31] __switch_to+0x414/0x788 (T) [ 284.651856][ T31] __schedule+0x1744/0x27f0 [ 284.652733][ T31] schedule+0xbc/0x238 [ 284.654721][ T31] schedule_preempt_disabled+0x18/0x2c [ 284.655822][ T31] __mutex_lock_common+0xeec/0x28f4 [ 284.656828][ T31] mutex_lock_nested+0x2c/0x38 [ 284.657738][ T31] btree_write_buffer_flush_seq+0x10fc/0x1254 [ 284.658902][ T31] bch2_btree_write_buffer_journal_flush+0xcc/0x154 [ 284.660186][ T31] journal_flush_pins+0x524/0xa10 [ 284.661149][ T31] __bch2_journal_reclaim+0x728/0xfb0 [ 284.662175][ T31] bch2_journal_reclaim_thread+0x154/0x4b8 [ 284.664035][ T31] kthread+0x288/0x310 [ 284.664843][ T31] ret_from_fork+0x10/0x20 [ 284.665699][ T31] [ 284.665699][ T31] Showing all locks held in the system: [ 284.667214][ T31] 1 lock held by khungtaskd/31: [ 284.668188][ T31] #0: ffff80008fb82560 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0xc/0x44 [ 284.670039][ T31] 2 locks held by getty/6174: [ 284.670935][ T31] #0: ffff0000d311f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c [ 284.672778][ T31] #1: ffff80009ba2b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41c/0x1228 [ 284.675487][ T31] 7 locks held by syz-executor282/6431: [ 284.676618][ T31] 3 locks held by bch-reclaim/loo/6440: [ 284.677689][ T31] #0: ffff0000e1c4b0a8 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x144/0x4b8 [ 284.679879][ T31] #1: ffff0000e1c04398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 [ 284.681868][ T31] #2: ffff0000e1c04740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x10fc/0x1254 [ 284.684634][ T31] [ 284.685117][ T31] ============================================= [ 284.685117][ T31] [ 284.686733][ T31] Kernel panic - not syncing: hung_task: blocked tasks [ 284.688080][ T31] CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.13.0-rc3-syzkaller-g573067a5a685 #0 [ 284.689943][ T31] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 284.691863][ T31] Call trace: [ 284.692461][ T31] show_stack+0x2c/0x3c (C) [ 284.693318][ T31] dump_stack_lvl+0xe4/0x150 [ 284.694210][ T31] dump_stack+0x1c/0x28 [ 284.695030][ T31] panic+0x300/0x8a0 [ 284.695780][ T31] hung_task_panic+0x0/0x2c [ 284.696716][ T31] kthread+0x288/0x310 [ 284.697546][ T31] ret_from_fork+0x10/0x20 [ 284.698482][ T31] SMP: stopping secondary CPUs [ 284.699455][ T31] Kernel Offset: disabled [ 284.700343][ T31] CPU features: 0x100,00002070,00800250,82017203 [ 284.701591][ T31] Memory Limit: none [ 285.055511][ T31] Rebooting in 86400 seconds..