{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ae0506eba78fd1d6236b46ca5aa089c8fc6050cf"
            },
            {
              "fixed": "705d1ea0123db96d2c2484c26d5369013a5ce348"
            },
            {
              "fixed": "6f85707eee2f82b97f3a03cc758359891cdfad1e"
            },
            {
              "fixed": "779f9d180b4b1fdf2d4b045a1acd763043ee83c3"
            },
            {
              "fixed": "65a65a295935045cb9084e4c96aadf4c369b20c4"
            },
            {
              "fixed": "017dd7a84ff4cd2275eb62f4ee6d63c705bac107"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.4.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.61"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142791.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix buffer overflow in corrupt inline attr structure\n\nLOLLM noticed a buffer overrun if the xattr scrubber encounters a file\nwith a shortform attr fork with sf-\u003ecount \u003e 0 but if_bytes ==\nsizeof(struct xfs_attr_sf_hdr).  Basically, we have enough data to have\na header with a nonzero count, but no space for any of those shortform\nentries.  In this case, the xfs_attr_sf_nextentry() call will run off\nthe end of if_data and blow up.",
  "id": "CVE-2026-142791",
  "modified": "2026-12-03T04:45:36.114665649Z",
  "published": "2026-12-03T03:11:25.477Z",
  "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/017dd7a84ff4cd2275eb62f4ee6d63c705bac107"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/65a65a295935045cb9084e4c96aadf4c369b20c4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6f85707eee2f82b97f3a03cc758359891cdfad1e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/705d1ea0123db96d2c2484c26d5369013a5ce348"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/779f9d180b4b1fdf2d4b045a1acd763043ee83c3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142791.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142791"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "xfs: fix buffer overflow in corrupt inline attr structure"
}