CVE-2024-42122

Source
https://cve.org/CVERecord?id=CVE-2024-42122
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42122.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42122
Downstream
Related
Published
2024-07-30T07:46:13.921Z
Modified
2026-05-28T03:52:54.349681984Z
Summary
drm/amd/display: Add NULL pointer check for kzalloc
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42122.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2024-42122.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
6.1.129
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.64
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42122.json"