← VULNERABILITIES

CVE-2026-99484

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

High · 7.8Fix available
CVSS
7.8
EPSS
0.17% (p6)
Published
2026-11-19
Age
15d old
Modified
2026-11-23
Product
Linux Linux

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Fixed in

102b2474f4b6809be934bbf2428b4ae4f3883e32 · 153547a5018726fa94e2fbe964fbf060006bac92 · 18eb027b711e8fb7b5771e78cecfb0d6b6eb023c · 1f9da9df213fa13be38ad33b1a314767e43eed42 · 34e3e04b8a1731a773797542f0781e99ce7cd755 · 6.12.118 · 6.18.61 · 7.3.2 · af2b590be8feb62b5a0779dadd08e2ece5f370f2 · df85c9211220c7139ef6772686b0b7654b8c6cc2 · fb5ae914176d7252c9bd6aee7ab94a64a41ebf3b

Affected packages

EcosystemPackageRangeFixed
LinuxKernel>=2.6.12, <6.12.1186.12.118
LinuxKernel>=6.13.0, <6.18.616.18.61
LinuxKernel>=6.19.0, <7.3.27.3.2
vendorLinux>=0, <6.12.1186.12.118
vendorLinux>=0, <6.18.616.18.61
vendorLinux>=0, <7.3.27.3.2
vendorLinux>=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <102b2474f4b6809be934bbf2428b4ae4f3883e32102b2474f4b6809be934bbf2428b4ae4f3883e32
vendorLinux>=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <153547a5018726fa94e2fbe964fbf060006bac92153547a5018726fa94e2fbe964fbf060006bac92
vendorLinux>=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <18eb027b711e8fb7b5771e78cecfb0d6b6eb023c18eb027b711e8fb7b5771e78cecfb0d6b6eb023c
vendorLinux>=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <1f9da9df213fa13be38ad33b1a314767e43eed421f9da9df213fa13be38ad33b1a314767e43eed42
vendorLinux>=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <34e3e04b8a1731a773797542f0781e99ce7cd75534e3e04b8a1731a773797542f0781e99ce7cd755
vendorLinux>=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <af2b590be8feb62b5a0779dadd08e2ece5f370f2af2b590be8feb62b5a0779dadd08e2ece5f370f2
vendorLinux>=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <df85c9211220c7139ef6772686b0b7654b8c6cc2df85c9211220c7139ef6772686b0b7654b8c6cc2
vendorLinux>=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <fb5ae914176d7252c9bd6aee7ab94a64a41ebf3bfb5ae914176d7252c9bd6aee7ab94a64a41ebf3b

Sources

  • NVD · first seen 15d ago · NVD terms of use
  • OSV · first seen 14d ago · CC-BY 4.0
  • CVE List · first seen 15d ago · CVE Terms of Use

References

JSON