{"id":"CVE-2026-99317","aliases":["CVE-2026-99317"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: hwdep: Serialize DSP load requests","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hwdep: Serialize DSP load requests\n\nThe check of the loaded DSP indices and the call of the driver's\ndsp_load callback in snd_hwdep_dsp_load() are not serialized.  A hwdep\nfile descriptor can be shared among threads, or inherited across fork,\nso two SNDRV_HWDEP_IOCTL_DSP_LOAD requests for the same index can both\nobserve the index as unloaded and enter the driver's callback\nconcurrently, even though the device itself is opened exclusively.\n\nThis breaks the assumption behind hw->dsp_loaded that a firmware index\nis loaded only once.  For example, snd-usb-usx2y hits\nWARN_ON(usx2y->as04.buffer) in usx2y_async_seq04_init() and may\nallocate the US-428 sequence URBs twice.\n\nSerialize the check, the callback invocation and the bookkeeping with a\nper-hwdep mutex, so that the second request returns -EBUSY.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hwdep: Serialize DSP load requests\n\nThe check of the loaded DSP indices and the call of the driver's\ndsp_load callback in snd_hwdep_dsp_load() are not serialized.  A hwdep\nfile descriptor can be shared among threads, or inherited across fork,\nso two SNDRV_HWDEP_IOCTL_DSP_LOAD requests for the same index can both\nobserve the index as unloaded and enter the driver's callback\nconcurrently, even though the device itself is opened exclusively.\n\nThis breaks the assumption behind hw->dsp_loaded that a firmware index\nis loaded only once.  For example, snd-usb-usx2y hits\nWARN_ON(usx2y->as04.buffer) in usx2y_async_seq04_init() and may\nallocate the US-428 sequence URBs twice.\n\nSerialize the check, the callback invocation and the bookkeeping with a\nper-hwdep mutex, so that the second request returns -EBUSY.","source":"cvelist"}],"published":"2026-11-18T08:42:09.208Z","modified":"2026-11-23T08:17:36.960Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"204f368204a1951da349ba68c82f99c464347dd7","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"ef2aebb0543a20d1ee42ac95483eb54fc8457e88","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"0e8365c7a4c5202f6b1e802a377d798db2b0e0ab","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"8fb646220d48322311e135b2508fb9569fbe1d28","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"200bda52a9fd604e13c57d3a548639c13bdfb19c","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"3634a1beb0395f02807d41a2edf4288732d3f90e","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"1b94ca29b1edbbdb357c2c8a9163d1d1755e4ad2","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"aee83c204f80d56b4d55f53acdb8594308ddcd4a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/204f368204a1951da349ba68c82f99c464347dd7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef2aebb0543a20d1ee42ac95483eb54fc8457e88","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e8365c7a4c5202f6b1e802a377d798db2b0e0ab","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8fb646220d48322311e135b2508fb9569fbe1d28","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/200bda52a9fd604e13c57d3a548639c13bdfb19c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3634a1beb0395f02807d41a2edf4288732d3f90e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b94ca29b1edbbdb357c2c8a9163d1d1755e4ad2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aee83c204f80d56b4d55f53acdb8594308ddcd4a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99317","url":"https://www.cve.org/CVERecord?id=CVE-2026-99317","licence":"CVE Terms of Use","modified":"2026-11-23T08:01:21.855Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99317","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99317","licence":"Public domain","modified":"2026-11-23T08:17:36.960Z"}],"updatedAt":"2026-11-25T22:59:51.772Z","epss":{"score":0.0019,"percentile":0.0909,"date":"2026-12-01T12:00:22.000Z"}}