{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99400","id":"CVE-2026-99400","title":"Linux kernel out-of-bounds access in XFS attribute value copying","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: reject out-of-range attribute value lengths in xfs_attr_copy_value\n\nxfs_attr_copy_value() takes the value length as a signed int and, for a\nremote xattr, is handed args->rmtvaluelen.  That field is filled from the\non-disk __be32 xfs_attr_leaf_name_remote.valuelen in\nxfs_attr3_leaf_getvalue(), so a crafted length such as 0x80","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: reject out-of-range attribute value lengths in xfs_attr_copy_value\n\nxfs_attr_copy_value() takes the value length as a signed int and, for a\nremote xattr, is handed args->rmtvaluelen.  That field is filled from the\non-disk __be32 xfs_attr_leaf_name_remote.valuelen in\nxfs_attr3_leaf_getvalue(), so a crafted length such as 0x80000000 is\nstored into the signed rmtvaluelen as a negative number.\n\nThe \"buffer too small\" guard in xfs_attr_copy_value() is a signed\ncomparison:\n\n\tif (args->valuelen < valuelen)\n\t\treturn -ERANGE;\n\nA negative valuelen therefore compares as smaller than the caller's\nbuffer size, skips the -ERANGE path, and is then used as a copy length,\nleading to an out-of-bounds copy of a full remote block into a small\ngetxattr(2) buffer on a mounted crafted image.\n\nReject a value length that is negative or larger than the maximum xattr\nsize before it is used, so a bogus on-disk length can no longer slip\nthrough the value copier.","published":"2026-11-19T14:23:37.667Z","updated":"2026-11-19T17:01:10.521654825Z","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":"9df243a1a9e607e7cf5d20ee46edd5ec84b7e400","lessThan":"91d0cf6244280e67bdc2787a60a10f635ac064c0","status":"affected","versionType":"git"},{"version":"9df243a1a9e607e7cf5d20ee46edd5ec84b7e400","lessThan":"c2cd6b3b480ef2ae9752ed924a2199c8c90569a1","status":"affected","versionType":"git"},{"version":"9df243a1a9e607e7cf5d20ee46edd5ec84b7e400","lessThan":"c5c34a0a5a80ecd8fea9fff960907b2924d18cd9","status":"affected","versionType":"git"},{"version":"9df243a1a9e607e7cf5d20ee46edd5ec84b7e400","lessThan":"0643549ffecaeb716c0b75590a9b76dfa5eb35b3","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.4","status":"affected"},{"version":"0","lessThan":"5.4","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/91d0cf6244280e67bdc2787a60a10f635ac064c0","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c2cd6b3b480ef2ae9752ed924a2199c8c90569a1","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c5c34a0a5a80ecd8fea9fff960907b2924d18cd9","tags":["web"]},{"url":"https://git.kernel.org/stable/c/0643549ffecaeb716c0b75590a9b76dfa5eb35b3","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-99400.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99400","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-99400","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99400","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99400","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-99400","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}