./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1286805402 <...> Warning: Permanently added '10.128.10.7' (ED25519) to the list of known hosts. execve("./syz-executor1286805402", ["./syz-executor1286805402"], 0x7fff1d90d230 /* 10 vars */) = 0 brk(NULL) = 0x55556e8b0000 brk(0x55556e8b0d00) = 0x55556e8b0d00 arch_prctl(ARCH_SET_FS, 0x55556e8b0380) = 0 set_tid_address(0x55556e8b0650) = 5075 set_robust_list(0x55556e8b0660, 24) = 0 rseq(0x55556e8b0ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1286805402", 4096) = 28 getrandom("\x28\x79\x59\xa0\xc4\x20\x65\xb4", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556e8b0d00 brk(0x55556e8d1d00) = 0x55556e8d1d00 brk(0x55556e8d2000) = 0x55556e8d2000 mprotect(0x7efe92446000, 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) = 0x7efe89e00000 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(0x7efe89e00000, 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 [ 74.249428][ T5075] loop0: detected capacity change from 0 to 32768 [ 74.364885][ T5075] bcachefs (loop0): mounting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,nojournal_transaction_names [ 74.379023][ T5075] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 74.387520][ T5075] ------------[ cut here ]------------ [ 74.393106][ T5075] kernel BUG at fs/bcachefs/replicas.c:205! [ 74.399150][ T5075] invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 74.405756][ T5075] CPU: 0 PID: 5075 Comm: syz-executor128 Not tainted 6.9.0-rc7-syzkaller-00183-gcf87f46fd34d #0 [ 74.416186][ T5075] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 74.426243][ T5075] RIP: 0010:cpu_replicas_add_entry+0x6c8/0x6f0 [ 74.432425][ T5075] Code: 24 18 e8 ab 22 be fd e9 57 fd ff ff e8 f1 c5 5c fd 90 0f 0b e8 e9 c5 5c fd 90 0f 0b e8 e1 c5 5c fd 90 0f 0b e8 d9 c5 5c fd 90 <0f> 0b e8 d1 c5 5c fd 90 0f 0b e8 c9 c5 5c fd 90 0f 0b e8 c1 c5 5c [ 74.452052][ T5075] RSP: 0018:ffffc9000346ef18 EFLAGS: 00010293 [ 74.458117][ T5075] RAX: ffffffff843941b7 RBX: dffffc0000000000 RCX: ffff888023cd5a00 [ 74.466090][ T5075] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 74.474078][ T5075] RBP: 0000000000000001 R08: ffffffff84393d28 R09: ffffffff843804ad [ 74.482045][ T5075] R10: 0000000000000007 R11: ffff888023cd5a00 R12: 1ffff1100eb70101 [ 74.490011][ T5075] R13: ffff888071e440a3 R14: 0000000000000000 R15: ffff888071e440a0 [ 74.497981][ T5075] FS: 000055556e8b0380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 [ 74.506903][ T5075] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 74.513517][ T5075] CR2: 0000561d03c02678 CR3: 0000000074648000 CR4: 00000000003506f0 [ 74.521487][ T5075] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 74.529464][ T5075] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 74.537428][ T5075] Call Trace: [ 74.540704][ T5075] [ 74.543632][ T5075] ? __die_body+0x88/0xe0 [ 74.548049][ T5075] ? die+0xcf/0x110 [ 74.551850][ T5075] ? do_trap+0x15a/0x3a0 [ 74.556095][ T5075] ? cpu_replicas_add_entry+0x6c8/0x6f0 [ 74.561689][ T5075] ? do_error_trap+0x1dc/0x2c0 [ 74.566450][ T5075] ? cpu_replicas_add_entry+0x6c8/0x6f0 [ 74.571996][ T5075] ? __pfx_do_error_trap+0x10/0x10 [ 74.577127][ T5075] ? handle_invalid_op+0x34/0x40 [ 74.582063][ T5075] ? cpu_replicas_add_entry+0x6c8/0x6f0 [ 74.587683][ T5075] ? exc_invalid_op+0x38/0x50 [ 74.592381][ T5075] ? asm_exc_invalid_op+0x1a/0x20 [ 74.597413][ T5075] ? journal_replay_entry_early+0x4d/0x1100 [ 74.603304][ T5075] ? cpu_replicas_add_entry+0x238/0x6f0 [ 74.608845][ T5075] ? cpu_replicas_add_entry+0x6c7/0x6f0 [ 74.614390][ T5075] ? cpu_replicas_add_entry+0x6c8/0x6f0 [ 74.619934][ T5075] ? cpu_replicas_add_entry+0x6c7/0x6f0 [ 74.625477][ T5075] ? __replicas_entry_idx+0x266/0x350 [ 74.630850][ T5075] bch2_replicas_set_usage+0x3cf/0x710 [ 74.636306][ T5075] ? __pfx___might_resched+0x10/0x10 [ 74.641590][ T5075] ? __pfx_lock_release+0x10/0x10 [ 74.646624][ T5075] ? __pfx_bch2_replicas_set_usage+0x10/0x10 [ 74.652600][ T5075] ? journal_replay_entry_early+0x77/0x1100 [ 74.658490][ T5075] journal_replay_early+0xba/0x4f0 [ 74.663595][ T5075] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 74.669584][ T5075] ? __pfx_journal_replay_early+0x10/0x10 [ 74.675306][ T5075] ? bch2_blacklist_table_initialize+0x117/0x400 [ 74.681632][ T5075] ? bch2_latest_compatible_version+0x161/0x180 [ 74.687866][ T5075] ? bch2_recovery_passes_from_stable+0x128/0x140 [ 74.694295][ T5075] bch2_fs_recovery+0x39c2/0x63b0 [ 74.699322][ T5075] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 74.704719][ T5075] ? __pfx_lock_acquire+0x10/0x10 [ 74.709751][ T5075] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 74.715376][ T5075] ? __pfx_lock_release+0x10/0x10 [ 74.720394][ T5075] ? __mutex_lock+0x2ef/0xd70 [ 74.725086][ T5075] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 74.730724][ T5075] ? bch2_get_next_online_dev+0x4b9/0x4f0 [ 74.736609][ T5075] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 74.742373][ T5075] ? llist_reverse_order+0x72/0x90 [ 74.747510][ T5075] bch2_fs_start+0x356/0x5b0 [ 74.752134][ T5075] bch2_fs_open+0xa8d/0xdf0 [ 74.756661][ T5075] ? __pfx_bch2_fs_open+0x10/0x10 [ 74.761769][ T5075] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 74.768110][ T5075] ? __pfx_bch2_test_super+0x10/0x10 [ 74.773400][ T5075] ? sget+0x2b8/0x620 [ 74.777382][ T5075] ? __pfx_bch2_noset_super+0x10/0x10 [ 74.782947][ T5075] bch2_mount+0x71d/0x1320 [ 74.787376][ T5075] ? __pfx_bch2_mount+0x10/0x10 [ 74.792239][ T5075] ? vfs_parse_fs_string+0x190/0x230 [ 74.797533][ T5075] ? kfree+0x4e/0x3b0 [ 74.801612][ T5075] ? vfs_parse_fs_string+0x190/0x230 [ 74.806897][ T5075] ? __pfx_vfs_parse_fs_string+0x10/0x10 [ 74.812553][ T5075] ? cap_capable+0x1b4/0x250 [ 74.817155][ T5075] legacy_get_tree+0xee/0x190 [ 74.821829][ T5075] ? __pfx_bch2_mount+0x10/0x10 [ 74.826679][ T5075] vfs_get_tree+0x90/0x2a0 [ 74.831099][ T5075] do_new_mount+0x2be/0xb40 [ 74.835604][ T5075] ? ns_capable+0x8a/0xf0 [ 74.839931][ T5075] ? __pfx_do_new_mount+0x10/0x10 [ 74.844965][ T5075] __se_sys_mount+0x2d9/0x3c0 [ 74.849664][ T5075] ? __pfx___se_sys_mount+0x10/0x10 [ 74.854865][ T5075] ? do_syscall_64+0x102/0x240 [ 74.859655][ T5075] ? __x64_sys_mount+0x20/0xc0 [ 74.864418][ T5075] do_syscall_64+0xf5/0x240 [ 74.868947][ T5075] ? clear_bhb_loop+0x35/0x90 [ 74.873625][ T5075] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 74.879519][ T5075] RIP: 0033:0x7efe923c2b7a [ 74.883948][ T5075] 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 [ 74.903571][ T5075] RSP: 002b:00007ffec93a6af8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 74.911990][ T5075] RAX: ffffffffffffffda RBX: 00007ffec93a6b10 RCX: 00007efe923c2b7a [ 74.919961][ T5075] RDX: 0000000020011a00 RSI: 0000000020011a40 RDI: 00007ffec93a6b10 [ 74.927928][ T5075] RBP: 0000000000000004 R08: 00007ffec93a6b50 R09: 0066666666666666 [ 74.935892][ T5075] R10: 0000000001200014 R11: 0000000000000282 R12: 0000000001200014 [ 74.943859][ T5075] R13: 00007ffec93a6b50 R14: 0000000000000003 R15: 0000000001000000 [ 74.951865][ T5075] [ 74.954884][ T5075] Modules linked in: [ 74.959001][ T5075] ---[ end trace 0000000000000000 ]--- [ 74.964487][ T5075] RIP: 0010:cpu_replicas_add_entry+0x6c8/0x6f0 [ 74.970916][ T5075] Code: 24 18 e8 ab 22 be fd e9 57 fd ff ff e8 f1 c5 5c fd 90 0f 0b e8 e9 c5 5c fd 90 0f 0b e8 e1 c5 5c fd 90 0f 0b e8 d9 c5 5c fd 90 <0f> 0b e8 d1 c5 5c fd 90 0f 0b e8 c9 c5 5c fd 90 0f 0b e8 c1 c5 5c [ 74.990594][ T5075] RSP: 0018:ffffc9000346ef18 EFLAGS: 00010293 [ 74.996685][ T5075] RAX: ffffffff843941b7 RBX: dffffc0000000000 RCX: ffff888023cd5a00 [ 75.004705][ T5075] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 75.012822][ T5075] RBP: 0000000000000001 R08: ffffffff84393d28 R09: ffffffff843804ad [ 75.020864][ T5075] R10: 0000000000000007 R11: ffff888023cd5a00 R12: 1ffff1100eb70101 [ 75.028879][ T5075] R13: ffff888071e440a3 R14: 0000000000000000 R15: ffff888071e440a0 [ 75.036936][ T5075] FS: 000055556e8b0380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 [ 75.045911][ T5075] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 75.052551][ T5075] CR2: 0000561d03c02678 CR3: 0000000074648000 CR4: 00000000003506f0 [ 75.060580][ T5075] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 75.068572][ T5075] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 75.076601][ T5075] Kernel panic - not syncing: Fatal exception [ 75.082978][ T5075] Kernel Offset: disabled [ 75.087309][ T5075] Rebooting in 86400 seconds..