CVE-2022-49055
drm/amdkfd: Check for potential null return of kmalloc_array()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 32cf90a521dcc0f136db7ee5ba32bfe5f79e460e; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 40bf32dbfef866c83a3e74800b81d79e52b6d20b; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 94869bb0de69a812f70231b0eb480bb2f7ae73a6; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < c7a268b33882d5feaafd29c1734456f41ba41396; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 1d7a5aae884ca727d41c7ed15d4c82fdb67c040c; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < f2658d5966bcee8c3eb487875f459756d4f7cdfc; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 0a692c625e373fef692ffbc7fc41f8a025f01cb7; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < ebbb7bb9e80305820dc2328a371c1b35679f2667
- Anyone running Linux 4.2
Vulnerability facts
- Affected
- Linux >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 32cf90a521dcc0f136db7ee5ba32bfe5f79e460e; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 40bf32dbfef866c83a3e74800b81d79e52b6d20b; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 94869bb0de69a812f70231b0eb480bb2f7ae73a6; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < c7a268b33882d5feaafd29c1734456f41ba41396; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 1d7a5aae884ca727d41c7ed15d4c82fdb67c040c; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < f2658d5966bcee8c3eb487875f459756d4f7cdfc; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 0a692c625e373fef692ffbc7fc41f8a025f01cb7; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < ebbb7bb9e80305820dc2328a371c1b35679f2667; Linux 4.2
- Fixed in
- Linux 32cf90a521dcc0f136db7ee5ba32bfe5f79e460e, Linux 40bf32dbfef866c83a3e74800b81d79e52b6d20b, Linux 94869bb0de69a812f70231b0eb480bb2f7ae73a6, Linux 1d7a5aae884ca727d41c7ed15d4c82fdb67c040c, Linux 0a692c625e373fef692ffbc7fc41f8a025f01cb7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- CWE
- CWE-476
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 32cf90a521dcc0f136db7ee5ba32bfe5f79e460e; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 40bf32dbfef866c83a3e74800b81d79e52b6d20b; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 94869bb0de69a812f70231b0eb480bb2f7ae73a6; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < c7a268b33882d5feaafd29c1734456f41ba41396; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 1d7a5aae884ca727d41c7ed15d4c82fdb67c040c; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < f2658d5966bcee8c3eb487875f459756d4f7cdfc; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 0a692c625e373fef692ffbc7fc41f8a025f01cb7; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < ebbb7bb9e80305820dc2328a371c1b35679f2667 | — | cvelist |
| Linux | 4.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49055. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49055.md Affected: Linux >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 32cf90a521dcc0f136db7ee5ba32bfe5f79e460e; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 40bf32dbfef866c83a3e74800b81d79e52b6d20b; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 94869bb0de69a812f70231b0eb480bb2f7ae73a6; >= f3a398183f7b9ef78f6b71e… Fixed in: Linux 32cf90a521dcc0f136db7ee5ba32bfe5f79e460e, Linux 40bf32dbfef866c83a3e74800b81d79e52b6d20b, Linux 94869bb0de69a812f70231b0eb480bb2f7ae73a6, Linux 1d7a5aae884ca727d41c7ed15d4c82fdb67c040c, Linux 0a692c625e373fef692ffbc7fc41f8a025f01cb7 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/32cf90a521dcc0f136db7ee5ba32bfe5f79e460e
- https://git.kernel.org/stable/c/40bf32dbfef866c83a3e74800b81d79e52b6d20b
- https://git.kernel.org/stable/c/94869bb0de69a812f70231b0eb480bb2f7ae73a6
- https://git.kernel.org/stable/c/c7a268b33882d5feaafd29c1734456f41ba41396
- https://git.kernel.org/stable/c/1d7a5aae884ca727d41c7ed15d4c82fdb67c040c
- https://git.kernel.org/stable/c/f2658d5966bcee8c3eb487875f459756d4f7cdfc
- https://git.kernel.org/stable/c/0a692c625e373fef692ffbc7fc41f8a025f01cb7
- https://git.kernel.org/stable/c/ebbb7bb9e80305820dc2328a371c1b35679f2667
FAQ
Is CVE-2022-49055 being exploited?
There is no confirmed exploitation: CVE-2022-49055 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49055?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49055?
Linux >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 32cf90a521dcc0f136db7ee5ba32bfe5f79e460e; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 40bf32dbfef866c83a3e74800b81d79e52b6d20b; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 94869bb0de69a812f70231b0eb480bb2f7ae73a6; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < c7a268b33882d5feaafd29c1734456f41ba41396; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 1d7a5aae884ca727d41c7ed15d4c82fdb67c040c; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < f2658d5966bcee8c3eb487875f459756d4f7cdfc; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < 0a692c625e373fef692ffbc7fc41f8a025f01cb7; >= f3a398183f7b9ef78f6b71ee9f7641e046403bcb, < ebbb7bb9e80305820dc2328a371c1b35679f2667; Linux 4.2.
Is there a fix for CVE-2022-49055?
Yes. Fixed in Linux 32cf90a521dcc0f136db7ee5ba32bfe5f79e460e, Linux 40bf32dbfef866c83a3e74800b81d79e52b6d20b, Linux 94869bb0de69a812f70231b0eb480bb2f7ae73a6, Linux 1d7a5aae884ca727d41c7ed15d4c82fdb67c040c, Linux 0a692c625e373fef692ffbc7fc41f8a025f01cb7. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-49055?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.