Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-56531

HIGH 7.8EPSS 10%

ALSA: caiaq: Use snd_card_free_when_closed() at disconnection

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 3993edf44d3df7b6e8c753eac6ac8783473fcbab; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < ebad462eec93b0f701dfe4de98990e7355283801; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 4dd821dcbfcecf7af6a08370b0b217cde2818acf; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < cadf1d8e9ddcd74584ec961aeac14ac549b261d8; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 237f3faf0177bdde728fa3106d730d806436aa4d; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 4507a8b9b30344c5ddd8219945f446d47e966a6d; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < dd0de8cb708951cebf727aa045e8242ba651bb52; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < a3f9314752dbb6f6aa1f0f2b4c58243bda800738; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < b04dcbb7f7b1908806b7dc22671cdbe78ff2b82c
  • Anyone running Linux 2.6.22

Vulnerability facts

Affected
Linux >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 3993edf44d3df7b6e8c753eac6ac8783473fcbab; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < ebad462eec93b0f701dfe4de98990e7355283801; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 4dd821dcbfcecf7af6a08370b0b217cde2818acf; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < cadf1d8e9ddcd74584ec961aeac14ac549b261d8; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 237f3faf0177bdde728fa3106d730d806436aa4d; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 4507a8b9b30344c5ddd8219945f446d47e966a6d; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < dd0de8cb708951cebf727aa045e8242ba651bb52; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < a3f9314752dbb6f6aa1f0f2b4c58243bda800738; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < b04dcbb7f7b1908806b7dc22671cdbe78ff2b82c; Linux 2.6.22
Fixed in
Linux 3993edf44d3df7b6e8c753eac6ac8783473fcbab, Linux 4dd821dcbfcecf7af6a08370b0b217cde2818acf, Linux 237f3faf0177bdde728fa3106d730d806436aa4d, Linux 4507a8b9b30344c5ddd8219945f446d47e966a6d
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
CWE
CWE-667
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 3993edf44d3df7b6e8c753eac6ac8783473fcbab; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < ebad462eec93b0f701dfe4de98990e7355283801; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 4dd821dcbfcecf7af6a08370b0b217cde2818acf; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < cadf1d8e9ddcd74584ec961aeac14ac549b261d8; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 237f3faf0177bdde728fa3106d730d806436aa4d; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 4507a8b9b30344c5ddd8219945f446d47e966a6d; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < dd0de8cb708951cebf727aa045e8242ba651bb52; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < a3f9314752dbb6f6aa1f0f2b4c58243bda800738; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < b04dcbb7f7b1908806b7dc22671cdbe78ff2b82c—cvelist
Linux2.6.22—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-56531. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56531.md
Affected: Linux >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 3993edf44d3df7b6e8c753eac6ac8783473fcbab; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < ebad462eec93b0f701dfe4de98990e7355283801; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 4dd821dcbfcecf7af6a08370b0b217cde2818acf; >= 523f1dce37434a9a6623bf4…
Fixed in: Linux 3993edf44d3df7b6e8c753eac6ac8783473fcbab, Linux 4dd821dcbfcecf7af6a08370b0b217cde2818acf, Linux 237f3faf0177bdde728fa3106d730d806436aa4d, Linux 4507a8b9b30344c5ddd8219945f446d47e966a6d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-56531 being exploited?

There is no confirmed exploitation: CVE-2024-56531 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-56531?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-56531?

Linux >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 3993edf44d3df7b6e8c753eac6ac8783473fcbab; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < ebad462eec93b0f701dfe4de98990e7355283801; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 4dd821dcbfcecf7af6a08370b0b217cde2818acf; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < cadf1d8e9ddcd74584ec961aeac14ac549b261d8; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 237f3faf0177bdde728fa3106d730d806436aa4d; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < 4507a8b9b30344c5ddd8219945f446d47e966a6d; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < dd0de8cb708951cebf727aa045e8242ba651bb52; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < a3f9314752dbb6f6aa1f0f2b4c58243bda800738; >= 523f1dce37434a9a6623bf46e7893e2b4b10ac3c, < b04dcbb7f7b1908806b7dc22671cdbe78ff2b82c; Linux 2.6.22.

Is there a fix for CVE-2024-56531?

Yes. Fixed in Linux 3993edf44d3df7b6e8c753eac6ac8783473fcbab, Linux 4dd821dcbfcecf7af6a08370b0b217cde2818acf, Linux 237f3faf0177bdde728fa3106d730d806436aa4d, Linux 4507a8b9b30344c5ddd8219945f446d47e966a6d. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-56531?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors