# CVE-2026-139792: ALSA: pcm: Prevent O_APPEND open on OSS streams

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-11-30T13:38:02.646Z
- Modified: 2026-12-01T06:17:49.793Z
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0df63e44c3e315ec0fe427ae62558231864108bd before 906fbf130ae2706df3e05a1211d6bc11591c44db; from 0df63e44c3e315ec0fe427ae62558231864108bd before d53ca35ac1074e3c5b6c72b6dd30363507f5f09c; from 0df63e44c3e315ec0fe427ae62558231864108bd before b38ad5599d60172c549c85a91b49e13c588844fe; from 0df63e44c3e315ec0fe427ae62558231864108bd before 0322b67d7718964a524ed76efd7b7488545f4650; from 0df63e44c3e315ec0fe427ae62558231864108bd before 401f58037219b7c5bfe9829d322ff367e51a64ac; from 0df63e44c3e315ec0fe427ae62558231864108bd before e0dbd2608acabeb4a76647423b32f13755875889; from 0df63e44c3e315ec0fe427ae62558231864108bd before b15cb2a3c074f6b240fd71d3f27850c4ca9af475; from 0df63e44c3e315ec0fe427ae62558231864108bd before 9017bc3d13da0ea4e63be618c87143a7b69185e6; 2.6.18 (not affected: before 2.6.18; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-139792](https://www.cve.org/CVERecord?id=CVE-2026-139792), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139792](https://nvd.nist.gov/vuln/detail/CVE-2026-139792), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139792 · Whole record: https://cve.day/CVE-2026-139792.json · Rebuilt by cve.day 2026-12-01T06:32:24.040Z
