{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0df63e44c3e315ec0fe427ae62558231864108bd"
            },
            {
              "fixed": "906fbf130ae2706df3e05a1211d6bc11591c44db"
            },
            {
              "fixed": "d53ca35ac1074e3c5b6c72b6dd30363507f5f09c"
            },
            {
              "fixed": "b38ad5599d60172c549c85a91b49e13c588844fe"
            },
            {
              "fixed": "0322b67d7718964a524ed76efd7b7488545f4650"
            },
            {
              "fixed": "401f58037219b7c5bfe9829d322ff367e51a64ac"
            },
            {
              "fixed": "e0dbd2608acabeb4a76647423b32f13755875889"
            },
            {
              "fixed": "b15cb2a3c074f6b240fd71d3f27850c4ca9af475"
            },
            {
              "fixed": "9017bc3d13da0ea4e63be618c87143a7b69185e6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.18"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139792.json"
  },
  "details": "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.",
  "id": "CVE-2026-139792",
  "modified": "2026-12-01T06:45:22.286782940Z",
  "published": "2026-11-30T13:38:02.646Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0322b67d7718964a524ed76efd7b7488545f4650"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/401f58037219b7c5bfe9829d322ff367e51a64ac"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9017bc3d13da0ea4e63be618c87143a7b69185e6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/906fbf130ae2706df3e05a1211d6bc11591c44db"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b15cb2a3c074f6b240fd71d3f27850c4ca9af475"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b38ad5599d60172c549c85a91b49e13c588844fe"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d53ca35ac1074e3c5b6c72b6dd30363507f5f09c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e0dbd2608acabeb4a76647423b32f13755875889"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139792.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139792"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ALSA: pcm: Prevent O_APPEND open on OSS streams"
}