ALSA: pcm: Prevent O_APPEND open on OSS streams

Summary

CVECVE-2026-139792
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:20:12 UTC
Updated2026-11-30 14:20:12 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 0df63e44c3e315ec0fe427ae62558231864108bd 906fbf130ae2706df3e05a1211d6bc11591c44db git Not specified
CNA Linux Linux affected 0df63e44c3e315ec0fe427ae62558231864108bd d53ca35ac1074e3c5b6c72b6dd30363507f5f09c git Not specified
CNA Linux Linux affected 0df63e44c3e315ec0fe427ae62558231864108bd b38ad5599d60172c549c85a91b49e13c588844fe git Not specified
CNA Linux Linux affected 0df63e44c3e315ec0fe427ae62558231864108bd 0322b67d7718964a524ed76efd7b7488545f4650 git Not specified
CNA Linux Linux affected 0df63e44c3e315ec0fe427ae62558231864108bd 401f58037219b7c5bfe9829d322ff367e51a64ac git Not specified
CNA Linux Linux affected 0df63e44c3e315ec0fe427ae62558231864108bd e0dbd2608acabeb4a76647423b32f13755875889 git Not specified
CNA Linux Linux affected 0df63e44c3e315ec0fe427ae62558231864108bd b15cb2a3c074f6b240fd71d3f27850c4ca9af475 git Not specified
CNA Linux Linux affected 0df63e44c3e315ec0fe427ae62558231864108bd 9017bc3d13da0ea4e63be618c87143a7b69185e6 git Not specified
CNA Linux Linux affected 2.6.18 Not specified
CNA Linux Linux unaffected 2.6.18 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/e0dbd2608acabeb4a76647423b32f13755875889 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b38ad5599d60172c549c85a91b49e13c588844fe 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b15cb2a3c074f6b240fd71d3f27850c4ca9af475 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9017bc3d13da0ea4e63be618c87143a7b69185e6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0322b67d7718964a524ed76efd7b7488545f4650 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d53ca35ac1074e3c5b6c72b6dd30363507f5f09c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/906fbf130ae2706df3e05a1211d6bc11591c44db 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/401f58037219b7c5bfe9829d322ff367e51a64ac 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report