ALSA: pcm: Prevent O_APPEND open on OSS streams
CVE-2026-139792Published 30 Nov 2026, 13:38 UTC
Real-world risk
1.9/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.0
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 2.6.18 | 7.4-rc2 |
What to do
Update to a fixed version: 7.4-rc2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 16), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.225
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.225 × threat 0.851.912
- Rounded to one decimal between 0.1 and 101.9
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 3 Dec 2026 Risk 1.9 (cvss fallback)
Weakness
No weakness type given.
References
- 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
- CVE-2026-139792 on CVE.org