{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139792",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.953Z",
        "datePublished": "2026-11-30T13:38:02.646Z",
        "dateUpdated": "2026-11-30T13:38:02.646Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:38:02.646Z"
            },
            "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/core/pcm.c",
                        "sound/core/pcm_local.h",
                        "sound/core/pcm_native.c"
                    ],
                    "versions": [
                        {
                            "version": "0df63e44c3e315ec0fe427ae62558231864108bd",
                            "lessThan": "906fbf130ae2706df3e05a1211d6bc11591c44db",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0df63e44c3e315ec0fe427ae62558231864108bd",
                            "lessThan": "d53ca35ac1074e3c5b6c72b6dd30363507f5f09c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0df63e44c3e315ec0fe427ae62558231864108bd",
                            "lessThan": "b38ad5599d60172c549c85a91b49e13c588844fe",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0df63e44c3e315ec0fe427ae62558231864108bd",
                            "lessThan": "0322b67d7718964a524ed76efd7b7488545f4650",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0df63e44c3e315ec0fe427ae62558231864108bd",
                            "lessThan": "401f58037219b7c5bfe9829d322ff367e51a64ac",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0df63e44c3e315ec0fe427ae62558231864108bd",
                            "lessThan": "e0dbd2608acabeb4a76647423b32f13755875889",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0df63e44c3e315ec0fe427ae62558231864108bd",
                            "lessThan": "b15cb2a3c074f6b240fd71d3f27850c4ca9af475",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0df63e44c3e315ec0fe427ae62558231864108bd",
                            "lessThan": "9017bc3d13da0ea4e63be618c87143a7b69185e6",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/core/pcm.c",
                        "sound/core/pcm_local.h",
                        "sound/core/pcm_native.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.18",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.18",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.18",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.18",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.18",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.18",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.18",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.18",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.18",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}