CVE-2024-56696Published Dec 28, 2024 · Dec 28Updated Oct 28
ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.11.116.12.26.13In 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
From the CVE record · Linux
In the Linux kernel's ALSA core test code, kunit_kzalloc() can return NULL and be dereferenced without a check. This can cause a NULL pointer dereference when allocation fails; the input does not specify an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with the affected ALSA core test code should check their kernel version; affected versions were not provided.