CVE-2026-80805 (GCVE-0-2026-80805)
Vulnerability from cvelistv5
Published
2026-09-04 15:13
Modified
2026-09-04 15:13
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: xfs: validate attr entry pointer before field access xfs_attr3_leaf_verify_entry() accesses lentry/rentry fields (namelen, valuelen) before checking if the entry pointer itself is within bounds. If nameidx is crafted to point near the end of the buffer, these field accesses can read out-of-bounds before the bounds check at name_end > buf_end is performed. Add explicit bounds checks for entry pointers before accessing their fields. Use offsetof() to check that the start of the flexible array member (nameval/name) is within bounds, which ensures all preceding fields are safe to access.
Impacted products
Vendor Product Version
Linux Linux Version: c84760659dcf237902d4cc997cd5f55cb3b2807f
Version: c84760659dcf237902d4cc997cd5f55cb3b2807f
Version: c84760659dcf237902d4cc997cd5f55cb3b2807f
Version: c84760659dcf237902d4cc997cd5f55cb3b2807f
Version: c84760659dcf237902d4cc997cd5f55cb3b2807f
Version: c84760659dcf237902d4cc997cd5f55cb3b2807f
Version: c84760659dcf237902d4cc997cd5f55cb3b2807f
Version: c84760659dcf237902d4cc997cd5f55cb3b2807f
Version: c84760659dcf237902d4cc997cd5f55cb3b2807f
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/xfs/libxfs/xfs_attr_leaf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0f82586741e39926542f621bafa424e237a04fa4",
              "status": "affected",
              "version": "c84760659dcf237902d4cc997cd5f55cb3b2807f",
              "versionType": "git"
            },
            {
              "lessThan": "134d82a2b5e3eba3ebf58753a1387b22f26ca1de",
              "status": "affected",
              "version": "c84760659dcf237902d4cc997cd5f55cb3b2807f",
              "versionType": "git"
            },
            {
              "lessThan": "03a12253dd2a036545bdb0110a4e0b8dc70f8e7c",
              "status": "affected",
              "version": "c84760659dcf237902d4cc997cd5f55cb3b2807f",
              "versionType": "git"
            },
            {
              "lessThan": "e99120b5944a16d0bc27e52b33de78bcdaaabf5c",
              "status": "affected",
              "version": "c84760659dcf237902d4cc997cd5f55cb3b2807f",
              "versionType": "git"
            },
            {
              "lessThan": "98a42bb9d60d42898c3494de351a1bf508348cde",
              "status": "affected",
              "version": "c84760659dcf237902d4cc997cd5f55cb3b2807f",
              "versionType": "git"
            },
            {
              "lessThan": "184c1a80421a5b5ddcd262e47980ce2e67fee211",
              "status": "affected",
              "version": "c84760659dcf237902d4cc997cd5f55cb3b2807f",
              "versionType": "git"
            },
            {
              "lessThan": "9f92e749fc08b7ff3d9da190c4d1b2273745b282",
              "status": "affected",
              "version": "c84760659dcf237902d4cc997cd5f55cb3b2807f",
              "versionType": "git"
            },
            {
              "lessThan": "c35da2bac6f7cb9a9be73f188b4fcc324615c327",
              "status": "affected",
              "version": "c84760659dcf237902d4cc997cd5f55cb3b2807f",
              "versionType": "git"
            },
            {
              "lessThan": "b7eea80be25f3334f131d52982b3131aba77b97d",
              "status": "affected",
              "version": "c84760659dcf237902d4cc997cd5f55cb3b2807f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/xfs/libxfs/xfs_attr_leaf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.5"
            },
            {
              "lessThan": "5.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.267",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.218",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.185",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.154",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.106",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.47",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.1",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.267",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.218",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.185",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.154",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.106",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.47",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.11",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.1",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: validate attr entry pointer before field access\n\nxfs_attr3_leaf_verify_entry() accesses lentry/rentry fields (namelen,\nvaluelen) before checking if the entry pointer itself is within bounds.\nIf nameidx is crafted to point near the end of the buffer, these field\naccesses can read out-of-bounds before the bounds check at\nname_end \u003e buf_end is performed.\n\nAdd explicit bounds checks for entry pointers before accessing their\nfields. Use offsetof() to check that the start of the flexible array\nmember (nameval/name) is within bounds, which ensures all preceding\nfields are safe to access."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-04T15:13:19.239Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0f82586741e39926542f621bafa424e237a04fa4"
        },
        {
          "url": "https://git.kernel.org/stable/c/134d82a2b5e3eba3ebf58753a1387b22f26ca1de"
        },
        {
          "url": "https://git.kernel.org/stable/c/03a12253dd2a036545bdb0110a4e0b8dc70f8e7c"
        },
        {
          "url": "https://git.kernel.org/stable/c/e99120b5944a16d0bc27e52b33de78bcdaaabf5c"
        },
        {
          "url": "https://git.kernel.org/stable/c/98a42bb9d60d42898c3494de351a1bf508348cde"
        },
        {
          "url": "https://git.kernel.org/stable/c/184c1a80421a5b5ddcd262e47980ce2e67fee211"
        },
        {
          "url": "https://git.kernel.org/stable/c/9f92e749fc08b7ff3d9da190c4d1b2273745b282"
        },
        {
          "url": "https://git.kernel.org/stable/c/c35da2bac6f7cb9a9be73f188b4fcc324615c327"
        },
        {
          "url": "https://git.kernel.org/stable/c/b7eea80be25f3334f131d52982b3131aba77b97d"
        }
      ],
      "title": "xfs: validate attr entry pointer before field access",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-80805",
    "datePublished": "2026-09-04T15:13:19.239Z",
    "dateReserved": "2026-08-26T14:34:25.794Z",
    "dateUpdated": "2026-09-04T15:13:19.239Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…