CVEFinder.io

CVE-2026-139792

⚠️ high
AI Summary

The Linux kernel ALSA PCM subsystem improperly handles OSS streams opened with the O_APPEND flag, skipping crucial sanity checks during stream re-use and mmap operations. An attacker can exploit this flaw to trigger a use-after-free condition on mapped memory pages, leading to local privilege escalation.

Summary

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 fo

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.

CVSS Score
7.0
High
EPSS Score
0.2
Exploit Probability
Published Date
2026-11-30
First Seen: 2026-12-03
📊 Relative Risk Intelligence

This CVE is Moderate Risk - more severe than 50.6% of all 384,538 vulnerabilities in our database.

#189,843
Above average severity
Severity Percentile
Last Modified 2026-12-01
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

📦 Affected Products 0

No affected products information available

🔗 References 8