===================================================== BUG: KMSAN: uninit-value in LZ4_decompress_generic lib/lz4/lz4_decompress.c:147 [inline] BUG: KMSAN: uninit-value in LZ4_decompress_safe_partial+0x94a/0x2190 lib/lz4/lz4_decompress.c:472 LZ4_decompress_generic lib/lz4/lz4_decompress.c:147 [inline] LZ4_decompress_safe_partial+0x94a/0x2190 lib/lz4/lz4_decompress.c:472 __bio_uncompress+0x627/0x1490 fs/bcachefs/compress.c:200 bch2_bio_uncompress+0x507/0x9b0 fs/bcachefs/compress.c:323 __bch2_read_endio+0x17e4/0x2240 fs/bcachefs/io_read.c:866 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xb91/0x1d80 kernel/workqueue.c:3321 worker_thread+0xedf/0x1590 kernel/workqueue.c:3402 kthread+0xd59/0xf00 kernel/kthread.c:464 ret_from_fork+0x1e0/0x310 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Uninit was created at: __alloc_frozen_pages_noprof+0x689/0xf00 mm/page_alloc.c:4982 alloc_pages_mpol+0x328/0x860 mm/mempolicy.c:2419 alloc_frozen_pages_noprof mm/mempolicy.c:2490 [inline] alloc_pages_noprof+0x102/0x280 mm/mempolicy.c:2510 __bio_alloc_page_pool fs/bcachefs/io_write.c:121 [inline] bch2_bio_alloc_pages_pool+0x8f/0x230 fs/bcachefs/io_write.c:142 __bch2_read_extent+0x334e/0x6220 fs/bcachefs/io_read.c:1188 bch2_read_extent fs/bcachefs/io_read.h:147 [inline] bchfs_read+0x3ccb/0x4800 fs/bcachefs/fs-io-buffered.c:226 bch2_readahead+0x1579/0x1c10 fs/bcachefs/fs-io-buffered.c:316 read_pages+0x15c/0xe30 mm/readahead.c:160 page_cache_ra_order+0xeab/0x14f0 mm/readahead.c:515 page_cache_sync_ra+0x1083/0x13e0 mm/readahead.c:621 filemap_get_pages+0xfb3/0x3a60 mm/filemap.c:2602 filemap_read+0x5d2/0x2300 mm/filemap.c:2711 bch2_read_iter+0x559/0x21b0 fs/bcachefs/fs-io-direct.c:222 __kernel_read+0x765/0xdb0 fs/read_write.c:530 integrity_kernel_read+0x77/0x90 security/integrity/iint.c:28 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:480 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline] ima_calc_file_hash+0x17cb/0x4050 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x45d/0xe60 security/integrity/ima/ima_api.c:293 process_measurement+0x2d1a/0x40e0 security/integrity/ima/ima_main.c:385 ima_file_check+0x8e/0xd0 security/integrity/ima/ima_main.c:613 security_file_post_open+0xbf/0x530 security/security.c:3130 do_open fs/namei.c:3898 [inline] path_openat+0x5ac3/0x6760 fs/namei.c:4055 do_filp_open+0x280/0x660 fs/namei.c:4082 do_sys_openat2+0x1bb/0x2f0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x240/0x300 fs/open.c:1463 x64_sys_call+0x213/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 17043 Comm: kworker/u8:7 Tainted: G W 6.16.0-rc6-syzkaller-00037-ge2291551827f #0 PREEMPT(none) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events_unbound __bch2_read_endio =====================================================