CVE-2024-42122Published Jul 30, 2024 · Jul 30Updated Oct 28
drm/amd/display: Add NULL pointer check for kzalloc
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Add NULL pointer check for kzalloc
[Why & How] Check return pointer of kzalloc before using it.
From the CVE record · Linux
The Linux kernel AMD display code used a kzalloc return pointer without checking whether allocation succeeded. If allocation fails, this can cause a NULL pointer dereference; the input does not establish how an attacker could trigger it or whether authentication or user interaction is needed.
Engineers running Linux kernels with AMD display code should check their systems; affected versions are not specified.