# CVE-2024-56532: ALSA: us122l: Use snd_card_free_when_closed() at disconnection

- 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.22%, higher than 12% of CVEs (2026-12-02)
- Published: 2024-12-27T14:11:15.266Z
- Modified: 2026-06-17T08:12:19.360Z
- 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: us122l: 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.

The loop of us122l->mmap_count check is dropped as well.  The check is
useless for the asynchronous operation with *_when_closed().

(As written by CVE List.)

## Affected

- Linux Linux: from 030a07e441296c372f946cd4065b5d831d8dc40c before 020cbc4d7414f0962004213e2b7bc5cc607e9ec7; from 030a07e441296c372f946cd4065b5d831d8dc40c before 75f418b249d84021865eaa59515d3ed9b75ce4d6; from 030a07e441296c372f946cd4065b5d831d8dc40c before bf0aa35a7cb8602cccf2387712114e836f65c154; from 030a07e441296c372f946cd4065b5d831d8dc40c before 9a48bd2184b142c92a4e17eac074c61fcf975bc9; from 030a07e441296c372f946cd4065b5d831d8dc40c before bc778ad3e495333eebda36fe91d5b2c93109cc16; from 030a07e441296c372f946cd4065b5d831d8dc40c before 2938dd2648522336133c151dd67bb9bf01cbd390; from 030a07e441296c372f946cd4065b5d831d8dc40c before 9b27924dc8d7f8a8c35e521287d4ccb9a006e597; from 030a07e441296c372f946cd4065b5d831d8dc40c before 9d5c530e4d70f64b1114f2cc29ac690ba7ac4a38; from 030a07e441296c372f946cd4065b5d831d8dc40c before b7df09bb348016943f56b09dcaafe221e3f73947; 2.6.28 (not affected: before 2.6.28; 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.28 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

- 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/020cbc4d7414f0962004213e2b7bc5cc607e9ec7> (patch)
- <https://git.kernel.org/stable/c/75f418b249d84021865eaa59515d3ed9b75ce4d6> (patch)
- <https://git.kernel.org/stable/c/bf0aa35a7cb8602cccf2387712114e836f65c154> (patch)
- <https://git.kernel.org/stable/c/9a48bd2184b142c92a4e17eac074c61fcf975bc9> (patch)
- <https://git.kernel.org/stable/c/bc778ad3e495333eebda36fe91d5b2c93109cc16> (patch)
- <https://git.kernel.org/stable/c/2938dd2648522336133c151dd67bb9bf01cbd390> (patch)
- <https://git.kernel.org/stable/c/9b27924dc8d7f8a8c35e521287d4ccb9a006e597> (patch)
- <https://git.kernel.org/stable/c/9d5c530e4d70f64b1114f2cc29ac690ba7ac4a38> (patch)
- <https://git.kernel.org/stable/c/b7df09bb348016943f56b09dcaafe221e3f73947> (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-56532](https://www.cve.org/CVERecord?id=CVE-2024-56532), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56532](https://nvd.nist.gov/vuln/detail/CVE-2024-56532), Public domain, modified 2026-06-17

---

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