← CVE Intelligence

CVE-2025-37783

drm/msm/dpu: Fix error pointers in dpu_plane_virtual_atomic_check PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: drm/msm/dpu: Fix error pointers in dpu_plane_virtual_atomic_check The function dpu_plane_virtual_atomic_check was dereferencing pointers returned by drm_atomic_get_plane_state without checking for errors. This could lead to undefined behavior if the function returns an error pointer. This commit adds checks using IS_ERR to ensure that plane_state is valid before dereferencing them. Similar to commit da29abe71e16 ("drm/amd/display: Fix error pointers in amdgpu_dm_crtc_mem_type_changed"). Patchwork: https://patchwork.freedesktop.org/patch/643132/

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 774bcfb731765d092992136b54c34958d7c64bea before a9670ed1cce3216778c89936d3ae91cf0d436035; affected 774bcfb731765d092992136b54c34958d7c64bea before 5cb1b130e1cd04239cc9c26a98279f4660dce583
Linux / Linuxaffected 6.14; unaffected 0 before 6.14; unaffected 6.14.4 through 6.14.*; unaffected 6.15 through *

CWE

No CWE identifiers supplied.

References