{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "13791d3b833428e7dc7253e066eef8cae75cd1c0"
            },
            {
              "fixed": "e84fce3520afabcf25105f1caea73d96b6bbc14b"
            },
            {
              "fixed": "47102e94403ef845dda3ca42b7305022875a4d19"
            },
            {
              "fixed": "dd0d09f490aef8e261bd15d7e55f193226d8e8fc"
            },
            {
              "fixed": "d4a0973e1e3da24246e513bf34ab06cb2ceebe7f"
            },
            {
              "fixed": "36761ed167bfe5e6fb7d8e8532582d3b17e6f251"
            },
            {
              "fixed": "3b210a9042933f54e3b26878b6180c02162afb60"
            },
            {
              "fixed": "0cc08b2ea0908cb3b2bf227b9a4fec0cc96aad91"
            },
            {
              "fixed": "91c41f9524906a8ebd2ae68c98a07b4bd5255ddb"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.15.0"
            },
            {
              "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.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142885.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: check for buffer overruns when examining local/remote xattr entries\n\nLOLLM noticed that the xattr scrub and repair code can walk off the end\nof the buffer if the xattr entry record starts so close to the end of\nthe buffer that there's not even space for the entry structure itself.\nStrengthen the bounds checking here.",
  "id": "CVE-2026-142885",
  "modified": "2026-12-03T04:45:39.951756413Z",
  "published": "2026-12-03T03:23:39.306Z",
  "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/0cc08b2ea0908cb3b2bf227b9a4fec0cc96aad91"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/36761ed167bfe5e6fb7d8e8532582d3b17e6f251"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3b210a9042933f54e3b26878b6180c02162afb60"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/47102e94403ef845dda3ca42b7305022875a4d19"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/91c41f9524906a8ebd2ae68c98a07b4bd5255ddb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d4a0973e1e3da24246e513bf34ab06cb2ceebe7f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dd0d09f490aef8e261bd15d7e55f193226d8e8fc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e84fce3520afabcf25105f1caea73d96b6bbc14b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142885.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142885"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "xfs: check for buffer overruns when examining local/remote xattr entries"
}