Bug 2348011 (CVE-2022-49055) - CVE-2022-49055 kernel: drm/amdkfd: Check for potential null return of kmalloc_array()
Summary: CVE-2022-49055 kernel: drm/amdkfd: Check for potential null return of kmalloc...
Keywords:
Status: NEW
Alias: CVE-2022-49055
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:14 UTC by OSIDB Bzimport
Modified: 2025-04-20 17:38 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:14:31 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: Check for potential null return of kmalloc_array()

As the kmalloc_array() may return null, the 'event_waiters[i].wait' would lead to null-pointer dereference.
Therefore, it is better to check the return value of kmalloc_array() to avoid this confusion.

Comment 1 Avinash Hanwate 2025-02-26 13:01:18 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022652-CVE-2022-49055-b2a2@gregkh/T

Comment 4 Avinash Hanwate 2025-02-27 21:38:14 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022652-CVE-2022-49055-b2a2@gregkh/T


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