Read the docs
TI-2026-64513 Aliases CVE-2026-98116GHSA-pwf2-cf6j-p6wx

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

Priority LOW 33CWE-416Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 3 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.00126 2nd percentileScored 2026-11-07
Fix Partial Linux (Linux): 5.15.222, 4.15, 4.20 +10Red Hat: 3 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.15.32 to before 5.15.222; 4.14.279 to before 4.15; 4.19.243 to before 4.20; 5.4.193 to before 5.5; 5.10.109 to before 5.11; 5.16.18 to before 5.17; 5.17.1 to before 5.185.15.222, 4.15, 4.20, 5.5, 5.11, 5.17, 5.18Patch availableCNA
LinuxLinux5.18 and later5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.2.7, 7.3Patch availableCNA
  • Linux VendorLinux Affected 5.15.32 to before 5.15.222; 4.14.279 to before 4.15; 4.19.243 to before 4.20; 5.4.193 to before 5.5; 5.10.109 to before 5.11; 5.16.18 to before 5.17; 5.17.1 to before 5.18 Fixed in 5.15.222, 4.15, 4.20, 5.5, 5.11, 5.17, 5.18 Patch available CNA
  • Linux VendorLinux Affected 5.18 and later Fixed in 5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.2.7, 7.3 Patch available CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*4.14.279 to before 4.15; 4.19.243 to before 4.20; 5.4.193 to before 5.5; 5.10.109 to before 5.11; 5.15.32 to before 5.15.222; 5.16.18 – 5.17.1; 6.7 to before 6.12.111; 6.13 to before 6.18.53; 6.19 to before 7.2.7VulnerableLinux
cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*7.3 rc1VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.14.279 to before 4.15; 4.19.243 to before 4.20; 5.4.193 to before 5.5; 5.10.109 to before 5.11; 5.15.32 to before 5.15.222; 5.16.18 – 5.17.1; 6.7 to before 6.12.111; 6.13 to before 6.18.53; 6.19 to before 7.2.7 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:* Versions 7.3 rc1 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 5.15.222, 4.15, 4.20, 5.5, 5.11, 5.17, 5.18
  • Fix · CNA Linux (Linux) Fixed in 5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.2.7, 7.3

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet
Red Hat Enterprise Linux 8AffectedNo fix yet
Red Hat Enterprise Linux 9AffectedNo fix yet
Not affected: 2 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-98116
  2. 2026-10-03 Alias added: GHSA-pwf2-cf6j-p6wx
  3. 2026-10-03 Fix available: Linux/[email protected], Linux/[email protected], Linux/[email protected] +3 · CNA
  4. 2026-10-03 3 new references · CNA
  5. 2026-10-05 CVSS score changed · Red Hat
  6. 2026-10-19 Fix available: Linux/[email protected] · CNA
  7. 2026-10-28 Weakness changed · NVD

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources