# CVE-2024-56696: ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-12-28T09:46:20.094Z
- Modified: 2026-06-17T08:12:46.070Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from 3e39acf56ededdebd1033349a16b704839b94b28 before f5486bf8abfe778b368d8fd1aa655dc01d0013ca; from 3e39acf56ededdebd1033349a16b704839b94b28 before 8bfff486ecc79a72e9380e2d5e0ff234d5542d2f; from 3e39acf56ededdebd1033349a16b704839b94b28 before 9ad467a2b2716d4ed12f003b041aa6c776a13ff5; 6.9 (not affected: before 6.9; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.9 before 6.11.11; from 6.12 before 6.12.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/f5486bf8abfe778b368d8fd1aa655dc01d0013ca> (patch)
- <https://git.kernel.org/stable/c/8bfff486ecc79a72e9380e2d5e0ff234d5542d2f> (patch)
- <https://git.kernel.org/stable/c/9ad467a2b2716d4ed12f003b041aa6c776a13ff5> (patch)

## Sources

- CVE List: [CVE-2024-56696](https://www.cve.org/CVERecord?id=CVE-2024-56696), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56696](https://nvd.nist.gov/vuln/detail/CVE-2024-56696), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56696 · Whole record: https://cve.day/CVE-2024-56696.json · Rebuilt by cve.day 2026-11-25T22:58:50.537Z
