{"id":"CVE-2024-42122","summary":"drm/amd/display: Add NULL pointer check for kzalloc","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Add NULL pointer check for kzalloc\n\n[Why & How]\nCheck return pointer of kzalloc before using it.","modified":"2026-04-02T12:17:49.858645Z","published":"2024-07-30T07:46:13.921Z","related":["SUSE-SU-2024:2894-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42122.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/062edd612fcd300f0f79a36fca5b8b6a5e2fce70"},{"type":"WEB","url":"https://git.kernel.org/stable/c/552e7938b4d7fe548fbf29b9950a14c6149d0470"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8e65a1b7118acf6af96449e1e66b7adbc9396912"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd1e565a5b7fa60c349ca8a16db1e61715fe8230"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42122.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42122"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c"},{"fixed":"552e7938b4d7fe548fbf29b9950a14c6149d0470"},{"fixed":"cd1e565a5b7fa60c349ca8a16db1e61715fe8230"},{"fixed":"062edd612fcd300f0f79a36fca5b8b6a5e2fce70"},{"fixed":"8e65a1b7118acf6af96449e1e66b7adbc9396912"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42122.json"}}],"schema_version":"1.7.5"}