./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor332323248 <...> Warning: Permanently added '10.128.0.5' (ED25519) to the list of known hosts. execve("./syz-executor332323248", ["./syz-executor332323248"], 0x7ffe48f54440 /* 10 vars */) = 0 brk(NULL) = 0x555566680000 brk(0x555566680d00) = 0x555566680d00 arch_prctl(ARCH_SET_FS, 0x555566680380) = 0 set_tid_address(0x555566680650) = 5804 set_robust_list(0x555566680660, 24) = 0 rseq(0x555566680ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor332323248", 4096) = 27 getrandom("\x5a\x59\xdf\xbb\x24\x3d\xa9\xa7", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555566680d00 brk(0x5555666a1d00) = 0x5555666a1d00 brk(0x5555666a2000) = 0x5555666a2000 mprotect(0x7f7f1c060000, 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=0x555566680650) = 5805 ./strace-static-x86_64: Process 5805 attached [pid 5805] set_robust_list(0x555566680660, 24) = 0 [pid 5805] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5805] setpgid(0, 0) = 0 [pid 5805] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5805] write(3, "1000", 4) = 4 [pid 5805] close(3) = 0 [pid 5805] write(1, "executing program\n", 18executing program ) = 18 [pid 5805] memfd_create("syzkaller", 0) = 3 [pid 5805] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7f13a00000 [pid 5805] 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 5805] munmap(0x7f7f13a00000, 138412032) = 0 [pid 5805] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5805] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5805] close(3) = 0 [pid 5805] close(4) = 0 [pid 5805] mkdir("./file1", 0777) = 0 [ 181.742093][ T5805] loop0: detected capacity change from 0 to 32768 [ 181.893229][ T5805] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,no_data_io [ 181.914865][ T5805] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 181.924268][ T5805] bcachefs (loop0): Version upgrade required: [ 181.924268][ T5805] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 181.924268][ T5805] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 181.924268][ T5805] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 181.998700][ T5805] bcachefs (loop0): dropping and reconstructing all alloc info [ 182.045947][ T5805] bcachefs (loop0): check_topology... done [ 182.052320][ T5805] bcachefs (loop0): accounting_read... done [ 182.059228][ T5805] bcachefs (loop0): alloc_read... done [ 182.065154][ T5805] bcachefs (loop0): stripes_read... done [ 182.071376][ T5805] bcachefs (loop0): snapshots_read... done [pid 5805] mount("/dev/loop0", "./file1", "bcachefs", MS_NODIRATIME, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5805] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5805] chdir("./file1") = 0 [pid 5805] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5805] ioctl(4, LOOP_CLR_FD) = 0 [pid 5805] close(4) = 0 [ 182.077682][ T5805] bcachefs (loop0): check_allocations... done [ 182.155976][ T5805] bcachefs (loop0): going read-write [ 182.172527][ T5805] bcachefs (loop0): done starting filesystem [ 182.214997][ T4883] ===================================================== [ 182.222302][ T4883] BUG: KMSAN: uninit-value in LZ4_decompress_safe_partial+0x825/0x1e50 [ 182.230893][ T4883] LZ4_decompress_safe_partial+0x825/0x1e50 [ 182.237006][ T4883] __bio_uncompress+0x503/0xa30 [ 182.242406][ T4883] bch2_bio_uncompress+0x4d9/0x800 [ 182.247735][ T4883] __bch2_read_endio+0x1b17/0x3070 [ 182.253183][ T4883] process_scheduled_works+0xae0/0x1c40 [ 182.258951][ T4883] worker_thread+0xea7/0x14f0 [ 182.263923][ T4883] kthread+0x3e2/0x540 [ 182.268144][ T4883] ret_from_fork+0x6d/0x90 [ 182.272870][ T4883] ret_from_fork_asm+0x1a/0x30 [ 182.277841][ T4883] [ 182.280356][ T4883] Uninit was created at: [ 182.284823][ T4883] __alloc_pages_noprof+0x9a7/0xe00 [ 182.290237][ T4883] alloc_pages_mpol_noprof+0x299/0x990 [ 182.295813][ T4883] alloc_pages_noprof+0x1bf/0x1e0 [ 182.301054][ T4883] bch2_bio_alloc_pages_pool+0xc2/0x2d0 [ 182.306798][ T4883] __bch2_read_extent+0x33b8/0x6a50 [ 182.312221][ T4883] bchfs_read+0x2f5e/0x3660 [ 182.316908][ T4883] bch2_readahead+0x14a8/0x1970 [ 182.322042][ T4883] read_pages+0x193/0x1110 [ 182.326604][ T4883] page_cache_ra_order+0xdbb/0x1290 [ 182.332039][ T4883] page_cache_sync_ra+0xed1/0x11a0 [ 182.337333][ T4883] filemap_get_pages+0x5a8/0x3860 [ 182.342585][ T4883] filemap_read+0x613/0x1560 [ 182.347355][ T4883] bch2_read_iter+0x1a90/0x2010 [ 182.352414][ T4883] __kernel_read+0x726/0xd30 [ 182.357174][ T4883] integrity_kernel_read+0x77/0x90 [ 182.362546][ T4883] ima_calc_file_hash+0x1731/0x3c90 [ 182.367925][ T4883] ima_collect_measurement+0x464/0xd20 [ 182.373614][ T4883] process_measurement+0x294a/0x3f30 [ 182.379077][ T4883] ima_file_check+0x8e/0xd0 [ 182.383846][ T4883] security_file_post_open+0xc6/0x540 [ 182.389392][ T4883] path_openat+0x58cc/0x6200 [ 182.394258][ T4883] do_filp_open+0x268/0x600 [ 182.398967][ T4883] do_sys_openat2+0x1bf/0x2f0 [ 182.403915][ T4883] __x64_sys_openat+0x2a1/0x310 [ 182.408927][ T4883] x64_sys_call+0x36f5/0x3c30 [ 182.413819][ T4883] do_syscall_64+0xcd/0x1e0 [ 182.418516][ T4883] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 182.424667][ T4883] [ 182.427088][ T4883] CPU: 1 UID: 0 PID: 4883 Comm: kworker/u8:24 Not tainted 6.12.0-syzkaller-10740-g509f806f7f70 #0 [ 182.437885][ T4883] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 182.448221][ T4883] Workqueue: events_unbound __bch2_read_endio [ 182.454611][ T4883] ===================================================== [ 182.461699][ T4883] Disabling lock debugging due to kernel taint [ 182.467905][ T4883] Kernel panic - not syncing: kmsan.panic set ... [ 182.474412][ T4883] CPU: 1 UID: 0 PID: 4883 Comm: kworker/u8:24 Tainted: G B 6.12.0-syzkaller-10740-g509f806f7f70 #0 [ 182.486612][ T4883] Tainted: [B]=BAD_PAGE [ 182.490839][ T4883] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 182.500987][ T4883] Workqueue: events_unbound __bch2_read_endio [ 182.507204][ T4883] Call Trace: [ 182.510552][ T4883] [ 182.513540][ T4883] dump_stack_lvl+0x216/0x2d0 [ 182.518324][ T4883] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 182.524301][ T4883] dump_stack+0x1e/0x30 [ 182.528546][ T4883] panic+0x4e2/0xcf0 [ 182.532566][ T4883] ? kmsan_get_metadata+0x91/0x1c0 [ 182.537820][ T4883] kmsan_report+0x2c7/0x2d0 [ 182.542444][ T4883] ? kmsan_internal_set_shadow_origin+0x69/0x100 [ 182.548921][ T4883] ? kmsan_get_metadata+0x13e/0x1c0 [ 182.554313][ T4883] ? __msan_warning+0x95/0x120 [ 182.559211][ T4883] ? LZ4_decompress_safe_partial+0x825/0x1e50 [ 182.565477][ T4883] ? __bio_uncompress+0x503/0xa30 [ 182.570643][ T4883] ? bch2_bio_uncompress+0x4d9/0x800 [ 182.576132][ T4883] ? __bch2_read_endio+0x1b17/0x3070 [ 182.581545][ T4883] ? process_scheduled_works+0xae0/0x1c40 [ 182.587387][ T4883] ? worker_thread+0xea7/0x14f0 [ 182.592360][ T4883] ? kthread+0x3e2/0x540 [ 182.596686][ T4883] ? ret_from_fork+0x6d/0x90 [ 182.601367][ T4883] ? ret_from_fork_asm+0x1a/0x30 [ 182.606422][ T4883] ? _raw_spin_unlock_irqrestore+0x3f/0x60 [ 182.612353][ T4883] ? kmsan_get_metadata+0x13e/0x1c0 [ 182.617676][ T4883] ? kmsan_internal_set_shadow_origin+0x69/0x100 [ 182.624124][ T4883] ? kmsan_get_metadata+0x13e/0x1c0 [ 182.629444][ T4883] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 182.635386][ T4883] ? __bio_map_or_bounce+0xe1e/0x18a0 [ 182.640891][ T4883] ? kmsan_get_metadata+0x13e/0x1c0 [ 182.646212][ T4883] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 182.652151][ T4883] __msan_warning+0x95/0x120 [ 182.656853][ T4883] LZ4_decompress_safe_partial+0x825/0x1e50 [ 182.662882][ T4883] ? kmsan_get_metadata+0x13e/0x1c0 [ 182.668200][ T4883] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 182.674164][ T4883] __bio_uncompress+0x503/0xa30 [ 182.679154][ T4883] bch2_bio_uncompress+0x4d9/0x800 [ 182.684406][ T4883] ? ksm_scan_thread+0xf820/0x10530 [ 182.689765][ T4883] ? ksm_scan_thread+0xf820/0x10530 [ 182.695105][ T4883] __bch2_read_endio+0x1b17/0x3070 [ 182.700344][ T4883] ? ksm_scan_thread+0xf820/0x10530 [ 182.705639][ T4883] ? kmsan_get_metadata+0x13e/0x1c0 [ 182.710964][ T4883] ? kmsan_get_metadata+0x13e/0x1c0 [ 182.716289][ T4883] ? ksm_scan_thread+0xf820/0x10530 [ 182.721609][ T4883] ? __pfx___bch2_read_endio+0x10/0x10 [ 182.727186][ T4883] process_scheduled_works+0xae0/0x1c40 [ 182.732880][ T4883] worker_thread+0xea7/0x14f0 [ 182.737688][ T4883] kthread+0x3e2/0x540 [ 182.741870][ T4883] ? __pfx_worker_thread+0x10/0x10 [ 182.747174][ T4883] ? __pfx_kthread+0x10/0x10 [ 182.751847][ T4883] ret_from_fork+0x6d/0x90 [ 182.756358][ T4883] ? __pfx_kthread+0x10/0x10 [ 182.761035][ T4883] ret_from_fork_asm+0x1a/0x30 [ 182.765923][ T4883] [ 182.769279][ T4883] Kernel Offset: disabled [ 182.773674][ T4883] Rebooting in 86400 seconds..