CVE-2022-49055

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

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 01:54 AM UTC
Updated: June 17, 2026 at 05:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.9.3114.10 ≤ v < 4.14.2764.15 ≤ v < 4.19.2394.2 ≤ v < 4.14.2764.2 ≤ v < 4.19.2394.2 ≤ v < 4.9.3114.2 ≤ v < 5.10.1124.2 ≤ v < 5.15.354.2 ≤ v < 5.17.44.2 ≤ v < 5.184.2 ≤ v < 5.4.1904.20 ≤ v < 5.4.1905.11 ≤ v < 5.15.355.16 ≤ v < 5.17.45.5 ≤ v < 5.10.1125.18 rc1f3a398183f7b9ef78f6b71ee9f7641e046403bcb
Vendor states this is fixed in 0a692c625e373fef692ffbc7fc41f8a025f01cb7 (fixed)
Vendor states this is fixed in 1d7a5aae884ca727d41c7ed15d4c82fdb67c040c (fixed)
Vendor states this is fixed in 32cf90a521dcc0f136db7ee5ba32bfe5f79e460e (fixed)
Vendor states this is fixed in 40bf32dbfef866c83a3e74800b81d79e52b6d20b (fixed)
Vendor states this is fixed in 94869bb0de69a812f70231b0eb480bb2f7ae73a6 (fixed)
Vendor states this is fixed in c7a268b33882d5feaafd29c1734456f41ba41396 (fixed)
Vendor states this is fixed in ebbb7bb9e80305820dc2328a371c1b35679f2667 (fixed)
Vendor states this is fixed in f2658d5966bcee8c3eb487875f459756d4f7cdfc (fixed)
Vendor states this is fixed in 4.14.276 (unaffected)
Vendor states this is fixed in 4.19.239 (unaffected)
Vendor states this is fixed in 4.2 (unaffected)
Vendor states this is fixed in 4.9.311 (unaffected)
Vendor states this is fixed in 5.10.112 (unaffected)
Vendor states this is fixed in 5.15.35 (unaffected)
Vendor states this is fixed in 5.17.4 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 5.4.190 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0a692c625e373fef692ffbc7fc41f8a025f01cb7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1d7a5aae884ca727d41c7ed15d4c82fdb67c040c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/32cf90a521dcc0f136db7ee5ba32bfe5f79e460e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/40bf32dbfef866c83a3e74800b81d79e52b6d20b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/94869bb0de69a812f70231b0eb480bb2f7ae73a6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c7a268b33882d5feaafd29c1734456f41ba41396
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ebbb7bb9e80305820dc2328a371c1b35679f2667
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f2658d5966bcee8c3eb487875f459756d4f7cdfc

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card