./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2652451627 <...> Warning: Permanently added '10.128.1.180' (ED25519) to the list of known hosts. execve("./syz-executor2652451627", ["./syz-executor2652451627"], 0x7ffdedb07950 /* 10 vars */) = 0 brk(NULL) = 0x55557879a000 brk(0x55557879ad00) = 0x55557879ad00 arch_prctl(ARCH_SET_FS, 0x55557879a380) = 0 set_tid_address(0x55557879a650) = 5043 set_robust_list(0x55557879a660, 24) = 0 rseq(0x55557879aca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2652451627", 4096) = 28 getrandom("\xda\xb8\x03\xc8\x13\x50\x90\x8e", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557879ad00 brk(0x5555787bbd00) = 0x5555787bbd00 brk(0x5555787bc000) = 0x5555787bc000 mprotect(0x7f1e6a0f5000, 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=0x55557879a650) = 5044 ./strace-static-x86_64: Process 5044 attached [pid 5044] set_robust_list(0x55557879a660, 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 [pid 5044] write(3, "1000", 4) = 4 [pid 5044] close(3) = 0 executing program [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) = 0x7f1e61c00000 [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(0x7f1e61c00000, 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 [ 160.943252][ T5044] loop0: detected capacity change from 0 to 32768 [ 161.070363][ T5044] bcachefs (loop0): mounting version 1.7: mi_btree_bitmap opts=data_checksum=crc64,str_hash=crc64,nojournal_transaction_names,nocow [ 161.084877][ T5044] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 161.187968][ T5044] bcachefs (loop0): alloc_read... done [ 161.194154][ T5044] bcachefs (loop0): stripes_read... done [ 161.200211][ T5044] bcachefs (loop0): snapshots_read... done [ 161.217482][ T5044] bcachefs (loop0): journal_replay... done [ 161.223763][ T5044] bcachefs (loop0): resume_logged_ops... done [ 161.230458][ T5044] bcachefs (loop0): going read-write [pid 5044] mount("/dev/loop0", "./file0", "bcachefs", 0, "str_hash=crc64,data_checksum=crc64,metadata_checksum=crc32c,nocow,") = 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 [ 161.244201][ T5044] bcachefs (loop0): done starting filesystem [pid 5044] lsetxattr("./file0", "trusted.overlay.upper", "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 249, 0) = 0 [pid 5044] exit_group(0) = ? [pid 5044] +++ exited with 0 +++ [ 161.284817][ T5053] ===================================================== [ 161.291157][ T5044] syz-executor265 (5044) used greatest stack depth: 4888 bytes left [ 161.291970][ T5053] BUG: KMSAN: uninit-value in bch2_xattr_invalid+0x3af/0x630 [ 161.307495][ T5053] bch2_xattr_invalid+0x3af/0x630 [ 161.313152][ T5053] bch2_bkey_val_invalid+0x24f/0x380 [ 161.318745][ T5053] validate_bset_keys+0x12d8/0x25d0 [ 161.324269][ T5053] validate_bset_for_write+0x1dd/0x340 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5044, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=79 /* 0.79 s */} --- openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = 0 close(3) = 0 [ 161.329949][ T5053] __bch2_btree_node_write+0x4777/0x67c0 [ 161.335941][ T5053] bch2_btree_node_write+0xa5/0x2e0 [ 161.341367][ T5053] __btree_node_flush+0x4d0/0x640 [ 161.346740][ T5053] bch2_btree_node_flush0+0x35/0x60 [ 161.352247][ T5053] journal_flush_pins+0xce6/0x1780 [ 161.357551][ T5053] __bch2_journal_reclaim+0xd88/0x1610 [ 161.363371][ T5053] bch2_journal_reclaim_thread+0x18e/0x760 [ 161.369384][ T5053] kthread+0x3e2/0x540 [ 161.374147][ T5053] ret_from_fork+0x6d/0x90 [ 161.378744][ T5053] ret_from_fork_asm+0x1a/0x30 [ 161.383814][ T5053] [ 161.386228][ T5053] Uninit was stored to memory at: [ 161.391489][ T5053] bch2_sort_keys+0x1b4d/0x2cb0 [ 161.396798][ T5053] __bch2_btree_node_write+0x3acd/0x67c0 [ 161.402822][ T5053] bch2_btree_node_write+0xa5/0x2e0 [ 161.408259][ T5053] __btree_node_flush+0x4d0/0x640 [ 161.413675][ T5053] bch2_btree_node_flush0+0x35/0x60 [ 161.419046][ T5053] journal_flush_pins+0xce6/0x1780 [ 161.424456][ T5053] __bch2_journal_reclaim+0xd88/0x1610 [ 161.430182][ T5053] bch2_journal_reclaim_thread+0x18e/0x760 [ 161.436293][ T5053] kthread+0x3e2/0x540 [ 161.440548][ T5053] ret_from_fork+0x6d/0x90 [ 161.445234][ T5053] ret_from_fork_asm+0x1a/0x30 [ 161.450190][ T5053] [ 161.452721][ T5053] Uninit was created at: [ 161.457181][ T5053] __kmalloc_large_node+0x231/0x370 [ 161.462756][ T5053] __kmalloc_node+0xb10/0x10c0 [ 161.467695][ T5053] kvmalloc_node+0xc0/0x2d0 [ 161.472487][ T5053] bch2_btree_node_read_done+0x4e68/0x75e0 [ 161.478508][ T5053] btree_node_read_work+0x8a5/0x1eb0 [ 161.484114][ T5053] bch2_btree_node_read+0x3d42/0x4b50 [ 161.489691][ T5053] bch2_btree_root_read+0xa6c/0x13d0 [ 161.495292][ T5053] read_btree_roots+0x454/0xee0 [ 161.500315][ T5053] bch2_fs_recovery+0x7b6a/0x93e0 [ 161.505599][ T5053] bch2_fs_start+0x7b2/0xbd0 [ 161.510395][ T5053] bch2_fs_open+0x152a/0x15f0 [ 161.515467][ T5053] bch2_mount+0x90d/0x1d90 [ 161.520067][ T5053] legacy_get_tree+0x114/0x290 [ 161.525389][ T5053] vfs_get_tree+0xa7/0x570 [ 161.530006][ T5053] do_new_mount+0x71f/0x15e0 [ 161.534903][ T5053] path_mount+0x742/0x1f20 [ 161.539498][ T5053] __se_sys_mount+0x725/0x810 [ 161.544551][ T5053] __x64_sys_mount+0xe4/0x150 [ 161.549430][ T5053] x64_sys_call+0x2bf4/0x3b50 [ 161.554475][ T5053] do_syscall_64+0xcf/0x1e0 [ 161.559197][ T5053] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 161.565399][ T5053] [ 161.567825][ T5053] CPU: 1 PID: 5053 Comm: bch-reclaim/loo Not tainted 6.9.0-syzkaller-02707-g614da38e2f7a #0 executing program clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5057 attached , child_tidptr=0x55557879a650) = 5057 [pid 5057] set_robust_list(0x55557879a660, 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 [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) = 0x7f1e61c00000 [ 161.578181][ T5053] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 161.588469][ T5053] ===================================================== [ 161.595673][ T5053] Disabling lock debugging due to kernel taint [ 161.601937][ T5053] Kernel panic - not syncing: kmsan.panic set ... [ 161.608538][ T5053] CPU: 1 PID: 5053 Comm: bch-reclaim/loo Tainted: G B 6.9.0-syzkaller-02707-g614da38e2f7a #0 [ 161.620301][ T5053] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 161.630515][ T5053] Call Trace: [ 161.633913][ T5053] [ 161.636950][ T5053] dump_stack_lvl+0x216/0x2d0 [ 161.641846][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 161.647867][ T5053] dump_stack+0x1e/0x30 [ 161.652238][ T5053] panic+0x4e2/0xcd0 [ 161.656354][ T5053] ? kmsan_get_metadata+0xf1/0x1d0 [ 161.661686][ T5053] kmsan_report+0x2d5/0x2e0 [ 161.666402][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 161.672407][ T5053] ? __msan_warning+0x95/0x120 [ 161.677351][ T5053] ? bch2_xattr_invalid+0x3af/0x630 [ 161.682774][ T5053] ? bch2_bkey_val_invalid+0x24f/0x380 [ 161.688467][ T5053] ? validate_bset_keys+0x12d8/0x25d0 [ 161.694075][ T5053] ? validate_bset_for_write+0x1dd/0x340 [ 161.700015][ T5053] ? __bch2_btree_node_write+0x4777/0x67c0 [ 161.706050][ T5053] ? bch2_btree_node_write+0xa5/0x2e0 [ 161.711642][ T5053] ? __btree_node_flush+0x4d0/0x640 [ 161.717023][ T5053] ? bch2_btree_node_flush0+0x35/0x60 [ 161.722585][ T5053] ? journal_flush_pins+0xce6/0x1780 [ 161.728061][ T5053] ? __bch2_journal_reclaim+0xd88/0x1610 [ 161.733888][ T5053] ? bch2_journal_reclaim_thread+0x18e/0x760 [ 161.740069][ T5053] ? kthread+0x3e2/0x540 [ 161.744506][ T5053] ? ret_from_fork+0x6d/0x90 [ 161.749274][ T5053] ? ret_from_fork_asm+0x1a/0x30 [ 161.754428][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 161.760430][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 161.765906][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 161.771285][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 161.777290][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 161.782764][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 161.788853][ T5053] ? bch2_bkey_ptrs_invalid+0x250d/0x2d40 [ 161.794804][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 161.800194][ T5053] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 161.806211][ T5053] __msan_warning+0x95/0x120 [ 161.810969][ T5053] bch2_xattr_invalid+0x3af/0x630 [ 161.816241][ T5053] ? __pfx_bch2_xattr_invalid+0x10/0x10 [ 161.821990][ T5053] bch2_bkey_val_invalid+0x24f/0x380 [ 161.827506][ T5053] validate_bset_keys+0x12d8/0x25d0 [ 161.832973][ T5053] validate_bset_for_write+0x1dd/0x340 [ 161.838661][ T5053] __bch2_btree_node_write+0x4777/0x67c0 [ 161.844519][ T5053] ? stack_depot_save_flags+0x2c/0x6e0 [ 161.850187][ T5053] ? mempool_kmalloc+0x36/0x50 [ 161.855123][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 161.860569][ T5053] bch2_btree_node_write+0xa5/0x2e0 [ 161.865987][ T5053] __btree_node_flush+0x4d0/0x640 [ 161.871194][ T5053] ? __btree_node_flush+0xd1/0x640 [ 161.876922][ T5053] ? __pfx_bch2_btree_node_flush0+0x10/0x10 [ 161.883009][ T5053] bch2_btree_node_flush0+0x35/0x60 [ 161.888409][ T5053] journal_flush_pins+0xce6/0x1780 [ 161.893753][ T5053] __bch2_journal_reclaim+0xd88/0x1610 [ 161.899415][ T5053] ? kmsan_get_metadata+0x146/0x1d0 [ 161.904833][ T5053] bch2_journal_reclaim_thread+0x18e/0x760 [ 161.910864][ T5053] kthread+0x3e2/0x540 [ 161.915130][ T5053] ? __pfx_bch2_journal_reclaim_thread+0x10/0x10 [ 161.921665][ T5053] ? __pfx_kthread+0x10/0x10 [ 161.926452][ T5053] ret_from_fork+0x6d/0x90 [ 161.931046][ T5053] ? __pfx_kthread+0x10/0x10 [ 161.935832][ T5053] ret_from_fork_asm+0x1a/0x30 [ 161.940815][ T5053] [ 161.944174][ T5053] Kernel Offset: disabled [ 161.948568][ T5053] Rebooting in 86400 seconds..