./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor950178974 <...> Warning: Permanently added '10.128.0.231' (ED25519) to the list of known hosts. execve("./syz-executor950178974", ["./syz-executor950178974"], 0x7ffe5ddaecb0 /* 10 vars */) = 0 brk(NULL) = 0x555585414000 brk(0x555585414d00) = 0x555585414d00 arch_prctl(ARCH_SET_FS, 0x555585414380) = 0 set_tid_address(0x555585414650) = 5822 set_robust_list(0x555585414660, 24) = 0 rseq(0x555585414ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor950178974", 4096) = 27 getrandom("\x51\xae\x30\x96\x52\xdb\x91\x8f", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555585414d00 brk(0x555585435d00) = 0x555585435d00 brk(0x555585436000) = 0x555585436000 mprotect(0x7f311bec5000, 16384, PROT_READ) = 0 mmap(0x1ffffffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffffffff000 mmap(0x200000000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200000000000 mmap(0x200001000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200001000000 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5824 attached [pid 5824] set_robust_list(0x555585414660, 24) = 0 [pid 5824] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5822] <... clone resumed>, child_tidptr=0x555585414650) = 5824 [pid 5824] <... prctl resumed>) = 0 [pid 5824] setpgid(0, 0) = 0 [pid 5824] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5824] write(3, "1000", 4) = 4 [pid 5824] close(3) = 0 [pid 5824] write(1, "executing program\n", 18executing program ) = 18 [pid 5824] memfd_create("syzkaller", 0) = 3 [pid 5824] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3113a00000 [pid 5824] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5824] munmap(0x7f3113a00000, 138412032) = 0 [pid 5824] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5824] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5824] close(3) = 0 [pid 5824] close(4) = 0 [pid 5824] mkdir("./file1", 0777) = 0 [ 89.601060][ T5824] loop0: detected capacity change from 0 to 32768 [ 89.694041][ T5824] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 89.720485][ T5824] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 89.720485][ T5824] allowing incompatible features above 0.0: (unknown version) [ 89.744693][ T5824] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 89.753274][ T5824] bcachefs (loop0): Version upgrade required: [ 89.753274][ T5824] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 89.753274][ T5824] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 89.753274][ T5824] 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 [ 89.825818][ T5824] bcachefs (loop0): invalid btree id 255 (max 63), fixing [ 89.834769][ T5824] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree inodes level 0/0 [ 89.834785][ T5824] 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 [ 89.834796][ T5824] node offset 8/24 bset u64s 29 bset byte offset 248: bad k->u64s 0 (min 3 max 253), fixing [ 89.869204][ T5824] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree inodes level 0/0 [ 89.869218][ T5824] 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 [ 89.869230][ T5824] node offset 16/24 bset u64s 110 bset byte offset 536: keys out of order: u64s 18 type inode_generation 0:201098958737412:4294901760 len 0 ver 0 > u64s 18 type inode_v3 0:536870912:U32_MAX len 0 ver 0, fixing [ 89.913794][ T5824] bcachefs (loop0): invalid bkey in btree_node btree=inodes level=0: u64s 14 type inode_v3 0:4097:U32_MAX len 0 ver 0: (unpack error) [ 89.913810][ T5824] invalid variable length fields, deleting [ 89.933961][ T5824] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 89.933961][ T5824] btree=inodes level=0 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 [ 89.962112][ T5824] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 89.973775][ T5824] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree freespace level 0/0 [ 89.973797][ T5824] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0 [ 89.973810][ T5824] node offset 0/32 bset u64s 0: incorrect max key 18446744073692775423:U64_MAX:U32_MAX, btree topology error: [ 90.010853][ T5824] bcachefs (loop0): flagging btree freespace lost data [ 90.019932][ T5824] bcachefs (loop0): error reading btree root btree=freespace level=0: btree_node_read_error, fixing [ 90.034160][ T5824] bcachefs (loop0): check_topology... done [ 90.041303][ T5824] bcachefs (loop0): accounting_read... done [ 90.048416][ T5824] bcachefs (loop0): alloc_read... done [ 90.054043][ T5824] bcachefs (loop0): snapshots_read... done [ 90.060478][ T5824] bcachefs (loop0): check_allocations... [ 90.065954][ T5824] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 90.065987][ T5824] while marking 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, fixing [ 90.097476][ T5824] bcachefs (loop0): bucket 0:31 data type btree ptr gen 0 missing in alloc btree [ 90.097489][ T5824] 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 [ 90.123921][ T5824] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 90.123935][ T5824] 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 [ 90.150518][ T5824] bcachefs (loop0): bucket 0:32 data type btree ptr gen 0 missing in alloc btree [ 90.150532][ T5824] 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 [ 90.175677][ T5824] bcachefs (loop0): bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 90.175692][ T5824] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 90.200970][ T5824] bcachefs (loop0): bucket 0:37 data type btree ptr gen 0 missing in alloc btree [ 90.200984][ T5824] 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 [ 90.226872][ T5824] bcachefs (loop0): bucket 0:42 data type btree ptr gen 0 missing in alloc btree [ 90.226894][ T5824] 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 [ 90.251968][ T5824] bcachefs (loop0): bucket 0:0 gen 0 has wrong data_type: got free, should be sb, fixing [ 90.262134][ T5824] bcachefs (loop0): bucket 0:0 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 90.274114][ T5824] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 90.284153][ T5824] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 90.295666][ T5824] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 90.305634][ T5824] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 90.317045][ T5824] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 90.327048][ T5824] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 90.338398][ T5824] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 90.348621][ T5824] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 90.360079][ T5824] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 90.370152][ T5824] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 90.381545][ T5824] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 90.391545][ T5824] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 90.402896][ T5824] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 90.412913][ T5824] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 90.424593][ T5824] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 90.434604][ T5824] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 90.445813][ T5824] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 90.456223][ T5824] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 90.468111][ T5824] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 90.468125][ T5824] Ratelimiting new instances of previous error [ 90.485298][ T5824] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 90.485317][ T5824] Ratelimiting new instances of previous error [ 90.513125][ T5824] done [ 90.517349][ T5824] bcachefs (loop0): going read-write [ 90.527303][ T5824] bcachefs (loop0): journal_replay... [ 90.541372][ T1311] bcachefs (loop0): bucket incorrectly unset in freespace btree [ 90.541390][ T1311] u64s 5 type deleted 0:25:0 len 0 ver 0, , continuing [ 90.579454][ T1311] bcachefs (loop0): bucket incorrectly unset in freespace btree [ 90.579469][ T1311] u64s 5 type deleted 0:26:0 len 0 ver 0, , continuing [ 90.604971][ T5824] done [ 90.608639][ T5824] bcachefs (loop0): check_alloc_info... [ 90.611097][ T5824] bcachefs (loop0): hole in alloc btree missing in freespace btree [ 90.611114][ T5824] device 0 buckets 27-28, fixing [ 90.631200][ T5824] bcachefs (loop0): hole in alloc btree missing in freespace btree [ 90.631217][ T5824] device 0 buckets 29-31, fixing [ 90.645627][ T5824] bcachefs (loop0): hole in alloc btree missing in freespace btree [ 90.645645][ T5824] device 0 buckets 33-35, fixing [ 90.659164][ T5824] bcachefs (loop0): hole in alloc btree missing in freespace btree [ 90.659181][ T5824] device 0 buckets 36-37, fixing [ 90.672644][ T5824] bcachefs (loop0): hole in alloc btree missing in freespace btree [ 90.672662][ T5824] device 0 buckets 39-42, fixing [ 90.686147][ T5824] bcachefs (loop0): hole in alloc btree missing in freespace btree [ 90.686165][ T5824] device 0 buckets 43-120, fixing [ 90.701978][ T5824] done [ 90.707010][ T5824] bcachefs (loop0): check_lrus... [ 90.714584][ T5824] bcachefs (loop0): incorrect lru entry: lru fragmentation time 134217728 [ 90.714605][ T5824] u64s 5 type set 18446462598867058688:34:0 len 0 ver 0 [ 90.714617][ T5824] for u64s 5 type deleted 0:34:0 len 0 ver 0, fixing [ 90.744115][ T5824] done [ 90.751646][ T5824] bcachefs (loop0): check_btree_backpointers... [ 90.752475][ T5824] bcachefs (loop0): backpointer for nonexistent alloc key: 0:34:0 [ 90.752488][ T5824] u64s 9 type backpointer 0:8912896:0 len 0 ver 0: bucket=0:34:0 btree=extents level=0 data_type=user suboffset=0 len=8 gen=0 pos=4099:8:U32_MAX, fixing [ 90.785058][ T5824] bcachefs (loop0): backpointer for nonexistent alloc key: 0:34:0 [ 90.785072][ T5824] u64s 9 type backpointer 0:8921088:0 len 0 ver 0: bucket=0:34:8 btree=extents level=0 data_type=user suboffset=0 len=8 gen=0 pos=536870913:24:U32_MAX, fixing [ 90.809145][ T5824] done [ 90.813521][ T5824] bcachefs (loop0): check_backpointers_to_extents... done [ 90.824410][ T5824] bcachefs (loop0): check_extents_to_backpointers... [ 90.826209][ T5824] bcachefs (loop0): scanning for missing backpointers in 4/128 buckets [ 90.842265][ T5824] done [ 90.847669][ T5824] bcachefs (loop0): check_alloc_to_lru_refs... [ 90.849123][ T5824] bcachefs (loop0): missing fragmentation lru entry [ 90.849134][ T5824] u64s 13 type alloc_v4 0:31:0 len 0 ver 0: [ 90.849142][ T5824] gen 0 oldest_gen 0 data_type btree [ 90.849149][ T5824] journal_seq_nonempty 0 [ 90.849156][ T5824] journal_seq_empty 0 [ 90.849163][ T5824] need_discard 0 [ 90.849169][ T5824] need_inc_gen 0 [ 90.849176][ T5824] dirty_sectors 32 [ 90.849182][ T5824] stripe_sectors 0 [ 90.849201][ T5824] cached_sectors 0 [ 90.849207][ T5824] stripe 0 [ 90.849214][ T5824] stripe_redundancy 0 [ 90.849220][ T5824] io_time[READ] 0 [ 90.849226][ T5824] io_time[WRITE] 0 [ 90.849250][ T5824] fragmentation 268435456 [ 90.849257][ T5824] bp_start 8 [ 90.849264][ T5824] , fixing [ 90.937617][ T5824] bcachefs (loop0): missing fragmentation lru entry [ 90.937636][ T5824] u64s 13 type alloc_v4 0:32:0 len 0 ver 0: [ 90.937647][ T5824] gen 0 oldest_gen 0 data_type btree [ 90.937657][ T5824] journal_seq_nonempty 0 [ 90.937666][ T5824] journal_seq_empty 0 [ 90.937676][ T5824] need_discard 0 [ 90.937685][ T5824] need_inc_gen 0 [ 90.937694][ T5824] dirty_sectors 32 [ 90.937704][ T5824] stripe_sectors 0 [ 90.937711][ T5824] cached_sectors 0 [ 90.937717][ T5824] stripe 0 [ 90.937723][ T5824] stripe_redundancy 0 [ 90.937730][ T5824] io_time[READ] 0 [ 90.937736][ T5824] io_time[WRITE] 0 [ 90.937743][ T5824] fragmentation 268435456 [ 90.937749][ T5824] bp_start 8 [ 90.937755][ T5824] , fixing [ 91.021398][ T5824] bcachefs (loop0): missing fragmentation lru entry [ 91.021415][ T5824] u64s 13 type alloc_v4 0:35:0 len 0 ver 0: [ 91.021426][ T5824] gen 0 oldest_gen 0 data_type btree [ 91.021436][ T5824] journal_seq_nonempty 0 [ 91.021443][ T5824] journal_seq_empty 0 [ 91.021449][ T5824] need_discard 0 [ 91.021455][ T5824] need_inc_gen 0 [ 91.021462][ T5824] dirty_sectors 32 [ 91.021468][ T5824] stripe_sectors 0 [ 91.021475][ T5824] cached_sectors 0 [ 91.021481][ T5824] stripe 0 [ 91.021487][ T5824] stripe_redundancy 0 [ 91.021494][ T5824] io_time[READ] 0 [ 91.021500][ T5824] io_time[WRITE] 0 [ 91.021506][ T5824] fragmentation 268435456 [ 91.021513][ T5824] bp_start 8 [ 91.021519][ T5824] , fixing [ 91.103813][ T5824] bcachefs (loop0): missing fragmentation lru entry [ 91.103825][ T5824] u64s 13 type alloc_v4 0:42:0 len 0 ver 0: [ 91.103833][ T5824] gen 0 oldest_gen 0 data_type btree [ 91.103839][ T5824] journal_seq_nonempty 0 [ 91.103846][ T5824] journal_seq_empty 0 [ 91.103852][ T5824] need_discard 0 [ 91.103859][ T5824] need_inc_gen 0 [ 91.103865][ T5824] dirty_sectors 32 [ 91.103871][ T5824] stripe_sectors 0 [ 91.103878][ T5824] cached_sectors 0 [ 91.103884][ T5824] stripe 0 [ 91.103890][ T5824] stripe_redundancy 0 [ 91.103897][ T5824] io_time[READ] 0 [ 91.103903][ T5824] io_time[WRITE] 0 [ 91.103910][ T5824] fragmentation 268435456 [ 91.103916][ T5824] bp_start 8 [ 91.103922][ T5824] , fixing [ 91.185965][ T5824] done [ 91.190586][ T5824] bcachefs (loop0): bucket_gens_init... done [ 91.199480][ T5824] bcachefs (loop0): check_snapshot_trees... done [ 91.206988][ T5824] bcachefs (loop0): check_snapshots... [ 91.207591][ T5824] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 91.207603][ T5824] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: is_subvol 1 deleted 0 parent 0 children 0 0 subvol 1 tree 0, fixing [ 91.239564][ T5824] done [ 91.244539][ T5824] bcachefs (loop0): check_subvols... done [ 91.252290][ T5824] bcachefs (loop0): check_subvol_children... done [ 91.260127][ T5824] bcachefs (loop0): delete_dead_snapshots... done [ 91.267606][ T5824] bcachefs (loop0): check_inodes... [ 91.268583][ T5824] bcachefs (loop0): inode points to missing dirent [ 91.268595][ T5824] inum: 4098:4294967295 [ 91.268602][ T5824] mode=40755 [ 91.268608][ T5824] flags=(15300000) [ 91.268614][ T5824] journal_seq=4 [ 91.268621][ T5824] hash_seed=ece93825deac2443 [ 91.268628][ T5824] hash_type=siphash [ 91.268634][ T5824] bi_size=12666373951979520 [ 91.268641][ T5824] bi_sectors=0 [ 91.268647][ T5824] bi_version=0 [ 91.268653][ T5824] bi_atime=2770562249 [ 91.268660][ T5824] bi_ctime=2780562352 [ 91.268666][ T5824] bi_mtime=2780562352 [ 91.268673][ T5824] bi_otime=2770562249 [ 91.268679][ T5824] bi_uid=0 [ 91.268685][ T5824] bi_gid=0 [ 91.268692][ T5824] bi_nlink=0 [ 91.268698][ T5824] bi_generation=0 [ 91.268704][ T5824] bi_dev=0 [ 91.268710][ T5824] bi_data_checksum=0 [ 91.268717][ T5824] bi_compression=0 [ 91.268723][ T5824] bi_project=0 [ 91.268729][ T5824] bi_background_compression=0 [ 91.268736][ T5824] bi_data_replicas=0 [ 91.268743][ T5824] bi_promote_target=0 [ 91.268749][ T5824] bi_foreground_target=0 [ 91.268756][ T5824] bi_background_target=0 [ 91.268763][ T5824] bi_erasure_code=0 [ 91.268769][ T5824] bi_fields_set=0 [ 91.268775][ T5824] bi_dir=4096 [ 91.268782][ T5824] bi_dir_offset=189491840996961599 [ 91.268789][ T5824] bi_subvol=0 [ 91.268795][ T5824] bi_parent_subvol=0 [ 91.268801][ T5824] bi_nocow=0 [ 91.268807][ T5824] bi_depth=0 [ 91.268814][ T5824] bi_inodes_32bit=0 [ 91.268820][ T5824] bi_casefold=0, fixing [ 91.430409][ T5824] bcachefs (loop0): inode points to missing dirent [ 91.430426][ T5824] inum: 4099:4294967295 [ 91.430433][ T5824] mode=100755 [ 91.430440][ T5824] flags=(15300000) [ 91.430446][ T5824] journal_seq=5 [ 91.430452][ T5824] hash_seed=fc917866faeb7b5b [ 91.430459][ T5824] hash_type=siphash [ 91.430466][ T5824] bi_size=1050 [ 91.430472][ T5824] bi_sectors=8 [ 91.430478][ T5824] bi_version=0 [ 91.430485][ T5824] bi_atime=2770562249 [ 91.430491][ T5824] bi_ctime=2770562249 [ 91.430498][ T5824] bi_mtime=2770562249 [ 91.430504][ T5824] bi_otime=2770562249 [ 91.430511][ T5824] bi_uid=0 [ 91.430517][ T5824] bi_gid=0 [ 91.430523][ T5824] bi_nlink=0 [ 91.430529][ T5824] bi_generation=0 [ 91.430536][ T5824] bi_dev=0 [ 91.430542][ T5824] bi_data_checksum=0 [ 91.430548][ T5824] bi_compression=0 [ 91.430554][ T5824] bi_project=0 [ 91.430561][ T5824] bi_background_compression=0 [ 91.430568][ T5824] bi_data_replicas=0 [ 91.430574][ T5824] bi_promote_target=0 [ 91.430581][ T5824] bi_foreground_target=0 [ 91.430587][ T5824] bi_background_target=0 [ 91.430594][ T5824] bi_erasure_code=0 [ 91.430600][ T5824] bi_fields_set=0 [ 91.430607][ T5824] bi_dir=32 [ 91.430613][ T5824] bi_dir_offset=8977922886548783724 [ 91.430620][ T5824] bi_subvol=0 [ 91.430626][ T5824] bi_parent_subvol=0 [ 91.430632][ T5824] bi_nocow=0 [ 91.430639][ T5824] bi_depth=0 [ 91.430645][ T5824] bi_inodes_32bit=0 [ 91.430651][ T5824] bi_casefold=0, fixing [ 91.585056][ T5824] bcachefs (loop0): key in missing snapshot inodes u64s 18 type inode_generation 0:201098958737412:4294901760 len 0 ver 0: generation: 4, deleting [ 91.600225][ T5824] done [ 91.604668][ T5824] bcachefs (loop0): check_extents... done [ 91.611761][ T5824] bcachefs (loop0): check_indirect_extents... done [ 91.619469][ T5824] bcachefs (loop0): check_dirents... done [ 91.626533][ T5824] bcachefs (loop0): check_xattrs... [ 91.627310][ T5824] bcachefs (loop0): key in missing inode: [ 91.627321][ T5824] u64s 7 type xattr 536870912:3798421620223919902:U32_MAX len 0 ver 0: user.xattr2:xattr2, fixing [ 91.649522][ T5824] bcachefs (loop0): key in missing inode: [ 91.649533][ T5824] u64s 7 type xattr 536870912:9073845653939145521:U32_MAX len 0 ver 0: user.xattr1:xattr1, fixing [ 91.666193][ T5824] done [ 91.670620][ T5824] bcachefs (loop0): check_root... done [ 91.677516][ T5824] bcachefs (loop0): check_unreachable_inodes... [ 91.678612][ T5824] bcachefs (loop0): unreachable inode: [ 91.678623][ T5824] inum: 4098:4294967295 [ 91.678629][ T5824] mode=40755 [ 91.678636][ T5824] flags=(4300000) [ 91.678642][ T5824] journal_seq=26 [ 91.678649][ T5824] hash_seed=ece93825deac2443 [ 91.678656][ T5824] hash_type=siphash [ 91.678662][ T5824] bi_size=12666373951979520 [ 91.678669][ T5824] bi_sectors=0 [ 91.678675][ T5824] bi_version=0 [ 91.678682][ T5824] bi_atime=2770562249 [ 91.678688][ T5824] bi_ctime=2780562352 [ 91.678695][ T5824] bi_mtime=2780562352 [ 91.678701][ T5824] bi_otime=2770562249 [ 91.678708][ T5824] bi_uid=0 [ 91.678714][ T5824] bi_gid=0 [ 91.678720][ T5824] bi_nlink=0 [ 91.678726][ T5824] bi_generation=0 [ 91.678732][ T5824] bi_dev=0 [ 91.678738][ T5824] bi_data_checksum=0 [ 91.678745][ T5824] bi_compression=0 [ 91.678751][ T5824] bi_project=0 [ 91.678757][ T5824] bi_background_compression=0 [ 91.678764][ T5824] bi_data_replicas=0 [ 91.678771][ T5824] bi_promote_target=0 [ 91.678777][ T5824] bi_foreground_target=0 [ 91.678784][ T5824] bi_background_target=0 [ 91.678791][ T5824] bi_erasure_code=0 [ 91.678797][ T5824] bi_fields_set=0 [ 91.678803][ T5824] bi_dir=0 [ 91.678809][ T5824] bi_dir_offset=0 [ 91.678816][ T5824] bi_subvol=0 [ 91.678822][ T5824] bi_parent_subvol=0 [ 91.678828][ T5824] bi_nocow=0 [ 91.678835][ T5824] bi_depth=0 [ 91.678841][ T5824] bi_inodes_32bit=0 [ 91.678847][ T5824] bi_casefold=0, fixing [ 91.798291][ T48] cfg80211: failed to load regulatory.db [ 91.805414][ T5824] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 91.853668][ T5824] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 91.864041][ T5824] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 91.873496][ T5824] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 91.882795][ T5824] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 91.893036][ T5824] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 91.902770][ T5824] ------------[ cut here ]------------ [ 91.908274][ T5824] kernel BUG at fs/bcachefs/btree_iter.c:1828! [ 91.914461][ T5824] Oops: invalid opcode: 0000 [#1] SMP KASAN PTI [ 91.920705][ T5824] CPU: 0 UID: 0 PID: 5824 Comm: syz-executor950 Not tainted 6.15.0-rc7-syzkaller-00142-g4856ebd99715 #0 PREEMPT(full) [ 91.933114][ T5824] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 91.943172][ T5824] RIP: 0010:bch2_btree_path_peek_slot+0xfaf/0xff0 [ 91.949590][ T5824] Code: f7 ff ff 48 89 74 24 08 be 08 00 00 00 89 54 24 04 e8 e5 96 05 fe 48 8b 74 24 08 8b 54 24 04 e9 23 f7 ff ff e8 02 c0 a5 fd 90 <0f> 0b e8 fa bf a5 fd 90 0f 0b e8 f2 bf a5 fd 90 0f 0b e8 ea bf a5 [ 91.969202][ T5824] RSP: 0018:ffffc900043fe980 EFLAGS: 00010293 [ 91.975272][ T5824] RAX: ffffffff841a30de RBX: 0000000000004361 RCX: ffff888079a71e00 [ 91.983242][ T5824] RDX: 0000000000000000 RSI: 0000000000000100 RDI: 0000000000000000 [ 91.991216][ T5824] RBP: ffffc900043fea90 R08: ffffc900043feb47 R09: 0000000000000000 [ 91.999200][ T5824] R10: ffffc900043feb20 R11: fffff5200087fd69 R12: ffff888079af8a60 [ 92.007170][ T5824] R13: ffff888079af8a80 R14: ffffc900043feb20 R15: 1ffff1100f35f14f [ 92.015158][ T5824] FS: 0000555585414380(0000) GS:ffff8881260f6000(0000) knlGS:0000000000000000 [ 92.024092][ T5824] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 92.030677][ T5824] CR2: 00007fffcc1d0f88 CR3: 0000000075afe000 CR4: 00000000003526f0 [ 92.038649][ T5824] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 92.046619][ T5824] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 92.054592][ T5824] Call Trace: [ 92.057871][ T5824] [ 92.060806][ T5824] ? __pfx_bch2_btree_path_peek_slot+0x10/0x10 [ 92.066970][ T5824] ? is_bpf_text_address+0x292/0x2b0 [ 92.072260][ T5824] ? is_bpf_text_address+0x26/0x2b0 [ 92.077466][ T5824] verify_update_old_key+0x118/0x790 [ 92.082756][ T5824] ? unwind_get_return_address+0x4d/0x90 [ 92.088389][ T5824] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 92.094543][ T5824] ? __pfx_verify_update_old_key+0x10/0x10 [ 92.100356][ T5824] ? stack_trace_save+0x9c/0xe0 [ 92.105208][ T5824] ? __bch2_trans_commit+0x69c/0x8ae0 [ 92.110587][ T5824] __bch2_trans_commit+0x364/0x8ae0 [ 92.115791][ T5824] ? __kasan_slab_free+0x21/0x70 [ 92.120741][ T5824] ? bch2_check_unreachable_inodes+0x45b/0xe90 [ 92.126905][ T5824] ? __pfx___bch2_trans_commit+0x10/0x10 [ 92.132549][ T5824] ? lockdep_hardirqs_on+0x9c/0x150 [ 92.137761][ T5824] ? bch2_printbuf_exit+0x6f/0xb0 [ 92.142790][ T5824] ? kfree+0x193/0x440 [ 92.146869][ T5824] bch2_check_unreachable_inodes+0x45b/0xe90 [ 92.152856][ T5824] ? bch2_check_unreachable_inodes+0x1ce/0xe90 [ 92.159034][ T5824] ? __pfx_bch2_check_unreachable_inodes+0x10/0x10 [ 92.165539][ T5824] ? __console_unlock+0x14c/0x1a0 [ 92.170570][ T5824] ? bch2_check_unreachable_inodes+0x1ce/0xe90 [ 92.176730][ T5824] ? __pfx_llist_add_batch+0x10/0x10 [ 92.182021][ T5824] ? irq_work_queue+0xbc/0x140 [ 92.186790][ T5824] ? __wake_up_klogd+0xd9/0x110 [ 92.191642][ T5824] ? __pfx_vprintk_emit+0x10/0x10 [ 92.196670][ T5824] ? __bch2_print+0x176/0x220 [ 92.201351][ T5824] ? bch2_check_unreachable_inodes+0x1ce/0xe90 [ 92.207516][ T5824] bch2_run_recovery_pass+0xe2/0x1d0 [ 92.212808][ T5824] bch2_run_recovery_passes+0x2a0/0xdb0 [ 92.218368][ T5824] bch2_fs_recovery+0x2399/0x37b0 [ 92.223402][ T5824] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 92.228779][ T5824] ? __lock_acquire+0xaac/0xd20 [ 92.233639][ T5824] ? __lock_acquire+0xaac/0xd20 [ 92.238502][ T5824] ? percpu_ref_put+0x1e/0x230 [ 92.243274][ T5824] ? bch2_get_next_online_dev+0x2d/0x4d0 [ 92.248916][ T5824] ? bch2_fs_start+0x65b/0xae0 [ 92.253684][ T5824] ? up_write+0x1c4/0x420 [ 92.258017][ T5824] bch2_fs_start+0x70b/0xae0 [ 92.262623][ T5824] ? __pfx_bch2_fs_start+0x10/0x10 [ 92.267753][ T5824] ? sget+0x28a/0x650 [ 92.271745][ T5824] bch2_fs_get_tree+0xad7/0x13b0 [ 92.276704][ T5824] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 92.282083][ T5824] ? smack_fs_context_parse_param+0x102/0x170 [ 92.288172][ T5824] ? vfs_parse_monolithic_sep+0x2e3/0x310 [ 92.293904][ T5824] ? cap_capable+0x11f/0x460 [ 92.298496][ T5824] ? bch2_init_fs_context+0x88/0x110 [ 92.303784][ T5824] ? safesetid_security_capable+0xa9/0x1a0 [ 92.309595][ T5824] vfs_get_tree+0x92/0x2b0 [ 92.314021][ T5824] do_new_mount+0x24a/0xa40 [ 92.318540][ T5824] __se_sys_mount+0x317/0x410 [ 92.323227][ T5824] ? __pfx___se_sys_mount+0x10/0x10 [ 92.328427][ T5824] ? __x64_sys_mount+0x20/0xc0 [ 92.333190][ T5824] do_syscall_64+0xf6/0x210 [ 92.337698][ T5824] ? clear_bhb_loop+0x60/0xb0 [ 92.342375][ T5824] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 92.348268][ T5824] RIP: 0033:0x7f311be4e0aa [ 92.352698][ T5824] 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 [ 92.372325][ T5824] RSP: 002b:00007fff111e0d68 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 92.380747][ T5824] RAX: ffffffffffffffda RBX: 00007fff111e0d80 RCX: 00007f311be4e0aa [ 92.388719][ T5824] RDX: 0000200000000000 RSI: 0000200000000180 RDI: 00007fff111e0d80 [ 92.396781][ T5824] RBP: 0000200000000180 R08: 00007fff111e0dc0 R09: 0037373737373737 [ 92.404751][ T5824] R10: 0000000000000000 R11: 0000000000000282 R12: 0000200000000000 [ 92.412721][ T5824] R13: 00007fff111e0dc0 R14: 0000000000000003 R15: 0000000000000000 [ 92.420698][ T5824] [ 92.423715][ T5824] Modules linked in: [ 92.427755][ T5824] ---[ end trace 0000000000000000 ]--- [ 92.433431][ T5824] RIP: 0010:bch2_btree_path_peek_slot+0xfaf/0xff0 [ 92.440001][ T5824] Code: f7 ff ff 48 89 74 24 08 be 08 00 00 00 89 54 24 04 e8 e5 96 05 fe 48 8b 74 24 08 8b 54 24 04 e9 23 f7 ff ff e8 02 c0 a5 fd 90 <0f> 0b e8 fa bf a5 fd 90 0f 0b e8 f2 bf a5 fd 90 0f 0b e8 ea bf a5 [ 92.459962][ T5824] RSP: 0018:ffffc900043fe980 EFLAGS: 00010293 [ 92.466083][ T5824] RAX: ffffffff841a30de RBX: 0000000000004361 RCX: ffff888079a71e00 [ 92.474074][ T5824] RDX: 0000000000000000 RSI: 0000000000000100 RDI: 0000000000000000 [ 92.482142][ T5824] RBP: ffffc900043fea90 R08: ffffc900043feb47 R09: 0000000000000000 [ 92.490162][ T5824] R10: ffffc900043feb20 R11: fffff5200087fd69 R12: ffff888079af8a60 [ 92.498314][ T5824] R13: ffff888079af8a80 R14: ffffc900043feb20 R15: 1ffff1100f35f14f [ 92.506322][ T5824] FS: 0000555585414380(0000) GS:ffff8881261f6000(0000) knlGS:0000000000000000 [ 92.515252][ T5824] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 92.521868][ T5824] CR2: 00007f413a9a1796 CR3: 0000000075afe000 CR4: 00000000003526f0 [ 92.529878][ T5824] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 92.538098][ T5824] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 92.546234][ T5824] Kernel panic - not syncing: Fatal exception [ 92.552546][ T5824] Kernel Offset: disabled [ 92.556871][ T5824] Rebooting in 86400 seconds..