CVE-2026-139792

ALSA: pcm: Prevent O_APPEND open on OSS streams

7.0 high EPSS 0.24%

Published 30 Nov 2026 Updated 1 Dec 2026 CNA: Linux

Check your servers for CVE-2026-139792

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139792 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.0 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.9% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 0df63e44c3e315ec0fe427ae62558231864108bd, before 906fbf130ae2706df3e05a1211d6bc11591c44db
affected from 0df63e44c3e315ec0fe427ae62558231864108bd, before d53ca35ac1074e3c5b6c72b6dd30363507f5f09c
affected from 0df63e44c3e315ec0fe427ae62558231864108bd, before b38ad5599d60172c549c85a91b49e13c588844fe
affected from 0df63e44c3e315ec0fe427ae62558231864108bd, before 0322b67d7718964a524ed76efd7b7488545f4650
affected from 0df63e44c3e315ec0fe427ae62558231864108bd, before 401f58037219b7c5bfe9829d322ff367e51a64ac
affected from 0df63e44c3e315ec0fe427ae62558231864108bd, before e0dbd2608acabeb4a76647423b32f13755875889
affected from 0df63e44c3e315ec0fe427ae62558231864108bd, before b15cb2a3c074f6b240fd71d3f27850c4ca9af475
affected from 0df63e44c3e315ec0fe427ae62558231864108bd, before 9017bc3d13da0ea4e63be618c87143a7b69185e6
Other versions: unaffected
Linux
affected 2.6.18
unaffected before 2.6.18
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.119 up to and including 6.12.*
unaffected from 6.18.65 up to and including 6.18.*
unaffected from 7.3.6 up to and including 7.3.*
unaffected 7.4-rc2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139792 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139792

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-139792
trivy image --scanners vuln IMAGE | grep CVE-2026-139792

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-139792 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.