Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.0CVE-2026-139792

ALSA: pcm: Prevent O_APPEND open on OSS streams

Published 30/11/2026 · Updated 01/12/2026 · Linux

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 products and versions

Linux Linux0df63e44c3e315ec0fe427ae62558231864108bd – < 906fbf130ae2706df3e05a1211d6bc11591c44db · 0df63e44c3e315ec0fe427ae62558231864108bd – < d53ca35ac1074e3c5b6c72b6dd30363507f5f09c · 0df63e44c3e315ec0fe427ae62558231864108bd – < b38ad5599d60172c549c85a91b49e13c588844fe · 0df63e44c3e315ec0fe427ae62558231864108bd – < 0322b67d7718964a524ed76efd7b7488545f4650 · 0df63e44c3e315ec0fe427ae62558231864108bd – < 401f58037219b7c5bfe9829d322ff367e51a64ac · 0df63e44c3e315ec0fe427ae62558231864108bd – < e0dbd2608acabeb4a76647423b32f13755875889 · 0df63e44c3e315ec0fe427ae62558231864108bd – < b15cb2a3c074f6b240fd71d3f27850c4ca9af475 · 0df63e44c3e315ec0fe427ae62558231864108bd – < 9017bc3d13da0ea4e63be618c87143a7b69185e6Fixed in: 906fbf130ae2706df3e05a1211d6bc11591c44db · d53ca35ac1074e3c5b6c72b6dd30363507f5f09c · b38ad5599d60172c549c85a91b49e13c588844fe · 0322b67d7718964a524ed76efd7b7488545f4650 · 401f58037219b7c5bfe9829d322ff367e51a64ac · e0dbd2608acabeb4a76647423b32f13755875889 · b15cb2a3c074f6b240fd71d3f27850c4ca9af475 · 9017bc3d13da0ea4e63be618c87143a7b69185e6
Linux Linux2.6.18Fixed in: 5.10.275 · 5.15.226 · 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc2

CVSS vector, explained

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
High
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.