{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "414091322c6363c9283aeb177101e4d7a3819ccd"
            },
            {
              "fixed": "b2edc050fc202119dca082b987b257cb7277e1c1"
            },
            {
              "fixed": "92bc0e5851fb7d575765b5100b0bab6b57357c75"
            },
            {
              "fixed": "6b722cefbf83558af07586ca94cdb4b370d5a82d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.17.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-139450.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: fix xattrs handling when metadata compression is used\n\nerofs_bread() reuses a cached folio on page index match without\nchecking folio-\u003emapping.\n\nxattr.c calls erofs_init_metabuf() twice on the same buffer without\nerofs_put_metabuf(); the two in_metabox sources differ, so buf-\u003emapping\ncan switch while buf-\u003epage still belongs to the old address_space.\nThe next erofs_bread() then reads the wrong mapping, dropping shared\nxattrs with METABOX.\n\nWe require folio-\u003emapping == buf-\u003emapping in the reuse check; otherwise\ndrop the cached folio and re-read via the slow path.",
  "id": "CVE-2026-139450",
  "modified": "2026-11-30T14:45:27.735855483Z",
  "published": "2026-11-30T13:34:52.090Z",
  "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/6b722cefbf83558af07586ca94cdb4b370d5a82d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/92bc0e5851fb7d575765b5100b0bab6b57357c75"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b2edc050fc202119dca082b987b257cb7277e1c1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139450.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139450"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "erofs: fix xattrs handling when metadata compression is used"
}