===================================================== BUG: KMSAN: uninit-value in array_map_lookup_elem+0x14d/0x170 kernel/bpf/arraymap.c:168 array_map_lookup_elem+0x14d/0x170 kernel/bpf/arraymap.c:168 ____bpf_map_lookup_elem kernel/bpf/helpers.c:42 [inline] bpf_map_lookup_elem+0x5c/0x80 kernel/bpf/helpers.c:38 ___bpf_prog_run+0x13fe/0xe0f0 kernel/bpf/core.c:1997 __bpf_prog_run64+0xb5/0xe0 kernel/bpf/core.c:2236 bpf_dispatcher_nop_func include/linux/bpf.h:1234 [inline] __bpf_prog_run include/linux/filter.h:657 [inline] bpf_prog_run include/linux/filter.h:664 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2381 [inline] bpf_trace_run1+0xf4/0x2d0 kernel/trace/bpf_trace.c:2419 __bpf_trace_mm_lru_insertion+0x26/0x30 include/trace/events/pagemap.h:28 trace_mm_lru_insertion include/trace/events/pagemap.h:28 [inline] lru_add_fn+0xadb/0xb80 mm/swap.c:216 folio_batch_move_lru+0x453/0x6a0 mm/swap.c:233 lru_add_drain_cpu+0xb9/0x510 mm/swap.c:667 lru_add_drain mm/swap.c:767 [inline] __folio_batch_release+0xa8/0x150 mm/swap.c:1091 folio_batch_release include/linux/pagevec.h:101 [inline] mpage_prepare_extent_to_map+0x2123/0x22c0 fs/ext4/inode.c:2505 ext4_do_writepages+0x1117/0x62e0 fs/ext4/inode.c:2632 ext4_writepages+0x312/0x830 fs/ext4/inode.c:2768 do_writepages+0x427/0xc30 mm/page-writeback.c:2612 filemap_fdatawrite_wbc+0x1d8/0x270 mm/filemap.c:397 __filemap_fdatawrite_range mm/filemap.c:430 [inline] file_write_and_wait_range+0x1bf/0x370 mm/filemap.c:788 ext4_sync_file+0x24d/0x13a0 fs/ext4/fsync.c:158 vfs_fsync_range+0x20d/0x270 fs/sync.c:188 generic_write_sync include/linux/fs.h:2795 [inline] ext4_buffered_write_iter+0x9ad/0xaa0 fs/ext4/file.c:305 ext4_file_write_iter+0x208/0x3450 call_write_iter include/linux/fs.h:2110 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xb63/0x1520 fs/read_write.c:590 ksys_write+0x20f/0x4c0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x93/0xe0 fs/read_write.c:652 x64_sys_call+0x3062/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Local variable stack created at: __bpf_prog_run64+0x45/0xe0 kernel/bpf/core.c:2236 bpf_dispatcher_nop_func include/linux/bpf.h:1234 [inline] __bpf_prog_run include/linux/filter.h:657 [inline] bpf_prog_run include/linux/filter.h:664 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2381 [inline] bpf_trace_run1+0xf4/0x2d0 kernel/trace/bpf_trace.c:2419 CPU: 0 PID: 5402 Comm: syz-executor.2 Not tainted 6.9.0-rc3-syzkaller-00023-g2c71fdf02a95 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 =====================================================