5.5medium
drm/msm/dpu: Fix error pointers in dpu_plane_virtual_atomic_check
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 774bcfb731765d092992136b54c34958d7c64bea before a9670ed1cce3216778c89936d3ae91cf0d436035, from 774bcfb731765d092992136b54c34958d7c64bea before 5cb1b130e1cd04239cc9c26a98279f4660dce583, 6.14 Not affected: before 6.14, from 6.14.4 up to 6.14.*, from 6.15 up to * | CVE List |
| linux linux_kernel | from 6.14 before 6.14.4, 6.15 | NVD |
Classification
What each source says
CVE List
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/
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/msm/dpu: Corrección de punteros de error en dpu_plane_virtual_atomic_check. La función dpu_plane_virtual_atomic_check desreferenciaba los punteros devueltos por drm_atomic_get_plane_state sin comprobar si había errores. Esto podría provocar un comportamiento indefinido si la función devuelve un puntero de error. Esta confirmación añade comprobaciones mediante IS_ERR para garantizar que plane_state sea válido antes de desreferenciarlo. Similar al commit da29abe71e16 ("drm/amd/display: Corrección de punteros de error en amdgpu_dm_crtc_mem_type_changed"). Patchwork: https://patchwork.freedesktop.org/patch/643132/
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37783 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-37783 changed 2026-06-17 | Public domain |