Linux Kernel Vulnerability in GEM Object Management
CVE-2025-38669
What is CVE-2025-38669?
A vulnerability in the Linux kernel related to the handling of the dma_buf field in struct drm_gem_object has been identified. This issue arises when the field becomes NULL after user space releases the last GEM handle for a buffer object, potentially leading to a NULL-pointer dereference. Previous attempts to mitigate this vulnerability through workarounds were only partially effective, particularly for buffer objects that do not have an associated DRM framebuffer. The solution involves reverting to the previous method of using .import_attach->dmabuf for safer buffer management.
Affected Version(s)
Linux 1a148af06000e545e714fe3210af3d77ff903c11 < 291a77604858a8b47cf6640a12b76e97f99e00ed
Linux 1a148af06000e545e714fe3210af3d77ff903c11 < 6d496e9569983a0d7a05be6661126d0702cf94f7
Linux 6.15