CVE-2026-98116·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.2.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98116 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.13%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.2.7
Fixed in: 7.2.7
How to fix this CVE
Update the Linux kernel to version 7.2.7 or later to patch a critical race condition in PCM audio buffer memory management. This vulnerability allows local attackers to create a use-after-free condition on freed DMA buffer pages. Kernel upgrades should be applied during a maintenance window and followed by a system reboot to activate the patched kernel.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with: uname -r | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'
- Step 2: Verify if ALSA PCM audio subsystem is in use by checking: lsmod | grep snd_pcm
- Step 3: Search kernel logs for PCM-related errors or page faults: sudo dmesg | grep -i 'pcm\|mmap\|uaf'
- Step 4: After applying updates and rebooting, confirm the new kernel version: uname -r
FAQ
What is CVE-2026-98116?
This is a use-after-free vulnerability in the Linux kernel's ALSA PCM (audio) subsystem where a race condition between buffer reallocation and memory mapping allows local attackers to maintain writable access to freed DMA pages, enabling privilege escalation.
Is CVE-2026-98116 being actively exploited?
No — this vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available, though a proof-of-concept reproducer exists.
What versions of Kernel are affected by CVE-2026-98116?
Kernel versions 6.19 through 7.2.6 are vulnerable; update to 7.2.7 or later to remediate.
How do I check if my server is vulnerable to CVE-2026-98116?
Run 'uname -r' and compare the output against 7.2.7 — if your version is between 6.19 and 7.2.6, your system is vulnerable.
Does Defensia detect CVE-2026-98116?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-98116 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/8c1882dfee8f404d118020664b73eb4592172226
- https://git.kernel.org/stable/c/9857a75714bb5df4781e4d8b1a1753b1e17bf07a
- https://git.kernel.org/stable/c/9b110a9dcecc59516c77cb3c0caf1f492f75df2d
- https://git.kernel.org/stable/c/cbadf2575d25e7dcc0d4da2717817ae569fbc99b
- https://git.kernel.org/stable/c/cbc7ec97601d09b74e05e44470fa6b0bcdabf3f5
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98116. Free for 1 server.
Get started free