VYPR
Unrated severityNVD Advisory· Published Apr 3, 2024· Updated May 4, 2025

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

CVE-2024-26770

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]

Affected products

2

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.