./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2660083048 <...> Warning: Permanently added '10.128.1.134' (ED25519) to the list of known hosts. execve("./syz-executor2660083048", ["./syz-executor2660083048"], 0x7ffda238b600 /* 10 vars */) = 0 brk(NULL) = 0x555584dcf000 brk(0x555584dcfd00) = 0x555584dcfd00 arch_prctl(ARCH_SET_FS, 0x555584dcf380) = 0 set_tid_address(0x555584dcf650) = 5043 set_robust_list(0x555584dcf660, 24) = 0 rseq(0x555584dcfca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2660083048", 4096) = 28 getrandom("\x2b\x60\x22\xc0\x20\x9d\x8c\x5a", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555584dcfd00 brk(0x555584df0d00) = 0x555584df0d00 brk(0x555584df1000) = 0x555584df1000 mprotect(0x7f79c3c80000, 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./strace-static-x86_64: Process 5044 attached , child_tidptr=0x555584dcf650) = 5044 [pid 5044] set_robust_list(0x555584dcf660, 24) = 0 [pid 5044] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5044] setpgid(0, 0) = 0 [pid 5044] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 executing program [pid 5044] write(3, "1000", 4) = 4 [pid 5044] close(3) = 0 [pid 5044] write(1, "executing program\n", 18) = 18 [pid 5044] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=139}, NULL) = 0 [pid 5044] sched_setscheduler(0, SCHED_FIFO, [7]) = 0 [pid 5044] memfd_create("syzkaller", 0) = 3 [pid 5044] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79bb600000 [pid 5044] 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 5044] munmap(0x7f79bb600000, 138412032) = 0 [pid 5044] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5044] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5044] close(3) = 0 [pid 5044] close(4) = 0 [pid 5044] mkdir("./file0", 0777) = 0 [pid 5044] mount("/dev/loop0", "./file0", "bcachefs", 0, "") = 0 [pid 5044] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5044] chdir("./file0") = 0 [pid 5044] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5044] ioctl(4, LOOP_CLR_FD) = 0 [pid 5044] close(4) = 0 [pid 5044] open("./file1", O_RDWR|O_TRUNC|O_SYNC|O_NOFOLLOW|0x3c) = 4 [pid 5044] exit_group(0) = ? [pid 5044] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5044, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=81 /* 0.81 s */} --- openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = 0 close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5057 attached , child_tidptr=0x555584dcf650) = 5057 [pid 5057] set_robust_list(0x555584dcf660, 24) = 0 [pid 5057] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5057] setpgid(0, 0) = 0 [pid 5057] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5057] write(3, "1000", 4) = 4 [pid 5057] close(3) = 0 executing program [pid 5057] write(1, "executing program\n", 18) = 18 [pid 5057] prlimit64(0, RLIMIT_RTPRIO, {rlim_cur=8, rlim_max=139}, NULL) = 0 [pid 5057] sched_setscheduler(0, SCHED_FIFO, [7]) = 0 [pid 5057] memfd_create("syzkaller", 0) = 3 [pid 5057] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79bb600000 [pid 5057] 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 5057] munmap(0x7f79bb600000, 138412032) = 0 [pid 5057] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5057] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5057] ioctl(4, LOOP_CLR_FD) = 0 [ 157.232778][ T5044] loop0: detected capacity change from 0 to 32768 [ 157.366392][ T5044] bcachefs (loop0): mounting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,nojournal_transaction_names [ 157.380913][ T5044] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 157.481034][ T5044] bcachefs (loop0): alloc_read... done [ 157.487257][ T5044] bcachefs (loop0): stripes_read... done [ 157.493340][ T5044] bcachefs (loop0): snapshots_read... done [ 157.509934][ T5044] bcachefs (loop0): journal_replay... done [ 157.516245][ T5044] bcachefs (loop0): resume_logged_ops... done [ 157.522926][ T5044] bcachefs (loop0): going read-write [ 157.535155][ T5044] bcachefs (loop0): done starting filesystem [ 157.615239][ T5044] syz-executor266 (5044) used greatest stack depth: 1880 bytes left [ 157.821814][ T5053] ===================================================== [ 157.829040][ T5053] BUG: KMSAN: uninit-value in bch2_alloc_v4_invalid+0x625/0x10f0 [ 157.837156][ T5053] bch2_alloc_v4_invalid+0x625/0x10f0 [ 157.842874][ T5053] bch2_bkey_val_invalid+0x24f/0x380 [ 157.848383][ T5053] validate_bset_keys+0x12d8/0x25d0 [ 157.853879][ T5053] validate_bset_for_write+0x1dd/0x340 [ 157.859560][ T5053] __bch2_btree_node_write+0x4777/0x67c0 [ 157.865528][ T5053] bch2_btree_node_write+0xa5/0x2e0 [ 157.870940][ T5053] __btree_node_flush+0x4d0/0x640 [ 157.876799][ T5053] bch2_btree_node_flush0+0x35/0x60 [ 157.882546][ T5053] journal_flush_pins+0xce6/0x1780 [ 157.887841][ T5053] __bch2_journal_reclaim+0xd88/0x1610 [ 157.893589][ T5053] bch2_journal_reclaim_thread+0x18e/0x760 [ 157.899592][ T5053] kthread+0x3e2/0x540 [ 157.904055][ T5053] ret_from_fork+0x6d/0x90 [ 157.908642][ T5053] ret_from_fork_asm+0x1a/0x30 [ 157.913757][ T5053] [ 157.916170][ T5053] Uninit was stored to memory at: [ 157.921552][ T5053] bch2_sort_keys+0x1f34/0x2cb0 [ 157.926615][ T5053] __bch2_btree_node_write+0x3acd/0x67c0 [ 157.932545][ T5053] bch2_btree_node_write+0xa5/0x2e0 [ 157.937954][ T5053] __btree_node_flush+0x4d0/0x640 [ 157.943266][ T5053] bch2_btree_node_flush0+0x35/0x60 [ 157.948652][ T5053] journal_flush_pins+0xce6/0x1780 [ 157.954035][ T5053] __bch2_journal_reclaim+0xd88/0x1610 [ 157.959680][ T5053] bch2_journal_reclaim_thread+0x18e/0x760 [ 157.965781][ T5053] kthread+0x3e2/0x540 [ 157.970043][ T5053] ret_from_fork+0x6d/0x90 [ 157.974774][ T5053] ret_from_fork_asm+0x1a/0x30 [ 157.979736][ T5053] [ 157.982261][ T5053] Uninit was created at: [ 157.986750][ T5053] __kmalloc_large_node+0x231/0x370 [ 157.992240][ T5053] __kmalloc_node+0xb10/0x10c0 [ 157.997183][ T5053] kvmalloc_node+0xc0/0x2d0 [ 158.002061][ T5053] bch2_btree_node_read_done+0x4e68/0x75e0 [ 158.008089][ T5053] btree_node_read_work+0x8a5/0x1eb0 [ 158.013663][ T5053] bch2_btree_node_read+0x3d42/0x4b50 [ 158.019247][ T5053] bch2_btree_root_read+0xa6c/0x13d0 [ 158.024860][ T5053] read_btree_roots+0x454/0xee0 [ 158.029888][ T5053] bch2_fs_recovery+0x7b6a/0x93e0 [ 158.035231][ T5053] bch2_fs_start+0x7b2/0xbd0 [ 158.040035][ T5053] bch2_fs_open+0x152a/0x15f0 [ 158.045043][ T5053] bch2_mount+0x90d/0x1d90 [ 158.049660][ T5053] legacy_get_tree+0x114/0x290 [ 158.054699][ T5053] vfs_get_tree+0xa7/0x570 [ 158.059334][ T5053] do_new_mount+0x71f/0x15e0 [ 158.064354][ T5053] path_mount+0x742/0x1f20 [ 158.068964][ T5053] __se_sys_mount+0x725/0x810 [ 158.073920][ T5053] __x64_sys_mount+0xe4/0x150 [ 158.078797][ T5053] x64_sys_call+0x2bf4/0x3b50 [ 158.083790][ T5053] do_syscall_64+0xcf/0x1e0 [ 158.088605][ T5053] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 158.094963][ T5053] [ 158.097394][ T5053] CPU: 0 PID: 5053 Comm: bch-reclaim/loo Not tainted 6.9.0-syzkaller-02707-g614da38e2f7a #0 [ 158.107769][ T5053] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 158.118083][ T5053] ===================================================== [ 158.125385][ T5053] Disabling lock debugging due to kernel taint [ 158.131839][ T5053] Kernel panic - not syncing: kmsan.panic set ... [ 158.138382][ T5053] CPU: 0 PID: 5053 Comm: bch-reclaim/loo Tainted: G B 6.9.0-syzkaller-02707-g614da38e2f7a #0 [ 158.150129][ T5053] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 158.160348][ T5053] Call Trace: [ 158.163750][ T5053] [ 158.166790][ T5053] dump_stack_lvl+0x216/0x2d0 [ 158.171689][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 158.178155][ T5053] dump_stack+0x1e/0x30 [ 158.182562][ T5053] panic+0x4e2/0xcd0 [ 158.186754][ T5053] ? kmsan_get_metadata+0xf1/0x1d0 [ 158.192167][ T5053] kmsan_report+0x2d5/0x2e0 [ 158.196857][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 158.202868][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 158.208258][ T5053] ? __msan_warning+0x95/0x120 [ 158.213195][ T5053] ? bch2_alloc_v4_invalid+0x625/0x10f0 [ 158.218960][ T5053] ? bch2_bkey_val_invalid+0x24f/0x380 [ 158.224675][ T5053] ? validate_bset_keys+0x12d8/0x25d0 [ 158.230264][ T5053] ? validate_bset_for_write+0x1dd/0x340 [ 158.236125][ T5053] ? __bch2_btree_node_write+0x4777/0x67c0 [ 158.242345][ T5053] ? bch2_btree_node_write+0xa5/0x2e0 [ 158.248191][ T5053] ? __btree_node_flush+0x4d0/0x640 [ 158.253578][ T5053] ? bch2_btree_node_flush0+0x35/0x60 [ 158.259142][ T5053] ? journal_flush_pins+0xce6/0x1780 [ 158.264619][ T5053] ? __bch2_journal_reclaim+0xd88/0x1610 [ 158.270452][ T5053] ? bch2_journal_reclaim_thread+0x18e/0x760 [ 158.276632][ T5053] ? kthread+0x3e2/0x540 [ 158.281074][ T5053] ? ret_from_fork+0x6d/0x90 [ 158.285836][ T5053] ? ret_from_fork_asm+0x1a/0x30 [ 158.290991][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 158.296380][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 158.302475][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 158.307864][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 158.313249][ T5053] ? kmsan_internal_set_shadow_origin+0x66/0xe0 [ 158.319733][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 158.325130][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 158.331186][ T5053] ? bch2_bkey_ptrs_invalid+0x250d/0x2d40 [ 158.337165][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 158.342560][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 158.348560][ T5053] __msan_warning+0x95/0x120 [ 158.353323][ T5053] bch2_alloc_v4_invalid+0x625/0x10f0 [ 158.358931][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 158.364359][ T5053] ? __pfx_bch2_alloc_v4_invalid+0x10/0x10 [ 158.370407][ T5053] bch2_bkey_val_invalid+0x24f/0x380 [ 158.375938][ T5053] validate_bset_keys+0x12d8/0x25d0 [ 158.381419][ T5053] validate_bset_for_write+0x1dd/0x340 [ 158.387128][ T5053] __bch2_btree_node_write+0x4777/0x67c0 [ 158.392991][ T5053] ? __update_load_avg_cfs_rq+0x121/0x10e0 [ 158.399096][ T5053] ? update_load_avg+0x1865/0x29b0 [ 158.404411][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 158.409864][ T5053] bch2_btree_node_write+0xa5/0x2e0 [ 158.415355][ T5053] __btree_node_flush+0x4d0/0x640 [ 158.420574][ T5053] ? __btree_node_flush+0xd1/0x640 [ 158.425893][ T5053] ? __pfx_bch2_btree_node_flush0+0x10/0x10 [ 158.431987][ T5053] bch2_btree_node_flush0+0x35/0x60 [ 158.437381][ T5053] journal_flush_pins+0xce6/0x1780 [ 158.442732][ T5053] __bch2_journal_reclaim+0xd88/0x1610 [ 158.448405][ T5053] ? __try_to_del_timer_sync+0x3d3/0x420 [ 158.454305][ T5053] bch2_journal_reclaim_thread+0x18e/0x760 [ 158.460348][ T5053] kthread+0x3e2/0x540 [ 158.464614][ T5053] ? __pfx_bch2_journal_reclaim_thread+0x10/0x10 [ 158.471156][ T5053] ? __pfx_kthread+0x10/0x10 [ 158.475947][ T5053] ret_from_fork+0x6d/0x90 [ 158.480539][ T5053] ? __pfx_kthread+0x10/0x10 [ 158.485331][ T5053] ret_from_fork_asm+0x1a/0x30 [ 158.490322][ T5053] [ 158.494377][ T5053] Kernel Offset: disabled [ 158.498771][ T5053] Rebooting in 86400 seconds..