What’s Vulnerable › Vulnerabilities
CVE-2024-56696: ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-12-28 · updated 2026-06-17
- Weakness: CWE-476
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
Affected products
- Linux kernel: from 6.9 before 6.11.11; from 6.12 before 6.12.2 — fixed in 6.11.11, 6.12.2
How to fix
Upgrade to a fixed version: Linux kernel 6.11.11, 6.12.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/8bfff486ecc79a72e9380e2d5e0ff234d5542d2f
- https://git.kernel.org/stable/c/9ad467a2b2716d4ed12f003b041aa6c776a13ff5
- https://git.kernel.org/stable/c/f5486bf8abfe778b368d8fd1aa655dc01d0013ca
Get alerted when CVE-2024-56696 or the next vulnerability affects your stack