CVE-2026-99396 (GCVE-0-2026-99396)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:23 – Updated: 2026-11-19 14:39
VLAI
Title
xfs: bound da-node entry count against the correct geometry
Summary
In the Linux kernel, the following vulnerability has been resolved: xfs: bound da-node entry count against the correct geometry xfs_da3_node_verify() bounds the node entry count against the larger of the directory and attribute geometries because, as a buffer verifier, it cannot tell whether the block belongs to the directory or the attribute tree. When the directory block size exceeds the fs block size (e.g. mkfs.xfs -n size=64k -b size=4k), an attribute node buffer is a single fs block that holds only m_attr_geo->node_ents entries, yet a crafted attr node may claim a count up to m_dir_geo->node_ents and still pass the verifier. xfs_da3_node_lookup_int() then indexes btree[] up to that count during its binary search -- an out-of-bounds read via getxattr/listxattr on a mounted crafted image. The buffer verifier is the wrong place to tighten this: it has no fork context, and the transaction-less read path used by getxattr does not run xfs_da3_node_set_type() either. xfs_da3_node_lookup_int(), on the other hand, always runs on that path and holds args->geo, the geometry of the fork actually being searched. Bound the entry count against args->geo->node_ents there, before walking the entries.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 7ab610f9e0f1701b7b319bdc946b9804fb79e780 , < aaeb3e51052c94959bbc286ccda0c6f2feb3cd69 (git)
Affected: 7ab610f9e0f1701b7b319bdc946b9804fb79e780 , < 5909f2935ca2897b51800d00f58a48605253ef4b (git)
Affected: 7ab610f9e0f1701b7b319bdc946b9804fb79e780 , < 229c4478a35663582893916250ebcdfc7b845b85 (git)
Affected: 7ab610f9e0f1701b7b319bdc946b9804fb79e780 , < 3df5e5aaa3bc0913236c48ab29b7df3a785aa29f (git)
Create a notification for this product.
Linux Linux Affected: 3.16
Unaffected: 0 , < 3.16 (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.61 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/xfs/libxfs/xfs_da_btree.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "aaeb3e51052c94959bbc286ccda0c6f2feb3cd69",
              "status": "affected",
              "version": "7ab610f9e0f1701b7b319bdc946b9804fb79e780",
              "versionType": "git"
            },
            {
              "lessThan": "5909f2935ca2897b51800d00f58a48605253ef4b",
              "status": "affected",
              "version": "7ab610f9e0f1701b7b319bdc946b9804fb79e780",
              "versionType": "git"
            },
            {
              "lessThan": "229c4478a35663582893916250ebcdfc7b845b85",
              "status": "affected",
              "version": "7ab610f9e0f1701b7b319bdc946b9804fb79e780",
              "versionType": "git"
            },
            {
              "lessThan": "3df5e5aaa3bc0913236c48ab29b7df3a785aa29f",
              "status": "affected",
              "version": "7ab610f9e0f1701b7b319bdc946b9804fb79e780",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/xfs/libxfs/xfs_da_btree.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.16"
            },
            {
              "lessThan": "3.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.61",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: bound da-node entry count against the correct geometry\n\nxfs_da3_node_verify() bounds the node entry count against the larger of\nthe directory and attribute geometries because, as a buffer verifier, it\ncannot tell whether the block belongs to the directory or the attribute\ntree. When the directory block size exceeds the fs block size (e.g.\nmkfs.xfs -n size=64k -b size=4k), an attribute node buffer is a single fs\nblock that holds only m_attr_geo-\u003enode_ents entries, yet a crafted attr\nnode may claim a count up to m_dir_geo-\u003enode_ents and still pass the\nverifier.\n\nxfs_da3_node_lookup_int() then indexes btree[] up to that count during\nits binary search -- an out-of-bounds read via getxattr/listxattr on a\nmounted crafted image.\n\nThe buffer verifier is the wrong place to tighten this: it has no fork\ncontext, and the transaction-less read path used by getxattr does not run\nxfs_da3_node_set_type() either. xfs_da3_node_lookup_int(), on the other\nhand, always runs on that path and holds args-\u003egeo, the geometry of the\nfork actually being searched. Bound the entry count against\nargs-\u003egeo-\u003enode_ents there, before walking the entries."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-19T14:39:28.833Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/aaeb3e51052c94959bbc286ccda0c6f2feb3cd69"
        },
        {
          "url": "https://git.kernel.org/stable/c/5909f2935ca2897b51800d00f58a48605253ef4b"
        },
        {
          "url": "https://git.kernel.org/stable/c/229c4478a35663582893916250ebcdfc7b845b85"
        },
        {
          "url": "https://git.kernel.org/stable/c/3df5e5aaa3bc0913236c48ab29b7df3a785aa29f"
        }
      ],
      "title": "xfs: bound da-node entry count against the correct geometry",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99396",
    "datePublished": "2026-11-19T14:23:34.182Z",
    "dateReserved": "2026-09-25T10:25:14.412Z",
    "dateUpdated": "2026-11-19T14:39:28.833Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99396",
      "date": "2026-11-22",
      "epss": "0.00224",
      "percentile": "0.13165"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-21T01:08:40.000Z",
      "cve": "CVE-2026-99396",
      "id": "msrc_CVE-2026-99396",
      "initial_release_date": "2026-11-21T01:08:40.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "xfs: bound da-node entry count against the correct geometry",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99396.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/xfs/libxfs/xfs_da_btree.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "aaeb3e51052c94959bbc286ccda0c6f2feb3cd69",
                    "status": "affected",
                    "version": "7ab610f9e0f1701b7b319bdc946b9804fb79e780",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5909f2935ca2897b51800d00f58a48605253ef4b",
                    "status": "affected",
                    "version": "7ab610f9e0f1701b7b319bdc946b9804fb79e780",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "229c4478a35663582893916250ebcdfc7b845b85",
                    "status": "affected",
                    "version": "7ab610f9e0f1701b7b319bdc946b9804fb79e780",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "3df5e5aaa3bc0913236c48ab29b7df3a785aa29f",
                    "status": "affected",
                    "version": "7ab610f9e0f1701b7b319bdc946b9804fb79e780",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/xfs/libxfs/xfs_da_btree.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "3.16"
                  },
                  {
                    "lessThan": "3.16",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.61",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: bound da-node entry count against the correct geometry\n\nxfs_da3_node_verify() bounds the node entry count against the larger of\nthe directory and attribute geometries because, as a buffer verifier, it\ncannot tell whether the block belongs to the directory or the attribute\ntree. When the directory block size exceeds the fs block size (e.g.\nmkfs.xfs -n size=64k -b size=4k), an attribute node buffer is a single fs\nblock that holds only m_attr_geo-\u003enode_ents entries, yet a crafted attr\nnode may claim a count up to m_dir_geo-\u003enode_ents and still pass the\nverifier.\n\nxfs_da3_node_lookup_int() then indexes btree[] up to that count during\nits binary search -- an out-of-bounds read via getxattr/listxattr on a\nmounted crafted image.\n\nThe buffer verifier is the wrong place to tighten this: it has no fork\ncontext, and the transaction-less read path used by getxattr does not run\nxfs_da3_node_set_type() either. xfs_da3_node_lookup_int(), on the other\nhand, always runs on that path and holds args-\u003egeo, the geometry of the\nfork actually being searched. Bound the entry count against\nargs-\u003egeo-\u003enode_ents there, before walking the entries."
          }
        ],
        "id": "CVE-2026-99396",
        "lastModified": "2026-11-19T15:17:52.033",
        "metrics": {},
        "published": "2026-11-19T15:17:52.033",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/229c4478a35663582893916250ebcdfc7b845b85"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3df5e5aaa3bc0913236c48ab29b7df3a785aa29f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5909f2935ca2897b51800d00f58a48605253ef4b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/aaeb3e51052c94959bbc286ccda0c6f2feb3cd69"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-19T21:03:10+00:00",
      "cve": "CVE-2026-99396",
      "id": "CVE-2026-99396",
      "initial_release_date": "2026-11-19T14:23:34.182000+00:00",
      "product_status:known_affected": "190",
      "product_status:known_not_affected": "14",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of service via out-of-bounds read in XFS",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99396.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-21T00:36:21Z",
      "cve": "CVE-2026-99396",
      "id": "CVE-2026-99396",
      "initial_release_date": "2026-11-21T00:36:21Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99396",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99396.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…