CVE-2024-56696 ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc()
A missing NULL check in the Linux kernel ALSA core allows a local attacker to cause a system crash via a NULL pointer dereference.
- 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-56696?
CVE-2024-56696 is a medium-severity vulnerability in Linux kernel, published on 28 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:
ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc()
kunit_kzalloc() may return a NULL pointer, dereferencing it without NULL check may lead to NULL dereference. Add NULL checks for all the kunit_kzalloc() in sound_kunit.c
Weakness: CWE-476
Which versions are affected by CVE-2024-56696?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-56696?
Apply the vendor's patch.
Is CVE-2024-56696 being exploited?
There is no known exploitation of CVE-2024-56696 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-56696, DEBIAN-CVE-2024-56696, GHSA-gw7x-jcrq-44c3, UBUNTU-CVE-2024-56696.