ALSA: pcm: Prevent O_APPEND open on OSS streams

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux0df63e44c3e315ec0fe427ae62558231864108bd to before 906fbf130ae2706df3e05a1211d6bc11591c44db Affected0df63e44c3e315ec0fe427ae62558231864108bd to before d53ca35ac1074e3c5b6c72b6dd30363507f5f09c Affected0df63e44c3e315ec0fe427ae62558231864108bd to before b38ad5599d60172c549c85a91b49e13c588844fe Affected0df63e44c3e315ec0fe427ae62558231864108bd to before 0322b67d7718964a524ed76efd7b7488545f4650 Affected0df63e44c3e315ec0fe427ae62558231864108bd to before 401f58037219b7c5bfe9829d322ff367e51a64ac Affected0df63e44c3e315ec0fe427ae62558231864108bd to before e0dbd2608acabeb4a76647423b32f13755875889 Affected0df63e44c3e315ec0fe427ae62558231864108bd to before b15cb2a3c074f6b240fd71d3f27850c4ca9af475 Affected0df63e44c3e315ec0fe427ae62558231864108bd to before 9017bc3d13da0ea4e63be618c87143a7b69185e6 Affected
Linux Linux2.6.18 Affectedbefore 2.6.18 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc2 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.