./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3208862379 <...> Warning: Permanently added '10.128.0.202' (ED25519) to the list of known hosts. execve("./syz-executor3208862379", ["./syz-executor3208862379"], 0x7fff33d63300 /* 10 vars */) = 0 brk(NULL) = 0x55557293d000 brk(0x55557293dd00) = 0x55557293dd00 arch_prctl(ARCH_SET_FS, 0x55557293d380) = 0 set_tid_address(0x55557293d650) = 5796 set_robust_list(0x55557293d660, 24) = 0 rseq(0x55557293dca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3208862379", 4096) = 28 getrandom("\xaf\x8d\x99\xe3\xd3\x6a\x56\x1a", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557293dd00 brk(0x55557295ed00) = 0x55557295ed00 brk(0x55557295f000) = 0x55557295f000 mprotect(0x7f0fe75b9000, 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 5797 attached , child_tidptr=0x55557293d650) = 5797 [pid 5797] set_robust_list(0x55557293d660, 24) = 0 [pid 5797] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5797] setpgid(0, 0) = 0 [pid 5797] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5797] write(3, "1000", 4executing program ) = 4 [pid 5797] close(3) = 0 [pid 5797] write(1, "executing program\n", 18) = 18 [pid 5797] memfd_create("syzkaller", 0) = 3 [pid 5797] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0fdf000000 [pid 5797] 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 5797] munmap(0x7f0fdf000000, 138412032) = 0 [pid 5797] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5797] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5797] close(3) = 0 [pid 5797] close(4) = 0 [pid 5797] mkdir("./file1", 0777) = 0 [ 181.551212][ T5797] loop0: detected capacity change from 0 to 32768 [ 181.674465][ T5797] 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.696471][ T5797] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 181.705976][ T5797] bcachefs (loop0): Version upgrade required: [ 181.705976][ T5797] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 181.705976][ T5797] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 181.705976][ T5797] 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.781483][ T5797] bcachefs (loop0): dropping and reconstructing all alloc info [ 181.830719][ T5797] bcachefs (loop0): check_topology... done [ 181.837042][ T5797] bcachefs (loop0): accounting_read... done [ 181.844525][ T5797] bcachefs (loop0): alloc_read... done [ 181.850481][ T5797] bcachefs (loop0): stripes_read... done [ 181.856830][ T5797] bcachefs (loop0): snapshots_read... done [pid 5797] mount("/dev/loop0", "./file1", "bcachefs", MS_NODIRATIME, "acl,direct_io,norecovery,fsck,journal_flush_disabled,noreTovery,btree_node_mem_ptr_optimization,reco"...) = 0 [pid 5797] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5797] chdir("./file1") = 0 [pid 5797] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5797] ioctl(4, LOOP_CLR_FD) = 0 [pid 5797] close(4) = 0 [ 181.863892][ T5797] bcachefs (loop0): check_allocations... done [ 181.945500][ T5797] bcachefs (loop0): going read-write [ 181.962474][ T5797] bcachefs (loop0): done starting filesystem [ 182.004744][ T60] ===================================================== [ 182.011977][ T60] BUG: KMSAN: uninit-value in LZ4_decompress_safe_partial+0x825/0x1e50 [ 182.020711][ T60] LZ4_decompress_safe_partial+0x825/0x1e50 [ 182.027053][ T60] __bio_uncompress+0x503/0xa30 [ 182.032131][ T60] bch2_bio_uncompress+0x4d9/0x800 [ 182.037601][ T60] __bch2_read_endio+0x1b17/0x3070 [ 182.042969][ T60] process_scheduled_works+0xae0/0x1c40 [ 182.048862][ T60] worker_thread+0xea7/0x14f0 [ 182.053876][ T60] kthread+0x3e2/0x540 [ 182.058392][ T60] ret_from_fork+0x6d/0x90 [ 182.063245][ T60] ret_from_fork_asm+0x1a/0x30 [ 182.068375][ T60] [ 182.070748][ T60] Uninit was created at: [ 182.075290][ T60] __alloc_pages_noprof+0x9a7/0xe00 [ 182.080646][ T60] alloc_pages_mpol_noprof+0x299/0x990 [ 182.086376][ T60] alloc_pages_noprof+0x1bf/0x1e0 [ 182.091600][ T60] bch2_bio_alloc_pages_pool+0xc2/0x2d0 [ 182.097433][ T60] __bch2_read_extent+0x33b8/0x6a50 [ 182.102828][ T60] bchfs_read+0x2f5e/0x3660 [ 182.107694][ T60] bch2_readahead+0x14a8/0x1970 [ 182.112725][ T60] read_pages+0x193/0x1110 [ 182.117347][ T60] page_cache_ra_order+0xdbb/0x1290 [ 182.122804][ T60] page_cache_sync_ra+0xed1/0x11a0 [ 182.128199][ T60] filemap_get_pages+0x5a8/0x3860 [ 182.133508][ T60] filemap_read+0x613/0x1560 [ 182.138259][ T60] bch2_read_iter+0x1a90/0x2010 [ 182.143529][ T60] __kernel_read+0x726/0xd30 [ 182.148308][ T60] integrity_kernel_read+0x77/0x90 [ 182.154099][ T60] ima_calc_file_hash+0x1731/0x3c90 [ 182.159684][ T60] ima_collect_measurement+0x464/0xd20 [ 182.165432][ T60] process_measurement+0x294a/0x3f30 [ 182.170923][ T60] ima_file_check+0x8e/0xd0 [ 182.175763][ T60] security_file_post_open+0xc6/0x540 [ 182.181317][ T60] path_openat+0x58cc/0x6200 [ 182.186132][ T60] do_filp_open+0x268/0x600 [ 182.190811][ T60] do_sys_openat2+0x1bf/0x2f0 [ 182.195754][ T60] __x64_sys_openat+0x2a1/0x310 [ 182.200808][ T60] x64_sys_call+0x36f5/0x3c30 [ 182.206046][ T60] do_syscall_64+0xcd/0x1e0 [ 182.210810][ T60] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 182.217014][ T60] [ 182.219462][ T60] CPU: 0 UID: 0 PID: 60 Comm: kworker/u8:4 Not tainted 6.12.0-syzkaller-10740-g509f806f7f70 #0 [ 182.230112][ T60] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 182.241144][ T60] Workqueue: events_unbound __bch2_read_endio [ 182.247639][ T60] ===================================================== [ 182.254760][ T60] Disabling lock debugging due to kernel taint [ 182.261182][ T60] Kernel panic - not syncing: kmsan.panic set ... [ 182.267882][ T60] CPU: 0 UID: 0 PID: 60 Comm: kworker/u8:4 Tainted: G B 6.12.0-syzkaller-10740-g509f806f7f70 #0 [ 182.279911][ T60] Tainted: [B]=BAD_PAGE [ 182.284164][ T60] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 182.294547][ T60] Workqueue: events_unbound __bch2_read_endio [ 182.300795][ T60] Call Trace: [ 182.304156][ T60] [ 182.307182][ T60] dump_stack_lvl+0x216/0x2d0 [ 182.312112][ T60] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 182.318182][ T60] dump_stack+0x1e/0x30 [ 182.322489][ T60] panic+0x4e2/0xcf0 [ 182.326531][ T60] ? kmsan_get_metadata+0x91/0x1c0 [ 182.331886][ T60] kmsan_report+0x2c7/0x2d0 [ 182.336597][ T60] ? kmsan_internal_set_shadow_origin+0x69/0x100 [ 182.343085][ T60] ? kmsan_get_metadata+0x13e/0x1c0 [ 182.348434][ T60] ? __msan_warning+0x95/0x120 [ 182.353351][ T60] ? LZ4_decompress_safe_partial+0x825/0x1e50 [ 182.360149][ T60] ? __bio_uncompress+0x503/0xa30 [ 182.365341][ T60] ? bch2_bio_uncompress+0x4d9/0x800 [ 182.370850][ T60] ? __bch2_read_endio+0x1b17/0x3070 [ 182.376316][ T60] ? process_scheduled_works+0xae0/0x1c40 [ 182.382377][ T60] ? worker_thread+0xea7/0x14f0 [ 182.387413][ T60] ? kthread+0x3e2/0x540 [ 182.391998][ T60] ? ret_from_fork+0x6d/0x90 [ 182.396722][ T60] ? ret_from_fork_asm+0x1a/0x30 [ 182.402152][ T60] ? _raw_spin_unlock_irqrestore+0x3f/0x60 [ 182.408326][ T60] ? kmsan_get_metadata+0x13e/0x1c0 [ 182.413696][ T60] ? kmsan_internal_set_shadow_origin+0x69/0x100 [ 182.420171][ T60] ? kmsan_get_metadata+0x13e/0x1c0 [ 182.425511][ T60] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 182.431558][ T60] ? __bio_map_or_bounce+0xe1e/0x18a0 [ 182.437092][ T60] ? kmsan_get_metadata+0x13e/0x1c0 [ 182.442434][ T60] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 182.448473][ T60] __msan_warning+0x95/0x120 [ 182.453190][ T60] LZ4_decompress_safe_partial+0x825/0x1e50 [ 182.459234][ T60] ? kmsan_get_metadata+0x13e/0x1c0 [ 182.464697][ T60] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 182.470669][ T60] __bio_uncompress+0x503/0xa30 [ 182.475680][ T60] bch2_bio_uncompress+0x4d9/0x800 [ 182.481023][ T60] ? ksm_scan_thread+0xf820/0x10530 [ 182.486342][ T60] ? ksm_scan_thread+0xf820/0x10530 [ 182.491663][ T60] __bch2_read_endio+0x1b17/0x3070 [ 182.497083][ T60] ? ksm_scan_thread+0xf820/0x10530 [ 182.502413][ T60] ? kmsan_get_metadata+0x13e/0x1c0 [ 182.507912][ T60] ? kmsan_get_metadata+0x13e/0x1c0 [ 182.513281][ T60] ? ksm_scan_thread+0xf820/0x10530 [ 182.518761][ T60] ? __pfx___bch2_read_endio+0x10/0x10 [ 182.524463][ T60] process_scheduled_works+0xae0/0x1c40 [ 182.530506][ T60] worker_thread+0xea7/0x14f0 [ 182.535321][ T60] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 182.541298][ T60] kthread+0x3e2/0x540 [ 182.545489][ T60] ? __pfx_worker_thread+0x10/0x10 [ 182.550759][ T60] ? __pfx_kthread+0x10/0x10 [ 182.555454][ T60] ret_from_fork+0x6d/0x90 [ 182.560043][ T60] ? __pfx_kthread+0x10/0x10 [ 182.564863][ T60] ret_from_fork_asm+0x1a/0x30 [ 182.569873][ T60] [ 182.573294][ T60] Kernel Offset: disabled [ 182.577712][ T60] Rebooting in 86400 seconds..