ALSA: emux: Fix UAF of soundfont zones at note-on (Linux Linux)

CVE-2026-99484
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 6 ()
É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: emux: Fix UAF of soundfont zones at note-on snd_emux_note_on() looks up the matching zones via snd_soundfont_search_zone(), which takes sflist->lock only during the lookup and returns the raw zone pointers after releasing it. The caller then stores them in vp->zone without any protection. Meanwhile, a concurrent SNDRV_EMUX_IOCTL_REMOVE_LAST_SAMPLES ioctl may unlink and free those zones in snd_soundfont_remove_unlocked(); this leads to a use-after-free in snd_emux_note_on(), and later at accessing the cached vp->zone, e.g. in snd_emux_send_effect(). Fix it by holding sflist->lock in snd_emux_note_on() over the whole zone lookup and voice setup, and let snd_soundfont_search_zone() require the caller to hold the lock, instead. snd_soundfont_lock_preset() takes sflist->lock for setting presets_locked, so the removal path now syncs with the note-on finish.

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 < 18eb027b711e8fb7b5771e78cecfb0d6b6eb023c
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 153547a5018726fa94e2fbe964fbf060006bac92
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < df85c9211220c7139ef6772686b0b7654b8c6cc2
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1f9da9df213fa13be38ad33b1a314767e43eed42
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 102b2474f4b6809be934bbf2428b4ae4f3883e32
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < af2b590be8feb62b5a0779dadd08e2ece5f370f2
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < fb5ae914176d7252c9bd6aee7ab94a64a41ebf3b
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 34e3e04b8a1731a773797542f0781e99ce7cd755
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.61 ≤ 6.18.*
non affectée : ≥ 7.3.2 ≤ 7.3.*
non affectée : ≥ 7.4-rc1 ≤ *
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