ALSA: usx2y: Use snd_card_free_when_closed() at disconnection (Linux Linux)

CVE-2024-56533
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 230cd5e24853ed4dd960461989b8ed0986d37a99 < 24fe9f7ca83ec9acf765339054951f5cd9ae5c5d ; affected 230cd5e24853ed4dd960461989b8ed0986d37a99 < befcca1777525e37c659b4129d8ac7463b07ef67 ; affected 230cd5e24853ed4dd960461989b8ed0986d37a99 < 7bd8838c0ea886679a32834fdcacab296d072fbe ; affected 230cd5e24853ed4dd960461989b8ed0986d37a99 < e07605d855c4104d981653146a330ea48f6266ed ; affected 230cd5e24853ed4dd960461989b8ed0986d37a99 < ffbfc6c4330fc233698529656798bee44fea96f5 ; affected 230cd5e24853ed4dd960461989b8ed0986d37a99 < e869642a77a9b3b98b0ab2c8fec7af4385140909
Linux · Linuxaffected 2.6.13 ; unaffected 0 < 2.6.13 ; unaffected 5.10.231 ≤ 5.10.* ; unaffected 5.15.174 ≤ 5.15.* ; unaffected 6.1.120 ≤ 6.1.* ; unaffected 6.6.64 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD