# CVE-2026-139792: ALSA: pcm: Prevent O\_APPEND open on OSS streams

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **Published:** 2026-11-30T13:38:02.646Z
- **Modified:** 2026-12-01T06:17:49.793Z

## Who should check

- Anyone running Linux \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< 906fbf130ae2706df3e05a1211d6bc11591c44db; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< d53ca35ac1074e3c5b6c72b6dd30363507f5f09c; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< b38ad5599d60172c549c85a91b49e13c588844fe; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< 0322b67d7718964a524ed76efd7b7488545f4650; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< 401f58037219b7c5bfe9829d322ff367e51a64ac; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< e0dbd2608acabeb4a76647423b32f13755875889; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< b15cb2a3c074f6b240fd71d3f27850c4ca9af475; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< 9017bc3d13da0ea4e63be618c87143a7b69185e6
- Anyone running Linux 2.6.18

## Description

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.

## Affected and fixed versions

- Linux: \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< 906fbf130ae2706df3e05a1211d6bc11591c44db; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< d53ca35ac1074e3c5b6c72b6dd30363507f5f09c; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< b38ad5599d60172c549c85a91b49e13c588844fe; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< 0322b67d7718964a524ed76efd7b7488545f4650; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< 401f58037219b7c5bfe9829d322ff367e51a64ac; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< e0dbd2608acabeb4a76647423b32f13755875889; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< b15cb2a3c074f6b240fd71d3f27850c4ca9af475; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< 9017bc3d13da0ea4e63be618c87143a7b69185e6 (cvelist)
- Linux: 2.6.18 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 9017bc3d13da0ea4e63be618c87143a7b69185e6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139792. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139792.md
Affected: Linux >= 0df63e44c3e315ec0fe427ae62558231864108bd, < 906fbf130ae2706df3e05a1211d6bc11591c44db; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < d53ca35ac1074e3c5b6c72b6dd30363507f5f09c; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < b38ad5599d60172c549c85a91b49e13c588844fe; >= 0df63e44c3e315ec0fe427a…
Fixed in: Linux 906fbf130ae2706df3e05a1211d6bc11591c44db, Linux 0322b67d7718964a524ed76efd7b7488545f4650, Linux 401f58037219b7c5bfe9829d322ff367e51a64ac, Linux 9017bc3d13da0ea4e63be618c87143a7b69185e6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139792 being exploited?

There is no confirmed exploitation: CVE-2026-139792 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139792?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-139792?

Linux \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< 906fbf130ae2706df3e05a1211d6bc11591c44db; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< d53ca35ac1074e3c5b6c72b6dd30363507f5f09c; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< b38ad5599d60172c549c85a91b49e13c588844fe; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< 0322b67d7718964a524ed76efd7b7488545f4650; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< 401f58037219b7c5bfe9829d322ff367e51a64ac; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< e0dbd2608acabeb4a76647423b32f13755875889; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< b15cb2a3c074f6b240fd71d3f27850c4ca9af475; \>= 0df63e44c3e315ec0fe427ae62558231864108bd, \< 9017bc3d13da0ea4e63be618c87143a7b69185e6; Linux 2.6.18.

### Is there a fix for CVE-2026-139792?

Yes. Fixed in Linux 906fbf130ae2706df3e05a1211d6bc11591c44db, Linux 0322b67d7718964a524ed76efd7b7488545f4650, Linux 401f58037219b7c5bfe9829d322ff367e51a64ac, Linux 9017bc3d13da0ea4e63be618c87143a7b69185e6. Upgrade Linux to 9017bc3d13da0ea4e63be618c87143a7b69185e6 or later.

### How do I check if I'm affected by CVE-2026-139792?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/906fbf130ae2706df3e05a1211d6bc11591c44db>
- other: <https://git.kernel.org/stable/c/d53ca35ac1074e3c5b6c72b6dd30363507f5f09c>
- other: <https://git.kernel.org/stable/c/b38ad5599d60172c549c85a91b49e13c588844fe>
- other: <https://git.kernel.org/stable/c/0322b67d7718964a524ed76efd7b7488545f4650>
- other: <https://git.kernel.org/stable/c/401f58037219b7c5bfe9829d322ff367e51a64ac>
- other: <https://git.kernel.org/stable/c/e0dbd2608acabeb4a76647423b32f13755875889>
- other: <https://git.kernel.org/stable/c/b15cb2a3c074f6b240fd71d3f27850c4ca9af475>
- other: <https://git.kernel.org/stable/c/9017bc3d13da0ea4e63be618c87143a7b69185e6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139792>

HTML: <https://flawdb.com/CVE-2026-139792> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139792>
