CVE-2024-56634 gpio: grgpio: Add NULL check in grgpio_probe
A missing NULL check in the grgpio 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-56634?
CVE-2024-56634 is a medium-severity vulnerability in Linux kernel, published on 27 Dec 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:
gpio: grgpio: Add NULL check in grgpio_probe
devm_kasprintf() can return a NULL pointer on failure,but this returned value in grgpio_probe is not checked. Add NULL check in grgpio_probe, to handle kernel NULL pointer dereference error.
Weakness: CWE-476
Which versions are affected by CVE-2024-56634?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-56634?
Apply the vendor's patch.
Is CVE-2024-56634 being exploited?
There is no known exploitation of CVE-2024-56634 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-55123, AZL-55234, BELL-CVE-2024-56634, DEBIAN-CVE-2024-56634, GHSA-gh74-96w4-8m3h, UBUNTU-CVE-2024-56634.