{"id":"CVE-2026-139792","aliases":["CVE-2026-139792"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: pcm: Prevent O_APPEND open on OSS streams","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:38:02.646Z","modified":"2026-12-01T06:17:49.793Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0df63e44c3e315ec0fe427ae62558231864108bd","fixed":"906fbf130ae2706df3e05a1211d6bc11591c44db","status":"affected"},{"type":"git","introduced":"0df63e44c3e315ec0fe427ae62558231864108bd","fixed":"d53ca35ac1074e3c5b6c72b6dd30363507f5f09c","status":"affected"},{"type":"git","introduced":"0df63e44c3e315ec0fe427ae62558231864108bd","fixed":"b38ad5599d60172c549c85a91b49e13c588844fe","status":"affected"},{"type":"git","introduced":"0df63e44c3e315ec0fe427ae62558231864108bd","fixed":"0322b67d7718964a524ed76efd7b7488545f4650","status":"affected"},{"type":"git","introduced":"0df63e44c3e315ec0fe427ae62558231864108bd","fixed":"401f58037219b7c5bfe9829d322ff367e51a64ac","status":"affected"},{"type":"git","introduced":"0df63e44c3e315ec0fe427ae62558231864108bd","fixed":"e0dbd2608acabeb4a76647423b32f13755875889","status":"affected"},{"type":"git","introduced":"0df63e44c3e315ec0fe427ae62558231864108bd","fixed":"b15cb2a3c074f6b240fd71d3f27850c4ca9af475","status":"affected"},{"type":"git","introduced":"0df63e44c3e315ec0fe427ae62558231864108bd","fixed":"9017bc3d13da0ea4e63be618c87143a7b69185e6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.18","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/906fbf130ae2706df3e05a1211d6bc11591c44db","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d53ca35ac1074e3c5b6c72b6dd30363507f5f09c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b38ad5599d60172c549c85a91b49e13c588844fe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0322b67d7718964a524ed76efd7b7488545f4650","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/401f58037219b7c5bfe9829d322ff367e51a64ac","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0dbd2608acabeb4a76647423b32f13755875889","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b15cb2a3c074f6b240fd71d3f27850c4ca9af475","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9017bc3d13da0ea4e63be618c87143a7b69185e6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139792","url":"https://www.cve.org/CVERecord?id=CVE-2026-139792","licence":"CVE Terms of Use","modified":"2026-12-01T05:43:26.010Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139792","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139792","licence":"Public domain","modified":"2026-12-01T06:17:49.793Z"}],"updatedAt":"2026-12-01T06:32:24.040Z","epss":{"score":0.00238,"percentile":0.15976,"date":"2026-12-01T12:00:22.000Z"}}