Use-after-free in Linux kernel ALSA OSS streams opened with O_APPEND
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 6 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
The Linux kernel from 2.6.18 is affected. The ALSA PCM core lets an existing stream be reused when a file is opened with O_APPEND, but OSS streams skip the sanity check for this, so opening an OSS stream with O_APPEND can attach to a stream whose mapped pages are then freed while still in use. A local user with low privileges can trigger this use-after-free, which could be used for privilege escalation.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Prevent O_APPEND open on OSS streams ALSA PCM core accepts to re-use the existing stream when O_APPEND is passed, and it's been used for dmix, etc. However, this mode isn't supposed to be used for OSS: the OSS stream allows re-configuration via its hw_params/hw_refine procedure even while it's being mmapped, so it implies the usage of only a single stream. Because of this assumption, the sanity check is skipped for OSS streams, and if user may attach to an existing OSS stream with O_APPEND, it may result in a UAF of the mapped pages which could be used as a privilege escalation exploit. For addressing it, this patch simply prohibits the O_APPEND behavior on the OSS stream. O_APPEND is never used for OSS layer itself, so this can't break for the right applications.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 2.6.18 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc2 | Patch available | CNA |
- Linux VendorLinux Affected 2.6.18 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc2 Patch available CNA
Remediation
Fixed Linux kernel versions are 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 and 7.4-rc2. Red Hat lists no fix plan for Red Hat Enterprise Linux 7, 8, 9 and 10 and for Red Hat OpenShift Container Platform 4 and 5.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc2
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139792
- 2026-11-30 Alias added: GHSA-9gmw-q94q-f985
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
- 2026-12-01 CVSS score added · CNA
References
Other 8
- https://git.kernel.org/stable/c/906fbf130ae2706df3e05a1211d6bc11591c44db
- https://git.kernel.org/stable/c/d53ca35ac1074e3c5b6c72b6dd30363507f5f09c
- https://git.kernel.org/stable/c/b38ad5599d60172c549c85a91b49e13c588844fe
- https://git.kernel.org/stable/c/0322b67d7718964a524ed76efd7b7488545f4650
- https://git.kernel.org/stable/c/401f58037219b7c5bfe9829d322ff367e51a64ac
- https://git.kernel.org/stable/c/e0dbd2608acabeb4a76647423b32f13755875889
- https://git.kernel.org/stable/c/b15cb2a3c074f6b240fd71d3f27850c4ca9af475
- https://git.kernel.org/stable/c/9017bc3d13da0ea4e63be618c87143a7b69185e6
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139792 · CVE Program
- CVE-2026-139792 · NVD
- GHSA-9gmw-q94q-f985 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-139792 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences