ALSA: hwdep: Serialize DSP load requests (Linux Linux)

CVE-2026-99317
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.19 % · centile 9 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 204f368204a1951da349ba68c82f99c464347dd7
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < ef2aebb0543a20d1ee42ac95483eb54fc8457e88
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 0e8365c7a4c5202f6b1e802a377d798db2b0e0ab
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 8fb646220d48322311e135b2508fb9569fbe1d28
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 200bda52a9fd604e13c57d3a548639c13bdfb19c
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3634a1beb0395f02807d41a2edf4288732d3f90e
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1b94ca29b1edbbdb357c2c8a9163d1d1755e4ad2
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < aee83c204f80d56b4d55f53acdb8594308ddcd4a
Autres versions : non affectée
Linux · Linux
affectée : 2.6.12
non affectée : ≥ 0 < 2.6.12
non affectée : ≥ 5.10.275 ≤ 5.10.*
non affectée : ≥ 5.15.226 ≤ 5.15.*
non affectée : ≥ 6.1.193 ≤ 6.1.*
non affectée : ≥ 6.6.163 ≤ 6.6.*
non affectée : ≥ 6.12.118 ≤ 6.12.*
non affectée : ≥ 6.18.64 ≤ 6.18.*
non affectée : ≥ 7.3.5 ≤ 7.3.*
non affectée : ≥ 7.4-rc2 ≤ *
Autres versions : affectée

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