./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2458312952 <...> Warning: Permanently added '10.128.1.3' (ED25519) to the list of known hosts. execve("./syz-executor2458312952", ["./syz-executor2458312952"], 0x7ffc6af1a1a0 /* 10 vars */) = 0 brk(NULL) = 0x55555ea57000 brk(0x55555ea57d00) = 0x55555ea57d00 arch_prctl(ARCH_SET_FS, 0x55555ea57380) = 0 set_tid_address(0x55555ea57650) = 5044 set_robust_list(0x55555ea57660, 24) = 0 rseq(0x55555ea57ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2458312952", 4096) = 28 getrandom("\x8c\x09\xab\x46\x09\x9b\x95\x02", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555ea57d00 brk(0x55555ea78d00) = 0x55555ea78d00 brk(0x55555ea79000) = 0x55555ea79000 mprotect(0x7f103a6bf000, 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, child_tidptr=0x55555ea57650) = 5045 ./strace-static-x86_64: Process 5045 attached [pid 5045] set_robust_list(0x55555ea57660, 24) = 0 [pid 5045] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5045] setpgid(0, 0) = 0 [pid 5045] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5045] write(3, "1000", 4) = 4 executing program [pid 5045] close(3) = 0 [pid 5045] write(1, "executing program\n", 18) = 18 [pid 5045] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=139}, NULL) = 0 [pid 5045] sched_setscheduler(0, SCHED_FIFO, [7]) = 0 [pid 5045] memfd_create("syzkaller", 0) = 3 [pid 5045] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1032200000 [pid 5045] 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 5045] munmap(0x7f1032200000, 138412032) = 0 [pid 5045] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5045] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5045] close(3) = 0 [pid 5045] close(4) = 0 [pid 5045] mkdir("./file0", 0777) = 0 [ 180.853610][ T5045] loop0: detected capacity change from 0 to 32768 [ 180.992504][ T5045] bcachefs (loop0): mounting version 1.7: mi_btree_bitmap opts=metadata_checksum=crc64,data_checksum=xxhash,compression=gzip,str_hash=crc64,nojournal_transaction_names [ 181.010318][ T5045] bcachefs (loop0): recovering from clean shutdown, journal seq 7 [ 181.107254][ T5045] bcachefs (loop0): alloc_read... done [ 181.113329][ T5045] bcachefs (loop0): stripes_read... done [ 181.119550][ T5045] bcachefs (loop0): snapshots_read... done [ 181.138085][ T5045] bcachefs (loop0): journal_replay... done [ 181.144284][ T5045] bcachefs (loop0): resume_logged_ops... done [pid 5045] mount("/dev/loop0", "./file0", "bcachefs", 0, "data_checksum?none,str_hash=crc32c,data_checksum=xxhash,background_compression=none,metadata_checksu"...) = 0 [pid 5045] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5045] chdir("./file0") = 0 [pid 5045] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5045] ioctl(4, LOOP_CLR_FD) = 0 [pid 5045] close(4) = 0 [ 181.157664][ T5045] bcachefs (loop0): going read-write [ 181.173281][ T5045] bcachefs (loop0): done starting filesystem [pid 5045] mkdir("./bus", 0777) = 0 [ 181.220441][ T5054] ===================================================== [ 181.228089][ T5054] BUG: KMSAN: uninit-value in crc64_be+0x202/0x310 [ 181.235084][ T5054] crc64_be+0x202/0x310 [ 181.239488][ T5054] bch2_checksum_update+0x15e/0x1d0 [ 181.245135][ T5054] bch2_checksum+0x3c5/0x7c0 [ 181.249970][ T5054] __bch2_btree_node_write+0x528c/0x67c0 [ 181.256125][ T5054] bch2_btree_node_write+0xa5/0x2e0 [ 181.261567][ T5054] __btree_node_flush+0x4d0/0x640 [ 181.267002][ T5054] bch2_btree_node_flush0+0x35/0x60 [ 181.272417][ T5054] journal_flush_pins+0xce6/0x1780 [ 181.278087][ T5054] __bch2_journal_reclaim+0xd88/0x1610 [ 181.283770][ T5054] bch2_journal_reclaim_thread+0x18e/0x760 [ 181.290005][ T5054] kthread+0x3e2/0x540 [ 181.294443][ T5054] ret_from_fork+0x6d/0x90 [ 181.299063][ T5054] ret_from_fork_asm+0x1a/0x30 [ 181.304071][ T5054] [ 181.306860][ T5054] Uninit was stored to memory at: [ 181.312153][ T5054] bch2_sort_keys+0x1b4d/0x2cb0 [ 181.317387][ T5054] __bch2_btree_node_write+0x3acd/0x67c0 [ 181.323355][ T5054] bch2_btree_node_write+0xa5/0x2e0 [ 181.328957][ T5054] __btree_node_flush+0x4d0/0x640 [ 181.334186][ T5054] bch2_btree_node_flush0+0x35/0x60 [ 181.339758][ T5054] journal_flush_pins+0xce6/0x1780 [ 181.345222][ T5054] __bch2_journal_reclaim+0xd88/0x1610 [ 181.350898][ T5054] bch2_journal_reclaim_thread+0x18e/0x760 [ 181.357044][ T5054] kthread+0x3e2/0x540 [ 181.361333][ T5054] ret_from_fork+0x6d/0x90 [ 181.366102][ T5054] ret_from_fork_asm+0x1a/0x30 [ 181.371104][ T5054] [ 181.373560][ T5054] Uninit was created at: [ 181.378262][ T5054] __kmalloc_large_node+0x231/0x370 [ 181.383661][ T5054] __kmalloc_node+0xb10/0x10c0 [ 181.388741][ T5054] kvmalloc_node+0xc0/0x2d0 [ 181.393449][ T5054] bch2_btree_node_read_done+0x4e68/0x75e0 [ 181.399665][ T5054] btree_node_read_work+0x8a5/0x1eb0 [ 181.405333][ T5054] bch2_btree_node_read+0x3d42/0x4b50 [ 181.410970][ T5054] bch2_btree_root_read+0xa6c/0x13d0 [ 181.416539][ T5054] read_btree_roots+0x454/0xee0 [ 181.421620][ T5054] bch2_fs_recovery+0x7b6a/0x93e0 [ 181.427033][ T5054] bch2_fs_start+0x7b2/0xbd0 [ 181.431839][ T5054] bch2_fs_open+0x152a/0x15f0 [ 181.436831][ T5054] bch2_mount+0x90d/0x1d90 [ 181.441481][ T5054] legacy_get_tree+0x114/0x290 [ 181.446699][ T5054] vfs_get_tree+0xa7/0x570 [ 181.451375][ T5054] do_new_mount+0x71f/0x15e0 [ 181.456274][ T5054] path_mount+0x742/0x1f20 [ 181.460914][ T5054] __se_sys_mount+0x725/0x810 [ 181.466015][ T5054] __x64_sys_mount+0xe4/0x150 [ 181.470929][ T5054] x64_sys_call+0x2bf4/0x3b50 [ 181.476058][ T5054] do_syscall_64+0xcf/0x1e0 [ 181.480793][ T5054] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 181.487059][ T5054] [ 181.489501][ T5054] CPU: 0 PID: 5054 Comm: bch-reclaim/loo Not tainted 6.9.0-syzkaller-02707-g614da38e2f7a #0 [ 181.499913][ T5054] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 181.510286][ T5054] ===================================================== [ 181.517604][ T5054] Disabling lock debugging due to kernel taint [ 181.523873][ T5054] Kernel panic - not syncing: kmsan.panic set ... [ 181.530394][ T5054] CPU: 0 PID: 5054 Comm: bch-reclaim/loo Tainted: G B 6.9.0-syzkaller-02707-g614da38e2f7a #0 [ 181.542187][ T5054] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 181.552428][ T5054] Call Trace: [ 181.555849][ T5054] [ 181.558874][ T5054] dump_stack_lvl+0x216/0x2d0 [ 181.563714][ T5054] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 181.569696][ T5054] dump_stack+0x1e/0x30 [ 181.574093][ T5054] panic+0x4e2/0xcd0 [ 181.578224][ T5054] ? kmsan_get_metadata+0xf1/0x1d0 [ 181.583529][ T5054] kmsan_report+0x2d5/0x2e0 [ 181.588205][ T5054] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 181.594217][ T5054] ? __msan_warning+0x95/0x120 [ 181.599171][ T5054] ? crc64_be+0x202/0x310 [ 181.603717][ T5054] ? bch2_checksum_update+0x15e/0x1d0 [ 181.609272][ T5054] ? bch2_checksum+0x3c5/0x7c0 [ 181.614277][ T5054] ? __bch2_btree_node_write+0x528c/0x67c0 [ 181.620360][ T5054] ? bch2_btree_node_write+0xa5/0x2e0 [ 181.625981][ T5054] ? __btree_node_flush+0x4d0/0x640 [ 181.631305][ T5054] ? bch2_btree_node_flush0+0x35/0x60 [ 181.636824][ T5054] ? journal_flush_pins+0xce6/0x1780 [ 181.642336][ T5054] ? __bch2_journal_reclaim+0xd88/0x1610 [ 181.648165][ T5054] ? bch2_journal_reclaim_thread+0x18e/0x760 [ 181.654324][ T5054] ? kthread+0x3e2/0x540 [ 181.658801][ T5054] ? ret_from_fork+0x6d/0x90 [ 181.663590][ T5054] ? ret_from_fork_asm+0x1a/0x30 [ 181.668724][ T5054] ? filter_irq_stacks+0x60/0x1a0 [ 181.674036][ T5054] ? stack_depot_save_flags+0x2c/0x6e0 [ 181.679721][ T5054] ? kmsan_get_metadata+0x146/0x1d0 [ 181.685145][ T5054] ? kmsan_get_metadata+0x146/0x1d0 [ 181.690520][ T5054] ? kmsan_internal_set_shadow_origin+0x66/0xe0 [ 181.696969][ T5054] ? kmsan_get_metadata+0x146/0x1d0 [ 181.702382][ T5054] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 181.708349][ T5054] ? kmsan_get_metadata+0x146/0x1d0 [ 181.713775][ T5054] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 181.719785][ T5054] __msan_warning+0x95/0x120 [ 181.724512][ T5054] crc64_be+0x202/0x310 [ 181.728923][ T5054] bch2_checksum_update+0x15e/0x1d0 [ 181.734385][ T5054] bch2_checksum+0x3c5/0x7c0 [ 181.739176][ T5054] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 181.745158][ T5054] ? kmsan_get_metadata+0x146/0x1d0 [ 181.750579][ T5054] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 181.756599][ T5054] ? bch2_sort_keys+0x2bf8/0x2cb0 [ 181.761777][ T5054] ? kvmalloc_node+0xc0/0x2d0 [ 181.766588][ T5054] ? kmsan_get_metadata+0x146/0x1d0 [ 181.771913][ T5054] ? kmsan_get_metadata+0x146/0x1d0 [ 181.777284][ T5054] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 181.783323][ T5054] __bch2_btree_node_write+0x528c/0x67c0 [ 181.789235][ T5054] ? kmsan_get_metadata+0x146/0x1d0 [ 181.794677][ T5054] bch2_btree_node_write+0xa5/0x2e0 [ 181.800175][ T5054] __btree_node_flush+0x4d0/0x640 [ 181.805428][ T5054] ? __btree_node_flush+0xd1/0x640 [ 181.810775][ T5054] ? __pfx_bch2_btree_node_flush0+0x10/0x10 [ 181.816837][ T5054] bch2_btree_node_flush0+0x35/0x60 [ 181.822264][ T5054] journal_flush_pins+0xce6/0x1780 [ 181.827669][ T5054] __bch2_journal_reclaim+0xd88/0x1610 [ 181.833336][ T5054] ? kmsan_get_metadata+0x146/0x1d0 [ 181.838688][ T5054] bch2_journal_reclaim_thread+0x18e/0x760 [ 181.844695][ T5054] kthread+0x3e2/0x540 [ 181.849009][ T5054] ? __pfx_bch2_journal_reclaim_thread+0x10/0x10 [ 181.855566][ T5054] ? __pfx_kthread+0x10/0x10 [ 181.860294][ T5054] ret_from_fork+0x6d/0x90 [ 181.864861][ T5054] ? __pfx_kthread+0x10/0x10 [ 181.869676][ T5054] ret_from_fork_asm+0x1a/0x30 [ 181.874702][ T5054] [ 181.878166][ T5054] Kernel Offset: disabled [ 181.882578][ T5054] Rebooting in 86400 seconds..