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

CVE-2026-99484
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
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.

References

Scores

VersionScoreVectorScored by
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)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 18eb027b711e8fb7b5771e78cecfb0d6b6eb023c
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 153547a5018726fa94e2fbe964fbf060006bac92
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < df85c9211220c7139ef6772686b0b7654b8c6cc2
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1f9da9df213fa13be38ad33b1a314767e43eed42
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 102b2474f4b6809be934bbf2428b4ae4f3883e32
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < af2b590be8feb62b5a0779dadd08e2ece5f370f2
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < fb5ae914176d7252c9bd6aee7ab94a64a41ebf3b
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 34e3e04b8a1731a773797542f0781e99ce7cd755
Other versions : unaffected
Linux · Linux
affected : 2.6.12
unaffected : ≥ 0 < 2.6.12
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.61 ≤ 6.18.*
unaffected : ≥ 7.3.2 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

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