Double Free in Linux

CVE-2024-53133

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)

Vulnerability class: Double Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.002, 10.0th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions abd26a3252cbd1a3ae4e46d37596d176fe50b41a, 6.7.12, 6.12
  • Linux Kernel — versions 6.12

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 1 other repository (bygregonline/devsec-fastapi-report). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References