GHSA-3H9M-HCGV-XJGC
Vulnerability from github – Published: 2026-11-19 15:31 – Updated: 2026-11-19 15:31In 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.
{
"affected": [],
"aliases": [
"CVE-2026-99396"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-19T15:17:52Z",
"severity": null
},
"details": "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": "GHSA-3h9m-hcgv-xjgc",
"modified": "2026-11-19T15:31:23Z",
"published": "2026-11-19T15:31:23Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99396"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/229c4478a35663582893916250ebcdfc7b845b85"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/3df5e5aaa3bc0913236c48ab29b7df3a785aa29f"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/5909f2935ca2897b51800d00f58a48605253ef4b"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/aaeb3e51052c94959bbc286ccda0c6f2feb3cd69"
}
],
"schema_version": "1.4.0",
"severity": []
}
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
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.