===================================================== 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_pin_locked+0x2b3/0x580 drivers/gpu/drm/drm_gem_shmem_helper.c:261 drm_gem_shmem_object_pin+0x2e/0x40 include/drm/drm_gem_shmem_helper.h:193 drm_gem_map_attach+0x27f/0x380 drivers/gpu/drm/drm_prime.c:620 dma_buf_dynamic_attach+0x235/0x730 drivers/dma-buf/dma-buf.c:974 dma_buf_attach+0x3a/0x50 drivers/dma-buf/dma-buf.c:1001 drm_gem_shmem_prime_import_no_map+0x175/0x620 drivers/gpu/drm/drm_gem_shmem_helper.c:835 drm_gem_prime_fd_to_handle+0x2f6/0xa40 drivers/gpu/drm/drm_prime.c:313 drm_prime_fd_to_handle_ioctl+0xec/0x130 drivers/gpu/drm/drm_prime.c:371 drm_ioctl_kernel+0x470/0x590 drivers/gpu/drm/drm_ioctl.c:797 drm_ioctl+0xefa/0x1730 drivers/gpu/drm/drm_ioctl.c:894 drm_compat_ioctl+0x1b0/0x690 drivers/gpu/drm/drm_ioc32.c:-1 __do_compat_sys_ioctl fs/ioctl.c:695 [inline] __se_compat_sys_ioctl fs/ioctl.c:638 [inline] __ia32_compat_sys_ioctl+0x7f9/0x1270 fs/ioctl.c:638 ia32_sys_call+0x2d5f/0x4310 arch/x86/include/generated/asm/syscalls_32.h:55 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb0/0x150 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x38/0x80 arch/x86/entry/syscall_32.c:331 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/syscall_32.c:369 entry_SYSENTER_compat_after_hwframe+0x84/0x8e 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] __kvmalloc_node_noprof+0xb8f/0x1d40 mm/slub.c:7081 kvmalloc_array_node_noprof include/linux/slab.h:1122 [inline] drm_gem_get_pages+0x153/0x14c0 drivers/gpu/drm/drm_gem.c:647 drm_gem_shmem_get_pages_locked+0x1d2/0x4e0 drivers/gpu/drm/drm_gem_shmem_helper.c:200 drm_gem_shmem_pin_locked+0x2b3/0x580 drivers/gpu/drm/drm_gem_shmem_helper.c:261 drm_gem_shmem_object_pin+0x2e/0x40 include/drm/drm_gem_shmem_helper.h:193 drm_gem_map_attach+0x27f/0x380 drivers/gpu/drm/drm_prime.c:620 dma_buf_dynamic_attach+0x235/0x730 drivers/dma-buf/dma-buf.c:974 dma_buf_attach+0x3a/0x50 drivers/dma-buf/dma-buf.c:1001 drm_gem_shmem_prime_import_no_map+0x175/0x620 drivers/gpu/drm/drm_gem_shmem_helper.c:835 drm_gem_prime_fd_to_handle+0x2f6/0xa40 drivers/gpu/drm/drm_prime.c:313 drm_prime_fd_to_handle_ioctl+0xec/0x130 drivers/gpu/drm/drm_prime.c:371 drm_ioctl_kernel+0x470/0x590 drivers/gpu/drm/drm_ioctl.c:797 drm_ioctl+0xefa/0x1730 drivers/gpu/drm/drm_ioctl.c:894 drm_compat_ioctl+0x1b0/0x690 drivers/gpu/drm/drm_ioc32.c:-1 __do_compat_sys_ioctl fs/ioctl.c:695 [inline] __se_compat_sys_ioctl fs/ioctl.c:638 [inline] __ia32_compat_sys_ioctl+0x7f9/0x1270 fs/ioctl.c:638 ia32_sys_call+0x2d5f/0x4310 arch/x86/include/generated/asm/syscalls_32.h:55 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb0/0x150 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x38/0x80 arch/x86/entry/syscall_32.c:331 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/syscall_32.c:369 entry_SYSENTER_compat_after_hwframe+0x84/0x8e CPU: 0 UID: 0 PID: 16925 Comm: syz.5.2494 Tainted: G W syzkaller #0 PREEMPT(none) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 =====================================================