Bug 2301487 (CVE-2024-42122) - CVE-2024-42122 kernel: drm/amd/display: Add NULL pointer check for kzalloc
Summary: CVE-2024-42122 kernel: drm/amd/display: Add NULL pointer check for kzalloc
Keywords:
Status: NEW
Alias: CVE-2024-42122
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2301789
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-30 08:33 UTC by OSIDB Bzimport
Modified: 2024-09-17 21:31 UTC (History)
4 users (show)

Fixed In Version: kernel 6.9.9, kernel 6.10
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the AMD graphic support in the Linux kernel. Multiple unchecked return values from memory allocation functions can cause a NULL pointer dereference, possibly resulting in a denial of service.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-30 08:33:36 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Add NULL pointer check for kzalloc

[Why & How]
Check return pointer of kzalloc before using it.

Comment 1 Mauro Matteo Cascella 2024-07-30 19:17:10 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024073025-CVE-2024-42122-2f70@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 19:17:29 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301789]


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