Bug 2330342 (CVE-2024-53133) - CVE-2024-53133 kernel: drm/amd/display: Handle dml allocation failure to avoid crash
Summary: CVE-2024-53133 kernel: drm/amd/display: Handle dml allocation failure to avoi...
Keywords:
Status: NEW
Alias: CVE-2024-53133
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2330502
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-04 15:01 UTC by OSIDB Bzimport
Modified: 2025-01-28 12:13 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-04 15:01:38 UTC
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)

Comment 1 Avinash Hanwate 2024-12-05 04:38:37 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024120451-CVE-2024-53133-b0b7@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.