{"api_version":"1","generated_at":"2026-11-30T14:49:36+00:00","cve":"CVE-2026-139792","urls":{"html":"https://cve.report/CVE-2026-139792","api":"https://cve.report/api/cve/CVE-2026-139792.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139792","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139792"},"summary":{"title":"ALSA: pcm: Prevent O_APPEND open on OSS streams","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: Prevent O_APPEND open on OSS streams\n\nALSA PCM core accepts to re-use the existing stream when O_APPEND is\npassed, and it's been used for dmix, etc.  However, this mode isn't\nsupposed to be used for OSS: the OSS stream allows re-configuration\nvia its hw_params/hw_refine procedure even while it's being mmapped,\nso it implies the usage of only a single stream.  Because of this\nassumption, the sanity check is skipped for OSS streams, and if user\nmay attach to an existing OSS stream with O_APPEND, it may result in a\nUAF of the mapped pages which could be used as a privilege escalation\nexploit.\n\nFor addressing it, this patch simply prohibits the O_APPEND behavior\non the OSS stream.  O_APPEND is never used for OSS layer itself, so\nthis can't break for the right applications.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:12","updated_at":"2026-11-30 14:20:12"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/e0dbd2608acabeb4a76647423b32f13755875889","name":"https://git.kernel.org/stable/c/e0dbd2608acabeb4a76647423b32f13755875889","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b38ad5599d60172c549c85a91b49e13c588844fe","name":"https://git.kernel.org/stable/c/b38ad5599d60172c549c85a91b49e13c588844fe","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b15cb2a3c074f6b240fd71d3f27850c4ca9af475","name":"https://git.kernel.org/stable/c/b15cb2a3c074f6b240fd71d3f27850c4ca9af475","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9017bc3d13da0ea4e63be618c87143a7b69185e6","name":"https://git.kernel.org/stable/c/9017bc3d13da0ea4e63be618c87143a7b69185e6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0322b67d7718964a524ed76efd7b7488545f4650","name":"https://git.kernel.org/stable/c/0322b67d7718964a524ed76efd7b7488545f4650","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d53ca35ac1074e3c5b6c72b6dd30363507f5f09c","name":"https://git.kernel.org/stable/c/d53ca35ac1074e3c5b6c72b6dd30363507f5f09c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/906fbf130ae2706df3e05a1211d6bc11591c44db","name":"https://git.kernel.org/stable/c/906fbf130ae2706df3e05a1211d6bc11591c44db","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/401f58037219b7c5bfe9829d322ff367e51a64ac","name":"https://git.kernel.org/stable/c/401f58037219b7c5bfe9829d322ff367e51a64ac","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139792","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139792","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0df63e44c3e315ec0fe427ae62558231864108bd 906fbf130ae2706df3e05a1211d6bc11591c44db git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0df63e44c3e315ec0fe427ae62558231864108bd d53ca35ac1074e3c5b6c72b6dd30363507f5f09c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0df63e44c3e315ec0fe427ae62558231864108bd b38ad5599d60172c549c85a91b49e13c588844fe git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0df63e44c3e315ec0fe427ae62558231864108bd 0322b67d7718964a524ed76efd7b7488545f4650 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0df63e44c3e315ec0fe427ae62558231864108bd 401f58037219b7c5bfe9829d322ff367e51a64ac git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0df63e44c3e315ec0fe427ae62558231864108bd e0dbd2608acabeb4a76647423b32f13755875889 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0df63e44c3e315ec0fe427ae62558231864108bd b15cb2a3c074f6b240fd71d3f27850c4ca9af475 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0df63e44c3e315ec0fe427ae62558231864108bd 9017bc3d13da0ea4e63be618c87143a7b69185e6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["sound/core/pcm.c","sound/core/pcm_local.h","sound/core/pcm_native.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"906fbf130ae2706df3e05a1211d6bc11591c44db","status":"affected","version":"0df63e44c3e315ec0fe427ae62558231864108bd","versionType":"git"},{"lessThan":"d53ca35ac1074e3c5b6c72b6dd30363507f5f09c","status":"affected","version":"0df63e44c3e315ec0fe427ae62558231864108bd","versionType":"git"},{"lessThan":"b38ad5599d60172c549c85a91b49e13c588844fe","status":"affected","version":"0df63e44c3e315ec0fe427ae62558231864108bd","versionType":"git"},{"lessThan":"0322b67d7718964a524ed76efd7b7488545f4650","status":"affected","version":"0df63e44c3e315ec0fe427ae62558231864108bd","versionType":"git"},{"lessThan":"401f58037219b7c5bfe9829d322ff367e51a64ac","status":"affected","version":"0df63e44c3e315ec0fe427ae62558231864108bd","versionType":"git"},{"lessThan":"e0dbd2608acabeb4a76647423b32f13755875889","status":"affected","version":"0df63e44c3e315ec0fe427ae62558231864108bd","versionType":"git"},{"lessThan":"b15cb2a3c074f6b240fd71d3f27850c4ca9af475","status":"affected","version":"0df63e44c3e315ec0fe427ae62558231864108bd","versionType":"git"},{"lessThan":"9017bc3d13da0ea4e63be618c87143a7b69185e6","status":"affected","version":"0df63e44c3e315ec0fe427ae62558231864108bd","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["sound/core/pcm.c","sound/core/pcm_local.h","sound/core/pcm_native.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.18"},{"lessThan":"2.6.18","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"2.6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"2.6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"2.6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"2.6.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: Prevent O_APPEND open on OSS streams\n\nALSA PCM core accepts to re-use the existing stream when O_APPEND is\npassed, and it's been used for dmix, etc.  However, this mode isn't\nsupposed to be used for OSS: the OSS stream allows re-configuration\nvia its hw_params/hw_refine procedure even while it's being mmapped,\nso it implies the usage of only a single stream.  Because of this\nassumption, the sanity check is skipped for OSS streams, and if user\nmay attach to an existing OSS stream with O_APPEND, it may result in a\nUAF of the mapped pages which could be used as a privilege escalation\nexploit.\n\nFor addressing it, this patch simply prohibits the O_APPEND behavior\non the OSS stream.  O_APPEND is never used for OSS layer itself, so\nthis can't break for the right applications."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:38:02.646Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/906fbf130ae2706df3e05a1211d6bc11591c44db"},{"url":"https://git.kernel.org/stable/c/d53ca35ac1074e3c5b6c72b6dd30363507f5f09c"},{"url":"https://git.kernel.org/stable/c/b38ad5599d60172c549c85a91b49e13c588844fe"},{"url":"https://git.kernel.org/stable/c/0322b67d7718964a524ed76efd7b7488545f4650"},{"url":"https://git.kernel.org/stable/c/401f58037219b7c5bfe9829d322ff367e51a64ac"},{"url":"https://git.kernel.org/stable/c/e0dbd2608acabeb4a76647423b32f13755875889"},{"url":"https://git.kernel.org/stable/c/b15cb2a3c074f6b240fd71d3f27850c4ca9af475"},{"url":"https://git.kernel.org/stable/c/9017bc3d13da0ea4e63be618c87143a7b69185e6"}],"title":"ALSA: pcm: Prevent O_APPEND open on OSS streams","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139792","datePublished":"2026-11-30T13:38:02.646Z","dateReserved":"2026-11-30T13:22:15.953Z","dateUpdated":"2026-11-30T13:38:02.646Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:12","lastModifiedDate":"2026-11-30 14:20:12","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139792","Ordinal":"1","Title":"ALSA: pcm: Prevent O_APPEND open on OSS streams","CVE":"CVE-2026-139792","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139792","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: Prevent O_APPEND open on OSS streams\n\nALSA PCM core accepts to re-use the existing stream when O_APPEND is\npassed, and it's been used for dmix, etc.  However, this mode isn't\nsupposed to be used for OSS: the OSS stream allows re-configuration\nvia its hw_params/hw_refine procedure even while it's being mmapped,\nso it implies the usage of only a single stream.  Because of this\nassumption, the sanity check is skipped for OSS streams, and if user\nmay attach to an existing OSS stream with O_APPEND, it may result in a\nUAF of the mapped pages which could be used as a privilege escalation\nexploit.\n\nFor addressing it, this patch simply prohibits the O_APPEND behavior\non the OSS stream.  O_APPEND is never used for OSS layer itself, so\nthis can't break for the right applications.","Type":"Description","Title":"ALSA: pcm: Prevent O_APPEND open on OSS streams"}]}}}