CVE-2024-53133
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelbefore 6.11.10, 6.12NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-415

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

SourceRecordLicence
CVE ListCVE-2024-53133 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-53133 changed 2026-06-17Public domain