CVE-2026-99317
published high CVSS 3.1 · 7.8ALSA: hwdep: Serialize DSP load requests
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 204f368204a1951da349ba68c82f99c464347dd7 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < ef2aebb0543a20d1ee42ac95483eb54fc8457e88 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0e8365c7a4c5202f6b1e802a377d798db2b0e0ab · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8fb646220d48322311e135b2508fb9569fbe1d28 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 200bda52a9fd604e13c57d3a548639c13bdfb19c · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3634a1beb0395f02807d41a2edf4288732d3f90e · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1b94ca29b1edbbdb357c2c8a9163d1d1755e4ad2 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < aee83c204f80d56b4d55f53acdb8594308ddcd4a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: hwdep: Serialize DSP load requests The check of the loaded DSP indices and the call of the driver's dsp_load callback in snd_hwdep_dsp_load() are not serialized. A hwdep file descriptor can be shared among threads, or inherited across fork, so two SNDRV_HWDEP_IOCTL_DSP_LOAD requests for the same index can both observe the index as unloaded and enter the driver's callback concurrently, even though the device itself is opened exclusively. This breaks the assumption behind hw->dsp_loaded that a firmware index is loaded only once. For example, snd-usb-usx2y hits WARN_ON(usx2y->as04.buffer) in usx2y_async_seq04_init() and may allocate the US-428 sequence URBs twice. Serialize the check, the callback invocation and the bookkeeping with a per-hwdep mutex, so that the second request returns -EBUSY.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The patched snd_hwdep_dsp_load is reached from snd_hwdep_ioctl's SNDRV_HWDEP_IOCTL_DSP_LOAD on the local hwdep node (/dev/snd/hwC*D*), via snd_hwdep_dsp_load_user. The only driver callback is snd_usx2y_hwdep_dsp_load; the colliding index and image come from that ioctl, not from a remote protocol message. AC:L - A local holder of one hwdep fd (exclusive=1 still allows threads and fork to share it) issues two DSP_LOAD ioctls for index 1 while hw->dsp_loaded is clear, which the attacker gets by opening the node before usx2yloader or by replugging the US-x2y. Both calls pass the unlocked dsp_loaded test and run snd_usx2y_hwdep_dsp_load together. PR:L - snd_hwdep_open and snd_hwdep_ioctl contain no capable() check. udev grants the active session ACL on SUBSYSTEM=="sound" (uaccess, group audio), so an ordinary logged-in user can open the hwdep node and issue DSP_LOAD. UI:N - The attacker opens the fd and fires both SNDRV_HWDEP_IOCTL_DSP_LOAD calls. Firmware loading and replug, if needed to clear dsp_loaded, are the attacker's own actions. S:U - Impact stays inside the host kernel the caller is already running in: usx2ydev, its URBs, and the snd_card device list. No guest/host or IOMMU boundary is crossed. C:H - Both USB_ID_US224 and USB_ID_US428 loads call usx2y_rate_set, which kfrees the snd_usx2y_urb_seq still linked from usx2y->us04 while i_usx2y_in04_int passes us04->urb[] to usb_submit_urb. After reclaim, that urb pointer is attacker-controlled and usb_submit_urb dereferences it. I:H - i_usx2y_in04_int increments us04->submitted and usb_submit_urb writes urb->status, urb->hcpriv and the endpoint queue through the reclaimed us04->urb pointer. On USB_ID_US428 the second usx2y_audio_stream_new also stores pointers past usx2y->subs[4] into prepare_subs and prepare_wait_queue. A:H - The freed us04 URB is used in interrupt context, snd_device_new list_add races on card->devices from concurrent usx2y_create_alsa_devices, and wait_event runs on the overwritten prepare_wait_queue. Any of those oopses or livelocks the kernel; usx2y_async_seq04_init's WARN_ON(as04.buffer) is the same race when the second call loses.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 204f368204a1951da349ba68c82f99c464347dd7 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < ef2aebb0543a20d1ee42ac95483eb54fc8457e88 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0e8365c7a4c5202f6b1e802a377d798db2b0e0ab (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8fb646220d48322311e135b2508fb9569fbe1d28 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 200bda52a9fd604e13c57d3a548639c13bdfb19c (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3634a1beb0395f02807d41a2edf4288732d3f90e (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1b94ca29b1edbbdb357c2c8a9163d1d1755e4ad2 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < aee83c204f80d56b4d55f53acdb8594308ddcd4a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0e8365c7a4c5202f6b1e802a377d798db2b0e0ab
- https://git.kernel.org/stable/c/1b94ca29b1edbbdb357c2c8a9163d1d1755e4ad2
- https://git.kernel.org/stable/c/200bda52a9fd604e13c57d3a548639c13bdfb19c
- https://git.kernel.org/stable/c/204f368204a1951da349ba68c82f99c464347dd7
- https://git.kernel.org/stable/c/3634a1beb0395f02807d41a2edf4288732d3f90e
- https://git.kernel.org/stable/c/8fb646220d48322311e135b2508fb9569fbe1d28
- https://git.kernel.org/stable/c/aee83c204f80d56b4d55f53acdb8594308ddcd4a
- https://git.kernel.org/stable/c/ef2aebb0543a20d1ee42ac95483eb54fc8457e88
Provider assertions
1Linux · cna
ALSA: hwdep: Serialize DSP load requests
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- efac9d21f5d97c27bda21d11c8745edb80785c9924a797ff03b2dd46eda02f11
- Ingested
- 23 Nov 2026, 14:35:29 UTC
- Source record
- Official CVE record