CVE-2024-26770

Source
https://cve.org/CVERecord?id=CVE-2024-26770
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26770.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-26770
Downstream
Published
2024-04-03T17:00:56.894Z
Modified
2026-04-02T10:05:55.814448Z
Summary
HID: nvidia-shield: Add missing null pointer checks to LED initialization
Details

In the Linux kernel, the following vulnerability has been resolved:

HID: nvidia-shield: Add missing null pointer checks to LED initialization

devm_kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity.

[jkosina@suse.com: tweak changelog a bit]

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26770.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
09308562d4afb1abc66366608fa1cb9de783272f
Fixed
83527a13740f57b45f162e3af4c7db4b88521100
Fixed
e71cc4a1e584293deafff1a7dea614b0210d0443
Fixed
b6eda11c44dc89a681e1c105f0f4660e69b1e183

Database specific

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