{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99399","id":"CVE-2026-99399","title":"Linux kernel out-of-bounds access in XFS remote attributes","description":"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's 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 ass","descriptionLong":"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's 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->rmtvaluelen\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.","published":"2026-11-19T14:23:36.794Z","updated":"2026-11-19T17:01:10.119944739Z","reserved":"2026-09-25T10:25:14.412Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c84760659dcf237902d4cc997cd5f55cb3b2807f","lessThan":"56b701b3c272f143bb5f6a346bfbb1fe28ee14b1","status":"affected","versionType":"git"},{"version":"c84760659dcf237902d4cc997cd5f55cb3b2807f","lessThan":"97b85a593188f63e133883525c9159f77e660197","status":"affected","versionType":"git"},{"version":"c84760659dcf237902d4cc997cd5f55cb3b2807f","lessThan":"1481b4644cd640f0a603d97ced300a1fbd7d3a94","status":"affected","versionType":"git"},{"version":"c84760659dcf237902d4cc997cd5f55cb3b2807f","lessThan":"15ccd92a782a0253f4a17895f3d3f71e5c1d1973","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","lessThan":"5.5","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/56b701b3c272f143bb5f6a346bfbb1fe28ee14b1","tags":["web"]},{"url":"https://git.kernel.org/stable/c/97b85a593188f63e133883525c9159f77e660197","tags":["web"]},{"url":"https://git.kernel.org/stable/c/1481b4644cd640f0a603d97ced300a1fbd7d3a94","tags":["web"]},{"url":"https://git.kernel.org/stable/c/15ccd92a782a0253f4a17895f3d3f71e5c1d1973","tags":["web"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99399.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99399","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99399","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99399","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99399","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99399","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}