CVE-2024-53133

drm/amd/display: Handle dml allocation failure to avoid crash

High · published December 4, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
9.5
In the wild
Unconfirmed
What it is

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)

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00201 · 9.5th percentile
Published
2024-12-04T14:20Z
EPSS history
Timeline
  • 04 DEC 14:20Z
    drm/amd/display: Handle dml allocation failure to avoid crash
    cvelistv5