./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2226714851 <...> Warning: Permanently added '10.128.0.133' (ED25519) to the list of known hosts. execve("./syz-executor2226714851", ["./syz-executor2226714851"], 0x7ffd7bb966d0 /* 10 vars */) = 0 brk(NULL) = 0x5555916b4000 brk(0x5555916b4d00) = 0x5555916b4d00 arch_prctl(ARCH_SET_FS, 0x5555916b4380) = 0 set_tid_address(0x5555916b4650) = 5095 set_robust_list(0x5555916b4660, 24) = 0 rseq(0x5555916b4ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2226714851", 4096) = 28 getrandom("\xc8\xfa\x02\x23\x67\x44\x38\xee", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555916b4d00 brk(0x5555916d5d00) = 0x5555916d5d00 brk(0x5555916d6000) = 0x5555916d6000 mprotect(0x7f3163362000, 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) = 0x7f315ae00000 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(0x7f315ae00000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 close(4) = 0 [ 72.217143][ T5095] loop0: detected capacity change from 0 to 32768 mkdir("./file0", 0777) = 0 [ 72.339616][ T5095] bcachefs (loop0): mounting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=xxhash,compression=zstd,nojournal_transaction_names [ 72.355770][ T5095] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 72.371179][ T5095] ------------[ cut here ]------------ [ 72.377011][ T5095] kernel BUG at fs/bcachefs/checksum.c:236! [ 72.382989][ T5095] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 72.389930][ T5095] CPU: 1 PID: 5095 Comm: syz-executor222 Not tainted 6.9.0-rc7-next-20240510-syzkaller #0 [ 72.399990][ T5095] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 72.410042][ T5095] RIP: 0010:bch2_checksum+0x717/0x730 [ 72.415542][ T5095] Code: ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 0a fe ff ff 48 89 df e8 19 0b dc fd e9 fd fd ff ff e8 1f b4 6a 07 e8 9a 52 76 fd 90 <0f> 0b e8 92 52 76 fd 90 0f 0b e8 8a 52 76 fd 90 0f 0b 0f 1f 80 00 [ 72.435144][ T5095] RSP: 0018:ffffc9000368e340 EFLAGS: 00010293 [ 72.441227][ T5095] RAX: ffffffff841fc9e6 RBX: 20000004b5d608e4 RCX: ffff888027f9da00 [ 72.449198][ T5095] RDX: 0000000000000000 RSI: ffffffff8e92a440 RDI: 000000000000000f [ 72.457167][ T5095] RBP: ffffc9000368e6b0 R08: 0000000000000005 R09: ffffffff841fc3aa [ 72.465156][ T5095] R10: 0000000000000008 R11: ffff888027f9da00 R12: ffffc9000368e3e0 [ 72.473123][ T5095] R13: dffffc0000000000 R14: 000000000000000f R15: 1ffff920006d1c70 [ 72.481096][ T5095] FS: 00005555916b4380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 [ 72.490028][ T5095] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 72.496612][ T5095] CR2: 00007ffd20783dd4 CR3: 00000000799da000 CR4: 00000000003506f0 [ 72.504587][ T5095] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 72.512563][ T5095] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 72.520536][ T5095] Call Trace: [ 72.523815][ T5095] [ 72.526745][ T5095] ? __die_body+0x88/0xe0 [ 72.531083][ T5095] ? die+0xcf/0x110 [ 72.534899][ T5095] ? do_trap+0x15a/0x3a0 [ 72.539148][ T5095] ? bch2_checksum+0x717/0x730 [ 72.543913][ T5095] ? do_error_trap+0x1dc/0x2c0 [ 72.548680][ T5095] ? bch2_checksum+0x717/0x730 [ 72.553447][ T5095] ? __pfx_do_error_trap+0x10/0x10 [ 72.558559][ T5095] ? report_bug+0x3e8/0x500 [ 72.563083][ T5095] ? handle_invalid_op+0x34/0x40 [ 72.568023][ T5095] ? bch2_checksum+0x717/0x730 [ 72.572786][ T5095] ? exc_invalid_op+0x38/0x50 [ 72.577463][ T5095] ? asm_exc_invalid_op+0x1a/0x20 [ 72.582510][ T5095] ? bch2_checksum+0xda/0x730 [ 72.587191][ T5095] ? bch2_checksum+0x716/0x730 [ 72.591954][ T5095] ? bch2_checksum+0x717/0x730 [ 72.596723][ T5095] ? __pfx_bch2_checksum+0x10/0x10 [ 72.601835][ T5095] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 72.607815][ T5095] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 72.614145][ T5095] ? kasan_quarantine_put+0xdc/0x230 [ 72.619445][ T5095] ? lockdep_hardirqs_on+0x99/0x150 [ 72.624654][ T5095] ? bch2_printbuf_exit+0x6d/0xa0 [ 72.629686][ T5095] ? kfree+0x149/0x360 [ 72.633769][ T5095] ? bch2_printbuf_exit+0x6d/0xa0 [ 72.638801][ T5095] ? __btree_err+0x394/0x720 [ 72.643391][ T5095] ? __pfx___btree_err+0x10/0x10 [ 72.648334][ T5095] ? bch2_journal_seq_is_blacklisted+0x134/0x340 [ 72.654671][ T5095] bch2_btree_node_read_done+0x13d4/0x6770 [ 72.660500][ T5095] ? __pfx_bch2_btree_node_read_done+0x10/0x10 [ 72.666688][ T5095] ? bch2_bkey_pick_read_device+0x221/0x1830 [ 72.672704][ T5095] ? __pfx_bch2_bkey_pick_read_device+0x10/0x10 [ 72.678949][ T5095] ? bch2_btree_ptr_v2_to_text+0x209/0x2f0 [ 72.684766][ T5095] ? __pfx_bch2_btree_ptr_v2_to_text+0x10/0x10 [ 72.690934][ T5095] btree_node_read_work+0x68b/0x1260 [ 72.696323][ T5095] ? __pfx_btree_node_read_work+0x10/0x10 [ 72.702061][ T5095] ? print_irqtrace_events+0x1d0/0x220 [ 72.707531][ T5095] ? lockdep_hardirqs_on+0x99/0x150 [ 72.712736][ T5095] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 72.718646][ T5095] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 72.724972][ T5095] ? mean_and_variance_weighted_get_mean+0x73/0xc0 [ 72.731479][ T5095] ? __bch2_time_stats_update+0x2c6/0x370 [ 72.737227][ T5095] bch2_btree_node_read+0x2467/0x2a40 [ 72.742612][ T5095] ? bch2_btree_node_hash_insert+0x18b/0x1d0 [ 72.748645][ T5095] ? __mutex_unlock_slowpath+0x21d/0x750 [ 72.754308][ T5095] ? __pfx_bch2_btree_node_read+0x10/0x10 [ 72.760038][ T5095] ? __pfx___bch2_btree_node_hash_insert+0x10/0x10 [ 72.766549][ T5095] ? bch2_btree_node_mem_alloc+0x96b/0x1210 [ 72.772456][ T5095] ? bch2_btree_node_hash_insert+0x18b/0x1d0 [ 72.778448][ T5095] bch2_btree_root_read+0x61e/0x970 [ 72.783670][ T5095] ? __pfx_bch2_btree_root_read+0x10/0x10 [ 72.789399][ T5095] ? bch2_journal_log_msg+0xda/0x120 [ 72.794692][ T5095] read_btree_roots+0x22d/0x7b0 [ 72.799555][ T5095] bch2_fs_recovery+0x2346/0x3700 [ 72.804586][ T5095] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 72.809969][ T5095] ? __pfx_lock_release+0x10/0x10 [ 72.814991][ T5095] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 72.820621][ T5095] ? __pfx_lock_release+0x10/0x10 [ 72.825648][ T5095] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 72.831282][ T5095] ? bch2_get_next_online_dev+0x4b9/0x4f0 [ 72.837003][ T5095] ? bch2_get_next_online_dev+0x2b/0x4f0 [ 72.842637][ T5095] ? llist_reverse_order+0x72/0x90 [ 72.847755][ T5095] bch2_fs_start+0x356/0x5b0 [ 72.852356][ T5095] bch2_fs_open+0xa8d/0xdf0 [ 72.856871][ T5095] ? __pfx_bch2_fs_open+0x10/0x10 [ 72.861907][ T5095] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 72.868242][ T5095] ? __pfx_bch2_test_super+0x10/0x10 [ 72.873531][ T5095] ? sget+0x2b8/0x620 [ 72.877530][ T5095] ? __pfx_bch2_noset_super+0x10/0x10 [ 72.882930][ T5095] bch2_mount+0x71d/0x1320 [ 72.887372][ T5095] ? __pfx_bch2_mount+0x10/0x10 [ 72.892241][ T5095] ? aa_get_newest_label+0xff/0x6f0 [ 72.897485][ T5095] ? vfs_parse_fs_string+0x190/0x230 [ 72.902772][ T5095] ? kfree+0x4e/0x360 [ 72.906761][ T5095] ? vfs_parse_fs_string+0x190/0x230 [ 72.912067][ T5095] legacy_get_tree+0xee/0x190 [ 72.916744][ T5095] ? __pfx_bch2_mount+0x10/0x10 [ 72.921618][ T5095] vfs_get_tree+0x90/0x2a0 [ 72.926056][ T5095] do_new_mount+0x2be/0xb40 [ 72.930557][ T5095] ? ns_capable+0x8a/0xf0 [ 72.934888][ T5095] ? __pfx_do_new_mount+0x10/0x10 [ 72.940003][ T5095] __se_sys_mount+0x2d9/0x3c0 [ 72.944685][ T5095] ? __pfx___se_sys_mount+0x10/0x10 [ 72.949882][ T5095] ? do_syscall_64+0x102/0x240 [ 72.954656][ T5095] ? __x64_sys_mount+0x20/0xc0 [ 72.959423][ T5095] do_syscall_64+0xf5/0x240 [ 72.963953][ T5095] ? clear_bhb_loop+0x35/0x90 [ 72.968629][ T5095] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 72.974531][ T5095] RIP: 0033:0x7f31632de93a [ 72.978947][ T5095] 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 [ 72.998564][ T5095] RSP: 002b:00007ffdd671fda8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 73.006977][ T5095] RAX: ffffffffffffffda RBX: 00007ffdd671fdc0 RCX: 00007f31632de93a [ 73.014949][ T5095] RDX: 0000000020011a00 RSI: 0000000020011a40 RDI: 00007ffdd671fdc0 [ 73.022916][ T5095] RBP: 0000000000000004 R08: 00007ffdd671fe00 R09: 00000000000119f5 [ 73.030885][ T5095] R10: 0000000001200014 R11: 0000000000000282 R12: 0000000001200014 [ 73.038853][ T5095] R13: 00007ffdd671fe00 R14: 0000000000000003 R15: 0000000001000000 [ 73.046829][ T5095] [ 73.049842][ T5095] Modules linked in: [ 73.053975][ T5095] ---[ end trace 0000000000000000 ]--- [ 73.059555][ T5095] RIP: 0010:bch2_checksum+0x717/0x730 [ 73.065101][ T5095] Code: ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 0a fe ff ff 48 89 df e8 19 0b dc fd e9 fd fd ff ff e8 1f b4 6a 07 e8 9a 52 76 fd 90 <0f> 0b e8 92 52 76 fd 90 0f 0b e8 8a 52 76 fd 90 0f 0b 0f 1f 80 00 [ 73.084820][ T5095] RSP: 0018:ffffc9000368e340 EFLAGS: 00010293 [ 73.090926][ T5095] RAX: ffffffff841fc9e6 RBX: 20000004b5d608e4 RCX: ffff888027f9da00 [ 73.099109][ T5095] RDX: 0000000000000000 RSI: ffffffff8e92a440 RDI: 000000000000000f [ 73.107132][ T5095] RBP: ffffc9000368e6b0 R08: 0000000000000005 R09: ffffffff841fc3aa [ 73.115208][ T5095] R10: 0000000000000008 R11: ffff888027f9da00 R12: ffffc9000368e3e0 [ 73.123187][ T5095] R13: dffffc0000000000 R14: 000000000000000f R15: 1ffff920006d1c70 [ 73.131203][ T5095] FS: 00005555916b4380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 [ 73.140189][ T5095] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 73.146806][ T5095] CR2: 00007ffd20783dd4 CR3: 00000000799da000 CR4: 00000000003506f0 [ 73.154834][ T5095] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 73.162808][ T5095] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 73.170832][ T5095] Kernel panic - not syncing: Fatal exception [ 73.177156][ T5095] Kernel Offset: disabled [ 73.181481][ T5095] Rebooting in 86400 seconds..