CVE-2026-139792
ALSA: pcm: Prevent O_APPEND open on OSS streams
Mitigation
- Upgrade Linux to 9017bc3d13da0ea4e63be618c87143a7b69185e6 or later.
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
Vulnerability facts
- Affected
- Linux >= 0df63e44c3e315ec0fe427ae62558231864108bd, < 906fbf130ae2706df3e05a1211d6bc11591c44db; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < d53ca35ac1074e3c5b6c72b6dd30363507f5f09c; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < b38ad5599d60172c549c85a91b49e13c588844fe; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < 0322b67d7718964a524ed76efd7b7488545f4650; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < 401f58037219b7c5bfe9829d322ff367e51a64ac; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < e0dbd2608acabeb4a76647423b32f13755875889; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < b15cb2a3c074f6b240fd71d3f27850c4ca9af475; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < 9017bc3d13da0ea4e63be618c87143a7b69185e6; Linux 2.6.18
- Fixed in
- Linux 906fbf130ae2706df3e05a1211d6bc11591c44db, Linux 0322b67d7718964a524ed76efd7b7488545f4650, Linux 401f58037219b7c5bfe9829d322ff367e51a64ac, Linux 9017bc3d13da0ea4e63be618c87143a7b69185e6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 0df63e44c3e315ec0fe427ae62558231864108bd, < 906fbf130ae2706df3e05a1211d6bc11591c44db; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < d53ca35ac1074e3c5b6c72b6dd30363507f5f09c; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < b38ad5599d60172c549c85a91b49e13c588844fe; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < 0322b67d7718964a524ed76efd7b7488545f4650; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < 401f58037219b7c5bfe9829d322ff367e51a64ac; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < e0dbd2608acabeb4a76647423b32f13755875889; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < b15cb2a3c074f6b240fd71d3f27850c4ca9af475; >= 0df63e44c3e315ec0fe427ae62558231864108bd, < 9017bc3d13da0ea4e63be618c87143a7b69185e6 | — | cvelist |
| Linux | 2.6.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
Technologies
References
Other
- 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
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |