===================================================== BUG: KMSAN: uninit-value in LZ4_decompress_generic lib/lz4/lz4_decompress.c:147 [inline] BUG: KMSAN: uninit-value in LZ4_decompress_safe_partial+0x825/0x1e50 lib/lz4/lz4_decompress.c:472 LZ4_decompress_generic lib/lz4/lz4_decompress.c:147 [inline] LZ4_decompress_safe_partial+0x825/0x1e50 lib/lz4/lz4_decompress.c:472 __bio_uncompress+0x641/0xd40 fs/bcachefs/compress.c:200 bch2_bio_uncompress+0x4d9/0x800 fs/bcachefs/compress.c:330 __bch2_read_endio+0x16b2/0x25a0 fs/bcachefs/io_read.c:727 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xc1a/0x1e80 kernel/workqueue.c:3319 worker_thread+0xea7/0x14f0 kernel/workqueue.c:3400 kthread+0x6b9/0xef0 kernel/kthread.c:464 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Uninit was created at: __alloc_frozen_pages_noprof+0x9a7/0xe00 mm/page_alloc.c:4763 alloc_pages_mpol+0x4cd/0x890 mm/mempolicy.c:2270 alloc_frozen_pages_noprof mm/mempolicy.c:2341 [inline] alloc_pages_noprof+0x1b5/0x250 mm/mempolicy.c:2361 __bio_alloc_page_pool fs/bcachefs/io_write.c:113 [inline] bch2_bio_alloc_pages_pool+0xc2/0x2d0 fs/bcachefs/io_write.c:134 __bch2_read_extent+0x3539/0x6b50 fs/bcachefs/io_read.c:1034 bch2_read_extent fs/bcachefs/io_read.h:134 [inline] bchfs_read+0x3af5/0x4240 fs/bcachefs/fs-io-buffered.c:218 bch2_readahead+0x14cc/0x19a0 fs/bcachefs/fs-io-buffered.c:291 read_pages+0x178/0xe00 mm/readahead.c:160 page_cache_ra_order+0xe53/0x1370 mm/readahead.c:515 page_cache_sync_ra+0xed1/0x11a0 mm/readahead.c:621 filemap_get_pages+0x6ed/0x3a90 mm/filemap.c:2590 filemap_read+0x615/0x1be0 mm/filemap.c:2701 bch2_read_iter+0x1ac4/0x2050 fs/bcachefs/fs-io-direct.c:213 __kernel_read+0x729/0xd40 fs/read_write.c:523 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+0x1731/0x3c90 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x46d/0xe60 security/integrity/ima/ima_api.c:293 process_measurement+0x2948/0x3f30 security/integrity/ima/ima_main.c:375 ima_file_check+0x8e/0xd0 security/integrity/ima/ima_main.c:603 security_file_post_open+0xc6/0x540 security/security.c:3130 do_open fs/namei.c:3832 [inline] path_openat+0x5916/0x6250 fs/namei.c:3989 do_filp_open+0x268/0x600 fs/namei.c:4016 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1428 do_sys_open fs/open.c:1443 [inline] __do_sys_openat fs/open.c:1459 [inline] __se_sys_openat fs/open.c:1454 [inline] __x64_sys_openat+0x2a1/0x310 fs/open.c:1454 x64_sys_call+0x36f5/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 4034 Comm: kworker/u8:21 Not tainted 6.14.0-rc7-syzkaller-00205-g586de92313fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: events_unbound __bch2_read_endio =====================================================