CVE-2026-98116
Last modified
CVE-2026-98116 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Serialize PCM mmap with buffer reallocation to fix page UAF snd_pcm_hw_params() and snd_pcm_hw_free() guard buffer reallocation with an mmap_count check performed under the PCM stream lock, but the lock is released long before the buffer is actually freed: snd_pcm_sync_stop(), constraint refinement and do_free_pages() all happen in between. snd_pcm_mmap_data(), on the other hand, takes no lock at all: it validates against the old buffer's state and dma_bytes, remaps its pages into the VMA, and only then increments mmap_count. A concurrent mmap() can therefore slip in between the check and the free. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Serialize PCM mmap with buffer reallocation to fix page UAF snd_pcm_hw_params() and snd_pcm_hw_free() guard buffer reallocation with an mmap_count check performed under the PCM stream lock, but the lock is released long before the buffer is actually freed: snd_pcm_sync_stop(), constraint refinement and do_free_pages() all happen in between. snd_pcm_mmap_data(), on the other hand, takes no lock at all: it validates against the old buffer's state and dma_bytes, remaps its pages into the VMA, and only then increments mmap_count. A concurrent mmap() can therefore slip in between the check and the free. remap_pfn_range() installs writable PTEs for the old buffer's pages without taking page references, and the subsequent do_free_pages() returns those pages to the page allocator while the VMA still maps them. This leaves a stale, writable mapping of freed pages: a page-level use-after-free that can be leveraged for local privilege escalation. Make snd_pcm_mmap_data() participate in the buffer-access scheme introduced for hw_params/hw_free: acquire runtime->buffer_accessing before validating and remapping, and release it afterwards. Buffer reallocation already fails with -EBUSY while accessors are active, and the mmap side now fails with -EBUSY while a reallocation is in progress, so the validate/remap sequence and the check/free sequence can no longer interleave. A reproducer that turns this race into a stale writable mapping of the freed DMA buffer pages is available on request.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.14.279, < 4.15 | — |
| Linux | Linux Kernel | >= 4.19.243, < 4.20 | — |
| Linux | Linux Kernel | >= 5.4.193, < 5.5 | — |
| Linux | Linux Kernel | >= 5.10.109, < 5.11 | — |
| Linux | Linux Kernel | >= 5.15.32, < 5.15.222 | — |
| Linux | Linux Kernel | >= 5.16.18, <= 5.17.1 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.111 | — |
| Linux | Linux Kernel | >= 6.13, < 6.18.53 | — |
| Linux | Linux Kernel | >= 6.19, < 7.2.7 | — |
| Linux | Linux Kernel | 7.3 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-98116?
How severe is CVE-2026-98116?
How do I fix CVE-2026-98116?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98110In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-98111In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-98112In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-98113In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-98114In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-98115In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-98117In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-98118In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-98119In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-9812Mattermost versions 11.9.x <= 11.9.0, 11.8.x <= 11.8.4, 11.7…6.5
- CVE-2026-98120In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-98121In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2026-98116?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
