{"id":"CVE-2024-26770","aliases":["CVE-2024-26770"],"related":[],"kind":"vulnerability","state":"published","title":"HID: nvidia-shield: Add missing null pointer checks to LED initialization","summary":"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]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: HID: nvidia-shield: agregar comprobaciones de puntero nulo faltantes a la inicialización del LED devm_kasprintf() devuelve un puntero a la memoria asignada dinámicamente que puede ser NULL en caso de falla. Asegúrese de que la asignación se haya realizado correctamente comprobando la validez del puntero. [jkosina@suse.com: modificar un poco el registro de cambios]","source":"nvd"}],"published":"2024-04-03T17:00:56.894Z","modified":"2026-06-17T07:18:18.067Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"09308562d4afb1abc66366608fa1cb9de783272f","fixed":"83527a13740f57b45f162e3af4c7db4b88521100","status":"affected"},{"type":"git","introduced":"09308562d4afb1abc66366608fa1cb9de783272f","fixed":"e71cc4a1e584293deafff1a7dea614b0210d0443","status":"affected"},{"type":"git","introduced":"09308562d4afb1abc66366608fa1cb9de783272f","fixed":"b6eda11c44dc89a681e1c105f0f4660e69b1e183","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.5","status":"unaffected"},{"type":"semver","introduced":"6.6.19","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.7","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.6.19"},{"status":"affected","introduced":"6.7","fixed":"6.7.7"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/83527a13740f57b45f162e3af4c7db4b88521100","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e71cc4a1e584293deafff1a7dea614b0210d0443","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b6eda11c44dc89a681e1c105f0f4660e69b1e183","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:51:24.782Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26770","url":"https://www.cve.org/CVERecord?id=CVE-2024-26770","licence":"CVE Terms of Use","modified":"2026-05-11T20:03:50.242Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26770","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26770","licence":"Public domain","modified":"2026-06-17T07:18:18.067Z"}],"updatedAt":"2026-11-25T22:58:38.695Z","epss":{"score":0.00237,"percentile":0.15818,"date":"2026-12-01T12:00:22.000Z"}}