CVE-2024-26770

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

MEDIUM
5.5
CVSS Score
Published: April 3, 2024 at 05:00 PM UTC
Updated: June 17, 2026 at 07:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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. [[email protected]: tweak changelog a bit]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.6.196.5 ≤ v < 6.6.196.5 ≤ v < 6.7.76.5 ≤ v < 6.86.7 ≤ v < 6.7.76.8 rc16.8 rc29308562d4afb1abc66366608fa1cb9de783272f
Vendor states this is fixed in 83527a13740f57b45f162e3af4c7db4b88521100 (fixed)
Vendor states this is fixed in b6eda11c44dc89a681e1c105f0f4660e69b1e183 (fixed)
Vendor states this is fixed in e71cc4a1e584293deafff1a7dea614b0210d0443 (fixed)
Vendor states this is fixed in 6.5 (unaffected)
Vendor states this is fixed in 6.6.19 (unaffected)
Vendor states this is fixed in 6.7.7 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/83527a13740f57b45f162e3af4c7db4b88521100
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b6eda11c44dc89a681e1c105f0f4660e69b1e183
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e71cc4a1e584293deafff1a7dea614b0210d0443

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card