===================================================== BUG: KMSAN: uninit-value in cpa_flush arch/x86/mm/pat/set_memory.c:453 [inline] BUG: KMSAN: uninit-value in change_page_attr_set_clr+0x1413/0x21a0 arch/x86/mm/pat/set_memory.c:2115 cpa_flush arch/x86/mm/pat/set_memory.c:453 [inline] change_page_attr_set_clr+0x1413/0x21a0 arch/x86/mm/pat/set_memory.c:2115 cpa_set_pages_array arch/x86/mm/pat/set_memory.c:2137 [inline] _set_pages_array+0x23d/0x4b0 arch/x86/mm/pat/set_memory.c:2521 set_pages_array_wc+0x39/0x50 arch/x86/mm/pat/set_memory.c:2552 drm_gem_shmem_get_pages_locked+0x3f7/0x4e0 drivers/gpu/drm/drm_gem_shmem_helper.c:214 drm_gem_shmem_mmap+0x2b0/0x700 drivers/gpu/drm/drm_gem_shmem_helper.c:646 drm_gem_shmem_object_mmap+0x36/0x50 include/drm/drm_gem_shmem_helper.h:277 drm_gem_mmap_obj+0x210/0x7b0 drivers/gpu/drm/drm_gem.c:1167 drm_gem_mmap+0x55b/0xb70 drivers/gpu/drm/drm_gem.c:1245 vfs_mmap include/linux/fs.h:2405 [inline] mmap_file mm/internal.h:167 [inline] __mmap_new_file_vma mm/vma.c:2413 [inline] __mmap_new_vma mm/vma.c:2476 [inline] __mmap_region mm/vma.c:2670 [inline] mmap_region+0x3632/0x5020 mm/vma.c:2740 do_mmap+0x17a8/0x1d70 mm/mmap.c:558 vm_mmap_pgoff+0x40d/0x770 mm/util.c:581 ksys_mmap_pgoff+0x51b/0x7c0 mm/mmap.c:604 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:89 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:82 [inline] __x64_sys_mmap+0x19c/0x260 arch/x86/kernel/sys_x86_64.c:82 x64_sys_call+0x18a7/0x3e30 arch/x86/include/generated/asm/syscalls_64.h:10 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_post_alloc_hook mm/slub.c:4962 [inline] slab_alloc_node mm/slub.c:5265 [inline] __do_kmalloc_node mm/slub.c:5626 [inline] __kmalloc_noprof+0xabb/0x1b40 mm/slub.c:5639 kmalloc_noprof include/linux/slab.h:961 [inline] memcg_init_list_lru_one mm/list_lru.c:410 [inline] memcg_list_lru_alloc+0x39a/0xcf0 mm/list_lru.c:543 __memcg_slab_post_alloc_hook+0x489/0x1270 mm/memcontrol.c:3162 memcg_slab_post_alloc_hook mm/slub.c:2322 [inline] slab_post_alloc_hook mm/slub.c:4966 [inline] slab_alloc_node mm/slub.c:5265 [inline] kmem_cache_alloc_lru_noprof+0xaa0/0x1640 mm/slub.c:5284 xas_alloc lib/xarray.c:378 [inline] xas_expand lib/xarray.c:590 [inline] xas_create+0xb3b/0x27e0 lib/xarray.c:661 xas_store+0xc4/0x2a30 lib/xarray.c:795 __filemap_add_folio+0x106b/0x1960 mm/filemap.c:927 filemap_add_folio+0x37f/0x6e0 mm/filemap.c:978 __filemap_get_folio+0xcb9/0x1930 mm/filemap.c:2022 grow_dev_folio fs/buffer.c:1050 [inline] grow_buffers fs/buffer.c:1116 [inline] __getblk_slow fs/buffer.c:1134 [inline] bdev_getblk+0x25a/0xad0 fs/buffer.c:1461 __getblk include/linux/buffer_head.h:380 [inline] sb_getblk include/linux/buffer_head.h:386 [inline] __ext4_get_inode_loc+0x79f/0x1ad0 fs/ext4/inode.c:4837 __ext4_get_inode_loc_noinmem fs/ext4/inode.c:4950 [inline] __ext4_iget+0x559/0x7090 fs/ext4/inode.c:5225 __ext4_fill_super fs/ext4/super.c:5512 [inline] ext4_fill_super+0x9407/0xb010 fs/ext4/super.c:5736 get_tree_bdev_flags+0x6e6/0x920 fs/super.c:1691 get_tree_bdev+0x38/0x50 fs/super.c:1714 ext4_get_tree+0x35/0x40 fs/ext4/super.c:5768 vfs_get_tree+0xb3/0x5c0 fs/super.c:1751 fc_mount fs/namespace.c:1208 [inline] do_new_mount_fc fs/namespace.c:3651 [inline] do_new_mount+0x839/0x15f0 fs/namespace.c:3727 path_mount+0x747/0x1fb0 fs/namespace.c:4037 do_mount fs/namespace.c:4050 [inline] __do_sys_mount fs/namespace.c:4238 [inline] __se_sys_mount+0x6f7/0x7e0 fs/namespace.c:4215 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4215 x64_sys_call+0x3604/0x3e30 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 10612 Comm: syz.2.1363 Tainted: G W syzkaller #0 PREEMPT(none) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 =====================================================