./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor864460556 <...> Warning: Permanently added '10.128.1.239' (ED25519) to the list of known hosts. execve("./syz-executor864460556", ["./syz-executor864460556"], 0x7ffc52420af0 /* 10 vars */) = 0 brk(NULL) = 0x55555eb65000 brk(0x55555eb65d00) = 0x55555eb65d00 arch_prctl(ARCH_SET_FS, 0x55555eb65380) = 0 set_tid_address(0x55555eb65650) = 5038 set_robust_list(0x55555eb65660, 24) = 0 rseq(0x55555eb65ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor864460556", 4096) = 27 getrandom("\xc5\xe1\x11\x26\x74\x5c\x09\x38", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555eb65d00 brk(0x55555eb86d00) = 0x55555eb86d00 brk(0x55555eb87000) = 0x55555eb87000 mprotect(0x7f5d9a076000, 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=0x55555eb65650) = 5039 ./strace-static-x86_64: Process 5039 attached [pid 5039] set_robust_list(0x55555eb65660, 24) = 0 [pid 5039] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5039] setpgid(0, 0) = 0 [pid 5039] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECexecuting program ) = 3 [pid 5039] write(3, "1000", 4) = 4 [pid 5039] close(3) = 0 [pid 5039] write(1, "executing program\n", 18) = 18 [pid 5039] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=139}, NULL) = 0 [pid 5039] sched_setscheduler(0, SCHED_FIFO, [7]) = 0 [pid 5039] memfd_create("syzkaller", 0) = 3 [pid 5039] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5d91a00000 [pid 5039] 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 [ 181.910811][ T5039] loop0: detected capacity change from 0 to 32768 [pid 5039] munmap(0x7f5d91a00000, 138412032) = 0 [pid 5039] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5039] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5039] close(3) = 0 [pid 5039] close(4) = 0 [pid 5039] mkdir("./file0", 0777) = 0 [ 182.254297][ T5039] bcachefs (loop0): mounting version 1.7: mi_btree_bitmap opts=metadata_checksum=crc64,data_checksum=xxhash,compression=gzip,str_hash=crc64,nojournal_transaction_names [ 182.272225][ T5039] bcachefs (loop0): recovering from clean shutdown, journal seq 7 [ 182.473558][ T5039] bcachefs (loop0): alloc_read... done [ 182.479829][ T5039] bcachefs (loop0): stripes_read... done [ 182.486000][ T5039] bcachefs (loop0): snapshots_read... done [ 182.506557][ T5039] bcachefs (loop0): journal_replay... done [ 182.512894][ T5039] bcachefs (loop0): resume_logged_ops... done [pid 5039] mount("/dev/loop0", "./file0", "bcachefs", 0, "data_checksum?none,str_hash=crc32c,data_checksum=xxhash,background_compression=none,metadata_checksu"...) = 0 [pid 5039] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5039] chdir("./file0") = 0 [pid 5039] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5039] ioctl(4, LOOP_CLR_FD) = 0 [pid 5039] close(4) = 0 [ 182.533235][ T5039] bcachefs (loop0): going read-write [ 182.551456][ T5039] bcachefs (loop0): done starting filesystem [pid 5039] mkdir("./bus", 0777) = 0 [ 182.597136][ T5047] ===================================================== [ 182.604590][ T5047] BUG: KMSAN: uninit-value in crc64_be+0x202/0x310 [ 182.611350][ T5047] crc64_be+0x202/0x310 [ 182.615843][ T5047] bch2_checksum_update+0x15e/0x1d0 [ 182.621319][ T5047] bch2_checksum+0x3c5/0x7c0 [ 182.626342][ T5047] __bch2_btree_node_write+0x528c/0x67c0 [ 182.632245][ T5047] bch2_btree_node_write+0xa5/0x2e0 [ 182.637841][ T5047] __btree_node_flush+0x4d0/0x640 [ 182.643080][ T5047] bch2_btree_node_flush0+0x35/0x60 [ 182.648875][ T5047] journal_flush_pins+0xce6/0x1780 [ 182.654217][ T5047] __bch2_journal_reclaim+0xd88/0x1610 [ 182.660084][ T5047] bch2_journal_reclaim_thread+0x18e/0x760 [ 182.666220][ T5047] kthread+0x3e2/0x540 [ 182.670528][ T5047] ret_from_fork+0x6d/0x90 [ 182.675299][ T5047] ret_from_fork_asm+0x1a/0x30 [ 182.680393][ T5047] [ 182.682831][ T5047] Uninit was stored to memory at: [ 182.688229][ T5047] bch2_sort_keys+0x1b4d/0x2cb0 [ 182.693521][ T5047] __bch2_btree_node_write+0x3acd/0x67c0 [ 182.699528][ T5047] bch2_btree_node_write+0xa5/0x2e0 [ 182.705128][ T5047] __btree_node_flush+0x4d0/0x640 [ 182.710404][ T5047] bch2_btree_node_flush0+0x35/0x60 [ 182.716000][ T5047] journal_flush_pins+0xce6/0x1780 [ 182.721358][ T5047] __bch2_journal_reclaim+0xd88/0x1610 [ 182.727312][ T5047] bch2_journal_reclaim_thread+0x18e/0x760 [ 182.733468][ T5047] kthread+0x3e2/0x540 [ 182.738073][ T5047] ret_from_fork+0x6d/0x90 [ 182.742707][ T5047] ret_from_fork_asm+0x1a/0x30 [ 182.747860][ T5047] [ 182.750294][ T5047] Uninit was created at: [ 182.754901][ T5047] __kmalloc_large_node+0x231/0x370 [ 182.760397][ T5047] __kmalloc_node+0xb10/0x10c0 [ 182.765519][ T5047] kvmalloc_node+0xc0/0x2d0 [ 182.770248][ T5047] bch2_btree_node_read_done+0x4e68/0x75e0 [ 182.776399][ T5047] btree_node_read_work+0x8a5/0x1eb0 [ 182.781936][ T5047] bch2_btree_node_read+0x3d42/0x4b50 [ 182.787669][ T5047] bch2_btree_root_read+0xa6c/0x13d0 [ 182.793225][ T5047] read_btree_roots+0x454/0xee0 [ 182.798345][ T5047] bch2_fs_recovery+0x7b6a/0x93e0 [ 182.803583][ T5047] bch2_fs_start+0x7b2/0xbd0 [ 182.808593][ T5047] bch2_fs_open+0x152a/0x15f0 [ 182.813526][ T5047] bch2_mount+0x90d/0x1d90 [ 182.818299][ T5047] legacy_get_tree+0x114/0x290 [ 182.823303][ T5047] vfs_get_tree+0xa7/0x570 [ 182.828182][ T5047] do_new_mount+0x71f/0x15e0 [ 182.833026][ T5047] path_mount+0x742/0x1f20 [ 182.837810][ T5047] __se_sys_mount+0x725/0x810 [ 182.842737][ T5047] __x64_sys_mount+0xe4/0x150 [ 182.847845][ T5047] x64_sys_call+0x2bf4/0x3b50 [ 182.852774][ T5047] do_syscall_64+0xcf/0x1e0 [ 182.857704][ T5047] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 182.863857][ T5047] [ 182.866393][ T5047] CPU: 0 PID: 5047 Comm: bch-reclaim/loo Not tainted 6.9.0-syzkaller-02707-g614da38e2f7a #0 [ 182.876753][ T5047] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 182.887166][ T5047] ===================================================== [ 182.894244][ T5047] Disabling lock debugging due to kernel taint [ 182.900749][ T5047] Kernel panic - not syncing: kmsan.panic set ... [ 182.907373][ T5047] CPU: 0 PID: 5047 Comm: bch-reclaim/loo Tainted: G B 6.9.0-syzkaller-02707-g614da38e2f7a #0 [ 182.919155][ T5047] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 182.929340][ T5047] Call Trace: [ 182.932740][ T5047] [ 182.935809][ T5047] dump_stack_lvl+0x216/0x2d0 [ 182.940780][ T5047] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 182.946833][ T5047] dump_stack+0x1e/0x30 [ 182.951186][ T5047] panic+0x4e2/0xcd0 [ 182.955323][ T5047] ? kmsan_get_metadata+0xf1/0x1d0 [ 182.960654][ T5047] kmsan_report+0x2d5/0x2e0 [ 182.965375][ T5047] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 182.971447][ T5047] ? __msan_warning+0x95/0x120 [ 182.976428][ T5047] ? crc64_be+0x202/0x310 [ 182.981006][ T5047] ? bch2_checksum_update+0x15e/0x1d0 [ 182.986638][ T5047] ? bch2_checksum+0x3c5/0x7c0 [ 182.991863][ T5047] ? __bch2_btree_node_write+0x528c/0x67c0 [ 182.997858][ T5047] ? bch2_btree_node_write+0xa5/0x2e0 [ 183.003492][ T5047] ? __btree_node_flush+0x4d0/0x640 [ 183.008918][ T5047] ? bch2_btree_node_flush0+0x35/0x60 [ 183.014485][ T5047] ? journal_flush_pins+0xce6/0x1780 [ 183.019997][ T5047] ? __bch2_journal_reclaim+0xd88/0x1610 [ 183.025868][ T5047] ? bch2_journal_reclaim_thread+0x18e/0x760 [ 183.032072][ T5047] ? kthread+0x3e2/0x540 [ 183.036567][ T5047] ? ret_from_fork+0x6d/0x90 [ 183.041291][ T5047] ? ret_from_fork_asm+0x1a/0x30 [ 183.046425][ T5047] ? filter_irq_stacks+0x60/0x1a0 [ 183.051740][ T5047] ? stack_depot_save_flags+0x2c/0x6e0 [ 183.057377][ T5047] ? kmsan_get_metadata+0x146/0x1d0 [ 183.062833][ T5047] ? kmsan_get_metadata+0x146/0x1d0 [ 183.068260][ T5047] ? kmsan_internal_set_shadow_origin+0x66/0xe0 [ 183.074782][ T5047] ? kmsan_get_metadata+0x146/0x1d0 [ 183.080135][ T5047] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 183.086193][ T5047] ? kmsan_get_metadata+0x146/0x1d0 [ 183.091616][ T5047] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 183.097605][ T5047] __msan_warning+0x95/0x120 [ 183.102405][ T5047] crc64_be+0x202/0x310 [ 183.106789][ T5047] bch2_checksum_update+0x15e/0x1d0 [ 183.112160][ T5047] bch2_checksum+0x3c5/0x7c0 [ 183.116931][ T5047] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 183.123101][ T5047] ? kmsan_get_metadata+0x146/0x1d0 [ 183.128540][ T5047] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 183.134607][ T5047] ? bch2_sort_keys+0x2bf8/0x2cb0 [ 183.139908][ T5047] ? kvmalloc_node+0xc0/0x2d0 [ 183.144820][ T5047] ? kmsan_get_metadata+0x146/0x1d0 [ 183.150259][ T5047] ? kmsan_get_metadata+0x146/0x1d0 [ 183.155690][ T5047] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 183.161715][ T5047] __bch2_btree_node_write+0x528c/0x67c0 [ 183.167640][ T5047] ? kmsan_get_metadata+0x146/0x1d0 [ 183.173158][ T5047] bch2_btree_node_write+0xa5/0x2e0 [ 183.178645][ T5047] __btree_node_flush+0x4d0/0x640 [ 183.183839][ T5047] ? __btree_node_flush+0xd1/0x640 [ 183.189088][ T5047] ? __pfx_bch2_btree_node_flush0+0x10/0x10 [ 183.195166][ T5047] bch2_btree_node_flush0+0x35/0x60 [ 183.200614][ T5047] journal_flush_pins+0xce6/0x1780 [ 183.206036][ T5047] __bch2_journal_reclaim+0xd88/0x1610 [ 183.211728][ T5047] ? kmsan_get_metadata+0x146/0x1d0 [ 183.217098][ T5047] bch2_journal_reclaim_thread+0x18e/0x760 [ 183.223148][ T5047] kthread+0x3e2/0x540 [ 183.227476][ T5047] ? __pfx_bch2_journal_reclaim_thread+0x10/0x10 [ 183.234036][ T5047] ? __pfx_kthread+0x10/0x10 [ 183.238807][ T5047] ret_from_fork+0x6d/0x90 [ 183.243388][ T5047] ? __pfx_kthread+0x10/0x10 [ 183.248254][ T5047] ret_from_fork_asm+0x1a/0x30 [ 183.253301][ T5047] [ 183.256679][ T5047] Kernel Offset: disabled [ 183.261101][ T5047] Rebooting in 86400 seconds..