CVE-2024-26770 HID: nvidia-shield: Add missing null pointer checks to LED initialization
A missing null pointer check in the NVIDIA Shield HID driver can cause a kernel crash, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-26770?
CVE-2024-26770 is a medium-severity vulnerability in Linux kernel, published on 3 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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]
Weakness: CWE-476
Which versions are affected by CVE-2024-26770?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-26770?
Apply the vendor's patch.
Is CVE-2024-26770 being exploited?
There is no known exploitation of CVE-2024-26770 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-55977, BELL-CVE-2024-26770, DEBIAN-CVE-2024-26770, GHSA-jp9p-8gwp-x6cf, ROOT-OS-UBUNTU-2204-CVE-2024-26770, UBUNTU-CVE-2024-26770.