./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3965800392 <...> Warning: Permanently added '10.128.1.91' (ED25519) to the list of known hosts. execve("./syz-executor3965800392", ["./syz-executor3965800392"], 0x7ffdf49feda0 /* 10 vars */) = 0 brk(NULL) = 0x55556c1bb000 brk(0x55556c1bbd00) = 0x55556c1bbd00 arch_prctl(ARCH_SET_FS, 0x55556c1bb380) = 0 set_tid_address(0x55556c1bb650) = 5827 set_robust_list(0x55556c1bb660, 24) = 0 rseq(0x55556c1bbca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3965800392", 4096) = 28 getrandom("\x04\x59\xa8\x43\x0f\x37\x9e\xab", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556c1bbd00 brk(0x55556c1dcd00) = 0x55556c1dcd00 brk(0x55556c1dd000) = 0x55556c1dd000 mprotect(0x7f86d1ba2000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 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 5829 attached [pid 5829] set_robust_list(0x55556c1bb660, 24 [pid 5827] <... clone resumed>, child_tidptr=0x55556c1bb650) = 5829 [pid 5829] <... set_robust_list resumed>) = 0 [pid 5829] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5829] setpgid(0, 0) = 0 [pid 5829] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5829] write(3, "1000", 4) = 4 [pid 5829] close(3) = 0 executing program [pid 5829] write(1, "executing program\n", 18) = 18 [pid 5829] memfd_create("syzkaller", 0) = 3 [pid 5829] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f86c9600000 [pid 5829] 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 5829] munmap(0x7f86c9600000, 138412032) = 0 [pid 5829] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5829] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5829] close(3) = 0 [pid 5829] close(4) = 0 [pid 5829] mkdir("./file0", 0777) = 0 [ 58.143017][ T5829] loop0: detected capacity change from 0 to 32768 [ 58.245543][ T5829] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=(invalid option 4),metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 58.263148][ T5829] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 58.271416][ T5829] bcachefs (loop0): Version upgrade required: [ 58.271416][ T5829] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 58.271416][ T5829] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 58.271416][ T5829] 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 [ 58.353170][ T5829] ------------[ cut here ]------------ [ 58.358938][ T5829] kernel BUG at fs/bcachefs/error.c:29! [ 58.364619][ T5829] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 58.371566][ T5829] CPU: 0 UID: 0 PID: 5829 Comm: syz-executor396 Not tainted 6.12.0-rc6-syzkaller-00110-gff7afaeca1a1 #0 [ 58.382744][ T5829] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 58.392788][ T5829] RIP: 0010:bch2_inconsistent_error+0x14c/0x150 [ 58.399041][ T5829] Code: fb 02 75 20 e8 25 48 6a fd 49 81 c7 cc 01 00 00 e8 39 dd d0 fd 48 c7 c7 00 67 53 8c 4c 89 fe e8 8a fd 90 07 e8 05 48 6a fd 90 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f [ 58.418725][ T5829] RSP: 0018:ffffc90003c565f8 EFLAGS: 00010293 [ 58.424781][ T5829] RAX: ffffffff842a91fb RBX: 0000000000000004 RCX: ffff888035355a00 [ 58.432738][ T5829] RDX: 0000000000000000 RSI: ffffffff8ef56070 RDI: 0000000000000004 [ 58.440707][ T5829] RBP: ffffc90003c567a8 R08: 0000000000000001 R09: ffffffff842a9114 [ 58.448664][ T5829] R10: 0000000000000004 R11: ffff888035355a00 R12: dffffc0000000000 [ 58.456616][ T5829] R13: ffffc90003c566c0 R14: ffff888078580000 R15: ffff888078580000 [ 58.464591][ T5829] FS: 000055556c1bb380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 58.473505][ T5829] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 58.480073][ T5829] CR2: 000055da67c16690 CR3: 00000000257b8000 CR4: 00000000003526f0 [ 58.488031][ T5829] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 58.495984][ T5829] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 58.503936][ T5829] Call Trace: [ 58.507206][ T5829] [ 58.510137][ T5829] ? __die_body+0x5f/0xb0 [ 58.514447][ T5829] ? die+0x9e/0xc0 [ 58.518148][ T5829] ? do_trap+0x15a/0x3a0 [ 58.522373][ T5829] ? bch2_inconsistent_error+0x14c/0x150 [ 58.527994][ T5829] ? do_error_trap+0x1dc/0x2c0 [ 58.532743][ T5829] ? bch2_inconsistent_error+0x14c/0x150 [ 58.538361][ T5829] ? __pfx_do_error_trap+0x10/0x10 [ 58.543468][ T5829] ? handle_invalid_op+0x34/0x40 [ 58.548401][ T5829] ? bch2_inconsistent_error+0x14c/0x150 [ 58.554022][ T5829] ? exc_invalid_op+0x38/0x50 [ 58.558699][ T5829] ? asm_exc_invalid_op+0x1a/0x20 [ 58.563702][ T5829] ? bch2_inconsistent_error+0x64/0x150 [ 58.569235][ T5829] ? bch2_inconsistent_error+0x14b/0x150 [ 58.574856][ T5829] ? bch2_inconsistent_error+0x14c/0x150 [ 58.580470][ T5829] ? bch2_inconsistent_error+0x14b/0x150 [ 58.586086][ T5829] bch2_topology_error+0x83/0xc0 [ 58.591008][ T5829] __btree_err+0x610/0x760 [ 58.595407][ T5829] ? __pfx___btree_err+0x10/0x10 [ 58.600338][ T5829] ? vsnprintf+0x948/0x1da0 [ 58.604824][ T5829] ? vsnprintf+0x1ccd/0x1da0 [ 58.609395][ T5829] ? compat_btree_node+0x4f7/0xda0 [ 58.614488][ T5829] validate_bset+0x157b/0x2640 [ 58.619235][ T5829] ? __pfx_validate_bset+0x10/0x10 [ 58.624325][ T5829] ? bch2_bpos_to_text+0x295/0x3a0 [ 58.629425][ T5829] ? krealloc_noprof+0xec/0x120 [ 58.634264][ T5829] ? __pfx_bch2_bpos_to_text+0x10/0x10 [ 58.639708][ T5829] ? prt_str+0x4af/0x7d0 [ 58.643944][ T5829] ? bch2_btree_node_read_done+0x744/0x5e90 [ 58.649821][ T5829] bch2_btree_node_read_done+0x2108/0x5e90 [ 58.655621][ T5829] ? bch2_bkey_pick_read_device+0x221/0x1670 [ 58.661584][ T5829] ? __pfx_lock_release+0x10/0x10 [ 58.666602][ T5829] ? __pfx_bch2_btree_node_read_done+0x10/0x10 [ 58.672744][ T5829] ? bch2_bkey_pick_read_device+0x221/0x1670 [ 58.678716][ T5829] ? bch2_bkey_pick_read_device+0x137d/0x1670 [ 58.684781][ T5829] ? bch2_bkey_pick_read_device+0x221/0x1670 [ 58.690744][ T5829] ? __pfx_bch2_bkey_pick_read_device+0x10/0x10 [ 58.696969][ T5829] ? bch2_btree_ptr_v2_to_text+0x209/0x2f0 [ 58.702780][ T5829] ? __pfx_bch2_btree_ptr_v2_to_text+0x10/0x10 [ 58.708923][ T5829] btree_node_read_work+0x68b/0x1260 [ 58.714192][ T5829] ? __pfx_btree_node_read_work+0x10/0x10 [ 58.719893][ T5829] ? __bch2_time_stats_update+0x200/0x370 [ 58.725596][ T5829] ? __pfx_bch2_latency_acct+0x10/0x10 [ 58.731040][ T5829] ? bio_associate_blkg+0x6c/0x230 [ 58.736134][ T5829] bch2_btree_node_read+0x2433/0x2a10 [ 58.741484][ T5829] ? __pfx_lock_release+0x10/0x10 [ 58.746496][ T5829] ? bch2_trans_unlock+0x346/0x470 [ 58.751588][ T5829] ? __pfx_bch2_btree_node_read+0x10/0x10 [ 58.757289][ T5829] ? __pfx___bch2_btree_node_hash_insert+0x10/0x10 [ 58.763776][ T5829] ? bch2_trans_unlock+0x3a6/0x470 [ 58.768871][ T5829] bch2_btree_root_read+0x617/0x7a0 [ 58.774051][ T5829] ? __pfx_bch2_btree_root_read+0x10/0x10 [ 58.779757][ T5829] ? bch2_current_has_btree_trans+0x142/0x180 [ 58.785807][ T5829] read_btree_roots+0x296/0x840 [ 58.790643][ T5829] bch2_fs_recovery+0x2585/0x39c0 [ 58.795651][ T5829] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 58.801013][ T5829] ? __pfx_lock_release+0x10/0x10 [ 58.806019][ T5829] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 58.811630][ T5829] ? __pfx_lock_release+0x10/0x10 [ 58.816639][ T5829] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 58.822262][ T5829] ? bch2_get_next_online_dev+0x4b9/0x4f0 [ 58.827975][ T5829] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 58.833597][ T5829] ? llist_reverse_order+0x72/0x90 [ 58.838710][ T5829] bch2_fs_start+0x356/0x5b0 [ 58.843291][ T5829] bch2_fs_get_tree+0xd68/0x1710 [ 58.848223][ T5829] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 58.853586][ T5829] ? generic_parse_monolithic+0x387/0x400 [ 58.859301][ T5829] ? __pfx_vfs_parse_fs_string+0x10/0x10 [ 58.864919][ T5829] ? cap_capable+0x1b4/0x250 [ 58.869528][ T5829] ? safesetid_security_capable+0xb2/0x1d0 [ 58.875340][ T5829] vfs_get_tree+0x90/0x2b0 [ 58.879758][ T5829] do_new_mount+0x2be/0xb40 [ 58.884259][ T5829] ? __pfx_do_new_mount+0x10/0x10 [ 58.889457][ T5829] __se_sys_mount+0x2d6/0x3c0 [ 58.894127][ T5829] ? __pfx___se_sys_mount+0x10/0x10 [ 58.899318][ T5829] ? do_syscall_64+0x100/0x230 [ 58.904071][ T5829] ? __x64_sys_mount+0x20/0xc0 [ 58.908820][ T5829] do_syscall_64+0xf3/0x230 [ 58.913310][ T5829] ? clear_bhb_loop+0x35/0x90 [ 58.917972][ T5829] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 58.923849][ T5829] RIP: 0033:0x7f86d1b2adea [ 58.928260][ T5829] 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 [ 58.947846][ T5829] RSP: 002b:00007ffe110ee7f8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 58.956241][ T5829] RAX: ffffffffffffffda RBX: 00007ffe110ee810 RCX: 00007f86d1b2adea [ 58.964196][ T5829] RDX: 0000000020000300 RSI: 0000000020005900 RDI: 00007ffe110ee810 [ 58.972153][ T5829] RBP: 0000000000000004 R08: 00007ffe110ee850 R09: 00000000000058c4 [ 58.980108][ T5829] R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000 [ 58.988088][ T5829] R13: 00007ffe110ee850 R14: 0000000000000003 R15: 0000000001000000 [ 58.996045][ T5829] [ 58.999045][ T5829] Modules linked in: [ 59.003059][ T5829] ---[ end trace 0000000000000000 ]--- [ 59.008580][ T5829] RIP: 0010:bch2_inconsistent_error+0x14c/0x150 [ 59.014843][ T5829] Code: fb 02 75 20 e8 25 48 6a fd 49 81 c7 cc 01 00 00 e8 39 dd d0 fd 48 c7 c7 00 67 53 8c 4c 89 fe e8 8a fd 90 07 e8 05 48 6a fd 90 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f [ 59.034675][ T5829] RSP: 0018:ffffc90003c565f8 EFLAGS: 00010293 [ 59.040782][ T5829] RAX: ffffffff842a91fb RBX: 0000000000000004 RCX: ffff888035355a00 [ 59.048793][ T5829] RDX: 0000000000000000 RSI: ffffffff8ef56070 RDI: 0000000000000004 [ 59.056839][ T5829] RBP: ffffc90003c567a8 R08: 0000000000000001 R09: ffffffff842a9114 [ 59.064795][ T5829] R10: 0000000000000004 R11: ffff888035355a00 R12: dffffc0000000000 [ 59.072822][ T5829] R13: ffffc90003c566c0 R14: ffff888078580000 R15: ffff888078580000 [ 59.080812][ T5829] FS: 000055556c1bb380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 59.089771][ T5829] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 59.096364][ T5829] CR2: 000055da67c16690 CR3: 00000000257b8000 CR4: 00000000003526f0 [ 59.104391][ T5829] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 59.112410][ T5829] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 59.120405][ T5829] Kernel panic - not syncing: Fatal exception [ 59.126698][ T5829] Kernel Offset: disabled [ 59.131011][ T5829] Rebooting in 86400 seconds..