CVE-2024-56533

In the Linux kernel, the following vulnerability has been resolved: ALSA: usx2y: 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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

19 Sep 2025, 16:18

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
References () https://git.kernel.org/stable/c/24fe9f7ca83ec9acf765339054951f5cd9ae5c5d - () https://git.kernel.org/stable/c/24fe9f7ca83ec9acf765339054951f5cd9ae5c5d - Patch
References () https://git.kernel.org/stable/c/7bd8838c0ea886679a32834fdcacab296d072fbe - () https://git.kernel.org/stable/c/7bd8838c0ea886679a32834fdcacab296d072fbe - Patch
References () https://git.kernel.org/stable/c/befcca1777525e37c659b4129d8ac7463b07ef67 - () https://git.kernel.org/stable/c/befcca1777525e37c659b4129d8ac7463b07ef67 - Patch
References () https://git.kernel.org/stable/c/dafb28f02be407e07a6f679e922a626592b481b0 - () https://git.kernel.org/stable/c/dafb28f02be407e07a6f679e922a626592b481b0 - Patch
References () https://git.kernel.org/stable/c/e07605d855c4104d981653146a330ea48f6266ed - () https://git.kernel.org/stable/c/e07605d855c4104d981653146a330ea48f6266ed - Patch
References () https://git.kernel.org/stable/c/e869642a77a9b3b98b0ab2c8fec7af4385140909 - () https://git.kernel.org/stable/c/e869642a77a9b3b98b0ab2c8fec7af4385140909 - Patch
References () https://git.kernel.org/stable/c/ffbfc6c4330fc233698529656798bee44fea96f5 - () https://git.kernel.org/stable/c/ffbfc6c4330fc233698529656798bee44fea96f5 - Patch
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ALSA: usx2y: Usar snd_card_free_when_closed() en la desconexión Se supone que la devolución de llamada de desconexión USB es corta y no requiere una espera demasiado larga. Por otro lado, el código actual usa snd_card_free() en la desconexión, pero esto espera el cierre de todos los fds usados, por lo tanto, puede tomar mucho tiempo. Eventualmente bloquea los ioctl USB de la capa superior, lo que puede desencadenar un bloqueo suave. Una solución fácil es reemplazar snd_card_free() con snd_card_free_when_closed(). Esta variante regresa inmediatamente mientras que la liberación de recursos se realiza de forma asincrónica por la liberación del dispositivo de la tarjeta en el último cierre.
CWE CWE-667

27 Dec 2024, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-12-27 14:15

Updated : 2025-10-01 20:17


NVD link : CVE-2024-56533

Mitre link : CVE-2024-56533

CVE.ORG link : CVE-2024-56533


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-667

Improper Locking