7.8high
drm/amd/display: Handle dml allocation failure to avoid crash
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.30% (higher than 15% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Handle dml allocation failure to avoid crash [Why] In the case where a dml allocation fails for any reason, the current state's dml contexts would no longer be valid. Then subsequent calls dc_state_copy_internal would shallow copy invalid memory and if the new state was released, a double free would occur. [How] Reset dml pointers in new_state to NULL and avoid invalid pointer (cherry picked from commit bcafdc61529a48f6f06355d78eb41b3aeda5296c)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from abd26a3252cbd1a3ae4e46d37596d176fe50b41a before 874ff59cde8fc525112dda26b501a1bac17dde9f, from abd26a3252cbd1a3ae4e46d37596d176fe50b41a before 6825cb07b79ffeb1d90ffaa7a1227462cdca34ae, 2064f7529dfe0305d6fafda77fdf66701d428db5, from 6.7.12 before 6.8, 6.8 Not affected: before 6.8, from 6.11.10 up to 6.11.*, from 6.12 up to * | CVE List |
| linux linux_kernel | before 6.11.10, 6.12 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Handle dml allocation failure to avoid crash [Why] In the case where a dml allocation fails for any reason, the current state's dml contexts would no longer be valid. Then subsequent calls dc_state_copy_internal would shallow copy invalid memory and if the new state was released, a double free would occur. [How] Reset dml pointers in new_state to NULL and avoid invalid pointer (cherry picked from commit bcafdc61529a48f6f06355d78eb41b3aeda5296c)
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: Controlar el error de asignación de dml para evitar un bloqueo [Por qué] En el caso de que una asignación de dml falle por cualquier motivo, los contextos dml del estado actual ya no serían válidos. Luego, las llamadas posteriores a dc_state_copy_internal realizarían una copia superficial de la memoria no válida y, si se liberara el nuevo estado, se produciría una doble liberación. [Cómo] Restablecer los punteros dml en new_state a NULL y evitar un puntero no válido (seleccionado de el commit bcafdc61529a48f6f06355d78eb41b3aeda5296c)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-53133 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-53133 changed 2026-06-17 | Public domain |