{"id":"CVE-2024-26770","summary":"HID: nvidia-shield: Add missing null pointer checks to LED initialization","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: nvidia-shield: Add missing null pointer checks to LED initialization\n\ndevm_kasprintf() returns a pointer to dynamically allocated memory\nwhich can be NULL upon failure. Ensure the allocation was successful\nby checking the pointer validity.\n\n[jkosina@suse.com: tweak changelog a bit]","modified":"2026-08-12T03:51:29.058360271Z","published":"2024-04-03T17:00:56.894Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26770.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/83527a13740f57b45f162e3af4c7db4b88521100"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b6eda11c44dc89a681e1c105f0f4660e69b1e183"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e71cc4a1e584293deafff1a7dea614b0210d0443"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26770.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26770"},{"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":"09308562d4afb1abc66366608fa1cb9de783272f"},{"fixed":"83527a13740f57b45f162e3af4c7db4b88521100"},{"fixed":"e71cc4a1e584293deafff1a7dea614b0210d0443"},{"fixed":"b6eda11c44dc89a681e1c105f0f4660e69b1e183"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26770.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.6.19"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.7.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26770.json"}}],"schema_version":"1.9.0"}