# CVE-2022-49055: drm/amdkfd: Check for potential null return of kmalloc_array()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-02-26T01:54:27.771Z
- Modified: 2026-06-17T05:16:57.257Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f3a398183f7b9ef78f6b71ee9f7641e046403bcb before 32cf90a521dcc0f136db7ee5ba32bfe5f79e460e; from f3a398183f7b9ef78f6b71ee9f7641e046403bcb before 40bf32dbfef866c83a3e74800b81d79e52b6d20b; from f3a398183f7b9ef78f6b71ee9f7641e046403bcb before 94869bb0de69a812f70231b0eb480bb2f7ae73a6; from f3a398183f7b9ef78f6b71ee9f7641e046403bcb before c7a268b33882d5feaafd29c1734456f41ba41396; from f3a398183f7b9ef78f6b71ee9f7641e046403bcb before 1d7a5aae884ca727d41c7ed15d4c82fdb67c040c; from f3a398183f7b9ef78f6b71ee9f7641e046403bcb before f2658d5966bcee8c3eb487875f459756d4f7cdfc; from f3a398183f7b9ef78f6b71ee9f7641e046403bcb before 0a692c625e373fef692ffbc7fc41f8a025f01cb7; from f3a398183f7b9ef78f6b71ee9f7641e046403bcb before ebbb7bb9e80305820dc2328a371c1b35679f2667; 4.2 (not affected: before 4.2; from 4.9.311 up to 4.9.*; from 4.14.276 up to 4.14.*; from 4.19.239 up to 4.19.*; from 5.4.190 up to 5.4.*; from 5.10.112 up to 5.10.*; from 5.15.35 up to 5.15.*; from 5.17.4 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: before 4.9.311; from 4.10 before 4.14.276; from 4.15 before 4.19.239; from 4.20 before 5.4.190; from 5.5 before 5.10.112; from 5.11 before 5.15.35; from 5.16 before 5.17.4; 5.18

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/32cf90a521dcc0f136db7ee5ba32bfe5f79e460e> (patch)
- <https://git.kernel.org/stable/c/40bf32dbfef866c83a3e74800b81d79e52b6d20b> (patch)
- <https://git.kernel.org/stable/c/94869bb0de69a812f70231b0eb480bb2f7ae73a6> (patch)
- <https://git.kernel.org/stable/c/c7a268b33882d5feaafd29c1734456f41ba41396> (patch)
- <https://git.kernel.org/stable/c/1d7a5aae884ca727d41c7ed15d4c82fdb67c040c> (patch)
- <https://git.kernel.org/stable/c/f2658d5966bcee8c3eb487875f459756d4f7cdfc> (patch)
- <https://git.kernel.org/stable/c/0a692c625e373fef692ffbc7fc41f8a025f01cb7> (patch)
- <https://git.kernel.org/stable/c/ebbb7bb9e80305820dc2328a371c1b35679f2667> (patch)

## Sources

- CVE List: [CVE-2022-49055](https://www.cve.org/CVERecord?id=CVE-2022-49055), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49055](https://nvd.nist.gov/vuln/detail/CVE-2022-49055), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49055 · Whole record: https://cve.day/CVE-2022-49055.json · Rebuilt by cve.day 2026-11-25T22:58:20.125Z
