CVE-2022-49055Published Feb 26, 2025 · Feb 26Updated Oct 28
drm/amdkfd: Check for potential null return of kmalloc_array()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f3a398183f7b9ef78f6b71ee9f7641e046403bcb · < f2658d5966bcee8c3eb487875f459756d4f7cdfc| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
In the Linux kernel's drm/amdkfd component, kmalloc_array() can return null. Dereferencing event_waiters[i].wait after that failure can cause a null-pointer dereference. The input does not specify the access or interaction required to trigger it.
Engineers running the Linux kernel should check their versions; the affected versions are not specified.