Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2024-56533

ALSA: usx2y: Use snd_card_free_when_closed() at disconnection

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 230cd5e24853ed4dd960461989b8ed0986d37a99 to < 24fe9f7ca83ec9acf765339054951f5cd9ae5c5daffected
  • 230cd5e24853ed4dd960461989b8ed0986d37a99 to < befcca1777525e37c659b4129d8ac7463b07ef67affected
  • 230cd5e24853ed4dd960461989b8ed0986d37a99 to < 7bd8838c0ea886679a32834fdcacab296d072fbeaffected
  • 230cd5e24853ed4dd960461989b8ed0986d37a99 to < e07605d855c4104d981653146a330ea48f6266edaffected
  • 230cd5e24853ed4dd960461989b8ed0986d37a99 to < ffbfc6c4330fc233698529656798bee44fea96f5affected
  • 230cd5e24853ed4dd960461989b8ed0986d37a99 to < e869642a77a9b3b98b0ab2c8fec7af4385140909affected
  • 230cd5e24853ed4dd960461989b8ed0986d37a99 to < dafb28f02be407e07a6f679e922a626592b481b0affected

Linux Linux

Default version status: affected

  • 2.6.13affected
  • 0 to < 2.6.13unaffected
  • 5.10.231 to ≤ 5.10.*unaffected
  • 5.15.174 to ≤ 5.15.*unaffected
  • 6.1.120 to ≤ 6.1.*unaffected
  • 6.6.64 to ≤ 6.6.*unaffected
  • 6.11.11 to ≤ 6.11.*unaffected
  • 6.12.2 to ≤ 6.12.*unaffected
  • 6.13 to ≤ *unaffected

References