VDB

CVE-2026-98116

CVE-2026-98116 PUBLISHED CVSS 7.8 HIGH

ALSA: pcm: Serialize PCM mmap with buffer reallocation to fix page UAF

Reported by linux · Published September 25, 2026

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.

EPSS 0.13% · 2.3th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-64k-debugerrata.rockylinux.org0:6.12.0-264.17.1.el10_3.aarch64
kernel-modules-extraerrata.rockylinux.org0:6.12.0-264.17.1.el10_3.x86_64, 0:6.12.0-264.17.1.el10_3.ppc64le, 0:6.12.0-264.17.1.el10_3.aarch64
kernel-abi-stablelistserrata.rockylinux.org0:6.12.0-264.17.1.el10_3.noarch
rtlaerrata.rockylinux.org0:6.12.0-264.17.1.el10_3.x86_64
kernel-debug-develerrata.rockylinux.org0:4.18.0-553.185.1.el8_10.x86_64, 0:4.18.0-553.185.1.el8_10.aarch64
rverrata.rockylinux.org0:6.12.0-264.17.1.el10_3.s390x, 0:6.12.0-264.17.1.el10_3.aarch64
kernel-debug-coreerrata.rockylinux.org0:6.12.0-264.17.1.el10_3.s390x, 0:4.18.0-553.185.1.el8_10.aarch64
rtla-debuginfoerrata.rockylinux.org0:6.12.0-264.17.1.el10_3.x86_64
libperferrata.rockylinux.org0:6.12.0-264.17.1.el10_3.x86_64, 0:6.12.0-264.17.1.el10_3.s390x, 0:6.12.0-264.17.1.el10_3.ppc64le, 0:6.12.0-264.17.1.el10_3.aarch64
kernel-zfcpdump-modules-coreerrata.rockylinux.org0:6.12.0-264.17.1.el10_3.s390x
kernelerrata.rockylinux.org0:6.12.0-264.17.1.el10_3.x86_64, 0:6.12.0-264.17.1.el10_3.src, 0:6.12.0-264.17.1.el10_3.s390x, 0:4.18.0-553.185.1.el8_10.x86_64, 0:4.18.0-553.185.1.el8_10.src
kernel-debug-debuginfoerrata.rockylinux.org0:4.18.0-553.185.1.el8_10.x86_64

47 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.13%
2.3th percentile

Affected products

VendorProductVersions
LinuxLinux33061d0fba51d2bf70a2ef9645f703c33fe8e438, 92ee3c60ec9fe64404dc035e7c41277d74aa26cb, 92ee3c60ec9fe64404dc035e7c41277d74aa26cb
LinuxLinux5.18, 0, 5.15.222
linuxlinux_kernel5.18, 5.18, 5.18
LinuxLinux*, 92ee3c60ec9fe64404dc035e7c41277d74aa26cb, 92ee3c60ec9fe64404dc035e7c41277d74aa26cb

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (3 in total, the first dated here)
  • Oct 19, 2026 CVE Updated
  • Nov 12, 2026 Distribution Patch (8 in total, the first dated here)
  • Nov 12, 2026 Security Advisory (6 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98116
vulnetix vdb fixes CVE-2026-98116

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98116/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›