{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-56532","id":"CVE-2024-56532","title":"ALSA: us122l: Use snd_card_free_when_closed() at disconnection","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: us122l: Use snd_card_free_when_closed() at disconnection\n\nThe USB disconnect callback is supposed to be short and not too-long\nwaiting.  OTOH, the current code uses snd_card_free() at\ndisconnection, but this waits for the close of all used fds, hence it\ncan take long.  It eventually blocks the upper layer USB ioctls, which\n","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: us122l: Use snd_card_free_when_closed() at disconnection\n\nThe USB disconnect callback is supposed to be short and not too-long\nwaiting.  OTOH, the current code uses snd_card_free() at\ndisconnection, but this waits for the close of all used fds, hence it\ncan take long.  It eventually blocks the upper layer USB ioctls, which\nmay trigger a soft lockup.\n\nAn easy workaround is to replace snd_card_free() with\nsnd_card_free_when_closed().  This variant returns immediately while\nthe release of resources is done asynchronously by the card device\nrelease at the last close.\n\nThe loop of us122l->mmap_count check is dropped as well.  The check is\nuseless for the asynchronous operation with *_when_closed().","published":"2024-12-27T14:11:15.266Z","updated":"2026-10-28T02:30:33.798582722Z","reserved":"2024-12-27T14:03:05.984Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"030a07e441296c372f946cd4065b5d831d8dc40c","lessThan":"020cbc4d7414f0962004213e2b7bc5cc607e9ec7","status":"affected","versionType":"git"},{"version":"030a07e441296c372f946cd4065b5d831d8dc40c","lessThan":"75f418b249d84021865eaa59515d3ed9b75ce4d6","status":"affected","versionType":"git"},{"version":"030a07e441296c372f946cd4065b5d831d8dc40c","lessThan":"bf0aa35a7cb8602cccf2387712114e836f65c154","status":"affected","versionType":"git"},{"version":"030a07e441296c372f946cd4065b5d831d8dc40c","lessThan":"9a48bd2184b142c92a4e17eac074c61fcf975bc9","status":"affected","versionType":"git"},{"version":"030a07e441296c372f946cd4065b5d831d8dc40c","lessThan":"bc778ad3e495333eebda36fe91d5b2c93109cc16","status":"affected","versionType":"git"},{"version":"030a07e441296c372f946cd4065b5d831d8dc40c","lessThan":"2938dd2648522336133c151dd67bb9bf01cbd390","status":"affected","versionType":"git"},{"version":"030a07e441296c372f946cd4065b5d831d8dc40c","lessThan":"9b27924dc8d7f8a8c35e521287d4ccb9a006e597","status":"affected","versionType":"git"},{"version":"030a07e441296c372f946cd4065b5d831d8dc40c","lessThan":"9d5c530e4d70f64b1114f2cc29ac690ba7ac4a38","status":"affected","versionType":"git"},{"version":"030a07e441296c372f946cd4065b5d831d8dc40c","lessThan":"b7df09bb348016943f56b09dcaafe221e3f73947","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.28","status":"affected"},{"version":"0","lessThan":"2.6.28","status":"unaffected","versionType":"semver"},{"version":"4.19.325","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.287","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.231","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.174","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.120","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.64","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.11","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12.2","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-667"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/020cbc4d7414f0962004213e2b7bc5cc607e9ec7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/75f418b249d84021865eaa59515d3ed9b75ce4d6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bf0aa35a7cb8602cccf2387712114e836f65c154","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9a48bd2184b142c92a4e17eac074c61fcf975bc9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bc778ad3e495333eebda36fe91d5b2c93109cc16","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2938dd2648522336133c151dd67bb9bf01cbd390","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9b27924dc8d7f8a8c35e521287d4ccb9a006e597","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9d5c530e4d70f64b1114f2cc29ac690ba7ac4a38","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b7df09bb348016943f56b09dcaafe221e3f73947","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56532.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56532","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00217,"epssPercentile":0.12214,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-56532","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56532","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-56532","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-56532","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}