GHSA-79XJ-M62W-GWXC
Vulnerability from github – Published: 2026-11-19 15:31 – Updated: 2026-11-22 12:31In the Linux kernel, the following vulnerability has been resolved:
xfs: reject remote xattr entries with an out-of-range value length
xfs_attr3_leaf_verify_entry() validates a remote attribute entry's name but never bounds its on-disk value length (xfs_attr_leaf_name_remote. valuelen, a __be32). A crafted leaf with valuelen = 0x80000000 passes the verifier and the CRC.
That length is later assigned into the signed int args->rmtvaluelen (xfs_attr3_leaf_getvalue), becoming negative, which slips past the signed -ERANGE check in xfs_attr_copy_value(); a getxattr() with a small buffer then memcpy()s a full remote block into the small kvalue buffer (xfs_attr_rmtval_copyout) -- a heap out-of-bounds write with attacker-controlled content, from an unprivileged getxattr(2) on a mounted crafted image.
Reject remote entries whose value length exceeds XFS_XATTR_SIZE_MAX in the leaf verifier, so the malicious block is rejected at read time.
{
"affected": [],
"aliases": [
"CVE-2026-99399"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-19T15:17:52Z",
"severity": "HIGH"
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: reject remote xattr entries with an out-of-range value length\n\nxfs_attr3_leaf_verify_entry() validates a remote attribute entry\u0027s name\nbut never bounds its on-disk value length (xfs_attr_leaf_name_remote.\nvaluelen, a __be32). A crafted leaf with valuelen = 0x80000000 passes\nthe verifier and the CRC.\n\nThat length is later assigned into the signed int args-\u003ermtvaluelen\n(xfs_attr3_leaf_getvalue), becoming negative, which slips past the signed\n-ERANGE check in xfs_attr_copy_value(); a getxattr() with a small buffer\nthen memcpy()s a full remote block into the small kvalue buffer\n(xfs_attr_rmtval_copyout) -- a heap out-of-bounds write with\nattacker-controlled content, from an unprivileged getxattr(2) on a\nmounted crafted image.\n\nReject remote entries whose value length exceeds XFS_XATTR_SIZE_MAX in\nthe leaf verifier, so the malicious block is rejected at read time.",
"id": "GHSA-79xj-m62w-gwxc",
"modified": "2026-11-22T12:31:14Z",
"published": "2026-11-19T15:31:23Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99399"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/1481b4644cd640f0a603d97ced300a1fbd7d3a94"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/15ccd92a782a0253f4a17895f3d3f71e5c1d1973"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/56b701b3c272f143bb5f6a346bfbb1fe28ee14b1"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/97b85a593188f63e133883525c9159f77e660197"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
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.