# CVE-2024-56531: ALSA: caiaq: Use snd_card_free_when_closed() at disconnection

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-12-27T14:11:14.161Z
- Modified: 2026-08-05T11:44:54.186Z
- Weaknesses: CWE-667
- 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: caiaq: Use snd_card_free_when_closed() at disconnection

The USB disconnect callback is supposed to be short and not too-long
waiting.  OTOH, the current code uses snd_card_free() at
disconnection, but this waits for the close of all used fds, hence it
can take long.  It eventually blocks the upper layer USB ioctls, which
may trigger a soft lockup.

An easy workaround is to replace snd_card_free() with
snd_card_free_when_closed().  This variant returns immediately while
the release of resources is done asynchronously by the card device
release at the last close.

This patch also splits the code to the disconnect and the free phases;
the former is called immediately at the USB disconnect callback while
the latter is called from the card destructor.

(As written by CVE List.)

## Affected

- Linux Linux: from 523f1dce37434a9a6623bf46e7893e2b4b10ac3c before 3993edf44d3df7b6e8c753eac6ac8783473fcbab; from 523f1dce37434a9a6623bf46e7893e2b4b10ac3c before ebad462eec93b0f701dfe4de98990e7355283801; from 523f1dce37434a9a6623bf46e7893e2b4b10ac3c before 4dd821dcbfcecf7af6a08370b0b217cde2818acf; from 523f1dce37434a9a6623bf46e7893e2b4b10ac3c before cadf1d8e9ddcd74584ec961aeac14ac549b261d8; from 523f1dce37434a9a6623bf46e7893e2b4b10ac3c before 237f3faf0177bdde728fa3106d730d806436aa4d; from 523f1dce37434a9a6623bf46e7893e2b4b10ac3c before 4507a8b9b30344c5ddd8219945f446d47e966a6d; from 523f1dce37434a9a6623bf46e7893e2b4b10ac3c before dd0de8cb708951cebf727aa045e8242ba651bb52; from 523f1dce37434a9a6623bf46e7893e2b4b10ac3c before a3f9314752dbb6f6aa1f0f2b4c58243bda800738; from 523f1dce37434a9a6623bf46e7893e2b4b10ac3c before b04dcbb7f7b1908806b7dc22671cdbe78ff2b82c; 2.6.22 (not affected: before 2.6.22; from 4.19.325 up to 4.19.*; from 5.4.287 up to 5.4.*; from 5.10.231 up to 5.10.*; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; 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 2.6.22 before 4.19.325; from 4.20 before 5.4.287; from 5.5 before 5.10.231; from 5.11 before 5.15.174; from 5.16 before 6.1.120; from 6.2 before 6.6.64; from 6.7 before 6.11.11; from 6.12 before 6.12.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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/3993edf44d3df7b6e8c753eac6ac8783473fcbab> (patch)
- <https://git.kernel.org/stable/c/ebad462eec93b0f701dfe4de98990e7355283801> (patch)
- <https://git.kernel.org/stable/c/4dd821dcbfcecf7af6a08370b0b217cde2818acf> (patch)
- <https://git.kernel.org/stable/c/cadf1d8e9ddcd74584ec961aeac14ac549b261d8> (patch)
- <https://git.kernel.org/stable/c/237f3faf0177bdde728fa3106d730d806436aa4d> (patch)
- <https://git.kernel.org/stable/c/4507a8b9b30344c5ddd8219945f446d47e966a6d> (patch)
- <https://git.kernel.org/stable/c/dd0de8cb708951cebf727aa045e8242ba651bb52> (patch)
- <https://git.kernel.org/stable/c/a3f9314752dbb6f6aa1f0f2b4c58243bda800738> (patch)
- <https://git.kernel.org/stable/c/b04dcbb7f7b1908806b7dc22671cdbe78ff2b82c> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

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

---

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