CVE-2024-42122: Linux kernel · drm/amd/display: Add NULL pointer check for kzalloc
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 00:37 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented by adding a NULL pointer check after the kzalloc call in the AMD display driver code. Users should apply the official Linux kernel updates that include this patch once available. Since no vendor advisory or patch links are provided, check the Linux kernel mailing lists or official repositories for the patch status.
Description
CVE-2024-42122 is a medium severity vulnerability in the Linux kernel's AMD display driver (drm/amd/display). It involves a missing NULL pointer check after a memory allocation call (kzalloc), which could lead to a kernel crash (denial of service). The issue has been resolved by adding a check for the kzalloc return value before its use.
References
- nvd.nist.gov/vuln/detail/CVE-2024-42122 (opens in a new tab)
- git.kernel.org/stable/c/062edd612fcd300f0f79a36fca5b8b6a5e2fce70 (opens in a new tab)
- git.kernel.org/stable/c/552e7938b4d7fe548fbf29b9950a14c6149d0470 (opens in a new tab)
- git.kernel.org/stable/c/8e65a1b7118acf6af96449e1e66b7adbc9396912 (opens in a new tab)
- git.kernel.org/stable/c/cd1e565a5b7fa60c349ca8a16db1e61715fe8230 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00028.html (opens in a new tab)