CVE-2024-26770

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

State
Published
Severity
Not scored
Published
Apr 3, 2024
Updated
May 11, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

Description

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]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 09308562d4afb1abc66366608fa1cb9de783272f to before 83527a13740f57b45f162e3af4c7db4b88521100Affected
  • 09308562d4afb1abc66366608fa1cb9de783272f to before e71cc4a1e584293deafff1a7dea614b0210d0443Affected
  • 09308562d4afb1abc66366608fa1cb9de783272f to before b6eda11c44dc89a681e1c105f0f4660e69b1e183Affected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 6.6.19 through 6.6.*Not affected
  • 6.7.7 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.