We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-56531

ALSA: caiaq: Use snd_card_free_when_closed() at disconnection



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.

Reserved 2024-12-27 | Published 2024-12-27 | Updated 2024-12-27 | Assigner Linux

Product status

Default status
unaffected

523f1dce37434a9a6623bf46e7893e2b4b10ac3c before 3993edf44d3df7b6e8c753eac6ac8783473fcbab
affected

523f1dce37434a9a6623bf46e7893e2b4b10ac3c before ebad462eec93b0f701dfe4de98990e7355283801
affected

523f1dce37434a9a6623bf46e7893e2b4b10ac3c before 4dd821dcbfcecf7af6a08370b0b217cde2818acf
affected

523f1dce37434a9a6623bf46e7893e2b4b10ac3c before cadf1d8e9ddcd74584ec961aeac14ac549b261d8
affected

523f1dce37434a9a6623bf46e7893e2b4b10ac3c before 237f3faf0177bdde728fa3106d730d806436aa4d
affected

523f1dce37434a9a6623bf46e7893e2b4b10ac3c before 4507a8b9b30344c5ddd8219945f446d47e966a6d
affected

523f1dce37434a9a6623bf46e7893e2b4b10ac3c before dd0de8cb708951cebf727aa045e8242ba651bb52
affected

523f1dce37434a9a6623bf46e7893e2b4b10ac3c before a3f9314752dbb6f6aa1f0f2b4c58243bda800738
affected

523f1dce37434a9a6623bf46e7893e2b4b10ac3c before b04dcbb7f7b1908806b7dc22671cdbe78ff2b82c
affected

Default status
affected

2.6.22
affected

Any version before 2.6.22
unaffected

4.19.325
unaffected

5.4.287
unaffected

5.10.231
unaffected

5.15.174
unaffected

6.1.120
unaffected

6.6.64
unaffected

6.11.11
unaffected

6.12.2
unaffected

6.13-rc1
unaffected

References

git.kernel.org/...c/3993edf44d3df7b6e8c753eac6ac8783473fcbab

git.kernel.org/...c/ebad462eec93b0f701dfe4de98990e7355283801

git.kernel.org/...c/4dd821dcbfcecf7af6a08370b0b217cde2818acf

git.kernel.org/...c/cadf1d8e9ddcd74584ec961aeac14ac549b261d8

git.kernel.org/...c/237f3faf0177bdde728fa3106d730d806436aa4d

git.kernel.org/...c/4507a8b9b30344c5ddd8219945f446d47e966a6d

git.kernel.org/...c/dd0de8cb708951cebf727aa045e8242ba651bb52

git.kernel.org/...c/a3f9314752dbb6f6aa1f0f2b4c58243bda800738

git.kernel.org/...c/b04dcbb7f7b1908806b7dc22671cdbe78ff2b82c

cve.org (CVE-2024-56531)

nvd.nist.gov (CVE-2024-56531)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-56531

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.