./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor498510274 <...> Warning: Permanently added '10.128.0.107' (ED25519) to the list of known hosts. execve("./syz-executor498510274", ["./syz-executor498510274"], 0x7ffe15379240 /* 10 vars */) = 0 brk(NULL) = 0x555570313000 brk(0x555570313d00) = 0x555570313d00 arch_prctl(ARCH_SET_FS, 0x555570313380) = 0 set_tid_address(0x555570313650) = 5093 set_robust_list(0x555570313660, 24) = 0 rseq(0x555570313ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor498510274", 4096) = 27 getrandom("\x02\x18\xac\x0d\x60\x62\x41\xcc", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555570313d00 brk(0x555570334d00) = 0x555570334d00 brk(0x555570335000) = 0x555570335000 mprotect(0x7facf88d4000, 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 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7facf0400000 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 munmap(0x7facf0400000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 close(4) = 0 mkdir("./file0", 0777) = 0 [ 59.009816][ T5093] loop0: detected capacity change from 0 to 32768 [ 59.124155][ T5093] bcachefs (loop0): mounting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,nojournal_transaction_names [ 59.138185][ T5093] bcachefs (loop0): recovering from clean shutdown, journal seq 8 [ 59.156939][ T5093] bcachefs (loop0): alloc_read... done [ 59.162667][ T5093] bcachefs (loop0): stripes_read... done [ 59.168634][ T5093] bcachefs (loop0): snapshots_read... done [ 59.177109][ T5093] bucket 0:4 gen 0 different types of data in same bucket: btree, sb [ 59.177128][ T5093] while marking sb, shutting down [ 59.191453][ T5093] bcachefs (loop0): inconsistency detected - emergency read only at journal seq 8 [ 59.200886][ T5093] bcachefs (loop0): bch2_trans_mark_dev_sb(): error EIO [ 59.207902][ T5093] Kernel panic - not syncing: bch_dev->ref underflow, last put: bch2_trigger_alloc+0x2934/0x3b90 [ 59.218406][ T5093] CPU: 1 PID: 5093 Comm: syz-executor498 Not tainted 6.9.0-rc7-next-20240510-syzkaller #0 [ 59.228292][ T5093] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 59.238340][ T5093] Call Trace: [ 59.241614][ T5093] [ 59.244552][ T5093] dump_stack_lvl+0x241/0x360 [ 59.249248][ T5093] ? __pfx_dump_stack_lvl+0x10/0x10 [ 59.254444][ T5093] ? __pfx__printk+0x10/0x10 [ 59.259036][ T5093] ? vscnprintf+0x5d/0x90 [ 59.263364][ T5093] panic+0x349/0x860 [ 59.267255][ T5093] ? __pfx___bch2_print+0x10/0x10 [ 59.272283][ T5093] ? bch2_trigger_alloc+0x2934/0x3b90 [ 59.277650][ T5093] ? bch2_trans_mark_dev_sbs_flags+0x9ee/0xab0 [ 59.283796][ T5093] ? __pfx_panic+0x10/0x10 [ 59.288212][ T5093] ? bch2_trans_mark_dev_sb+0x628/0x720 [ 59.293753][ T5093] ? bch2_trigger_alloc+0x2934/0x3b90 [ 59.299117][ T5093] ? bch2_trans_mark_dev_sbs_flags+0x67/0xab0 [ 59.305176][ T5093] bch2_trans_mark_dev_sbs_flags+0xaa7/0xab0 [ 59.311234][ T5093] ? bch2_trans_mark_dev_sbs_flags+0x67/0xab0 [ 59.317504][ T5093] bch2_run_recovery_pass+0xf0/0x1e0 [ 59.322808][ T5093] bch2_run_recovery_passes+0x19e/0x820 [ 59.328360][ T5093] bch2_fs_recovery+0x2370/0x3700 [ 59.333392][ T5093] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 59.338779][ T5093] ? __pfx_lock_release+0x10/0x10 [ 59.343804][ T5093] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 59.349429][ T5093] ? __pfx_lock_release+0x10/0x10 [ 59.354455][ T5093] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 59.360087][ T5093] ? bch2_get_next_online_dev+0x4b9/0x4f0 [ 59.365798][ T5093] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 59.371428][ T5093] ? llist_reverse_order+0x72/0x90 [ 59.376545][ T5093] bch2_fs_start+0x356/0x5b0 [ 59.381139][ T5093] bch2_fs_open+0xa8d/0xdf0 [ 59.385655][ T5093] ? __pfx_bch2_fs_open+0x10/0x10 [ 59.390684][ T5093] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 59.397022][ T5093] ? __pfx_bch2_test_super+0x10/0x10 [ 59.402306][ T5093] ? sget+0x2b8/0x620 [ 59.406289][ T5093] ? __pfx_bch2_noset_super+0x10/0x10 [ 59.411660][ T5093] bch2_mount+0x71d/0x1320 [ 59.416098][ T5093] ? __pfx_bch2_mount+0x10/0x10 [ 59.420958][ T5093] ? aa_get_newest_label+0xff/0x6f0 [ 59.426153][ T5093] ? vfs_parse_fs_string+0x190/0x230 [ 59.431432][ T5093] ? kfree+0x4e/0x360 [ 59.435412][ T5093] ? vfs_parse_fs_string+0x190/0x230 [ 59.440698][ T5093] legacy_get_tree+0xee/0x190 [ 59.445369][ T5093] ? __pfx_bch2_mount+0x10/0x10 [ 59.450216][ T5093] vfs_get_tree+0x90/0x2a0 [ 59.454631][ T5093] do_new_mount+0x2be/0xb40 [ 59.459126][ T5093] ? ns_capable+0x8a/0xf0 [ 59.463447][ T5093] ? __pfx_do_new_mount+0x10/0x10 [ 59.468475][ T5093] __se_sys_mount+0x2d9/0x3c0 [ 59.473159][ T5093] ? __pfx___se_sys_mount+0x10/0x10 [ 59.478349][ T5093] ? do_syscall_64+0x102/0x240 [ 59.483116][ T5093] ? __x64_sys_mount+0x20/0xc0 [ 59.487875][ T5093] do_syscall_64+0xf5/0x240 [ 59.492375][ T5093] ? clear_bhb_loop+0x35/0x90 [ 59.497049][ T5093] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 59.502937][ T5093] RIP: 0033:0x7facf885c8fa [ 59.507434][ T5093] 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 [ 59.527035][ T5093] RSP: 002b:00007ffe54cb8d38 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 59.535448][ T5093] RAX: ffffffffffffffda RBX: 00007ffe54cb8d50 RCX: 00007facf885c8fa [ 59.543415][ T5093] RDX: 0000000020005b00 RSI: 0000000020005b40 RDI: 00007ffe54cb8d50 [ 59.551471][ T5093] RBP: 0000000000000004 R08: 00007ffe54cb8d90 R09: 0000000000005b4c [ 59.559440][ T5093] R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000 [ 59.567409][ T5093] R13: 00007ffe54cb8d90 R14: 0000000000000003 R15: 0000000001000000 [ 59.575387][ T5093] [ 59.578479][ T5093] Kernel Offset: disabled [ 59.582826][ T5093] Rebooting in 86400 seconds..