xfs: validate attr entry pointer before field access

Summary

CVECVE-2026-80805
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-04 16:18:07 UTC
Updated2026-09-04 16:18:07 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: xfs: validate attr entry pointer before field access xfs_attr3_leaf_verify_entry() accesses lentry/rentry fields (namelen, valuelen) before checking if the entry pointer itself is within bounds. If nameidx is crafted to point near the end of the buffer, these field accesses can read out-of-bounds before the bounds check at name_end > buf_end is performed. Add explicit bounds checks for entry pointers before accessing their fields. Use offsetof() to check that the start of the flexible array member (nameval/name) is within bounds, which ensures all preceding fields are safe to access.

Risk And Classification

EPSS: 0.001950000 probability, percentile 0.092850000 (date 2026-09-07)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected c84760659dcf237902d4cc997cd5f55cb3b2807f 0f82586741e39926542f621bafa424e237a04fa4 git Not specified
CNA Linux Linux affected c84760659dcf237902d4cc997cd5f55cb3b2807f 134d82a2b5e3eba3ebf58753a1387b22f26ca1de git Not specified
CNA Linux Linux affected c84760659dcf237902d4cc997cd5f55cb3b2807f 03a12253dd2a036545bdb0110a4e0b8dc70f8e7c git Not specified
CNA Linux Linux affected c84760659dcf237902d4cc997cd5f55cb3b2807f e99120b5944a16d0bc27e52b33de78bcdaaabf5c git Not specified
CNA Linux Linux affected c84760659dcf237902d4cc997cd5f55cb3b2807f 98a42bb9d60d42898c3494de351a1bf508348cde git Not specified
CNA Linux Linux affected c84760659dcf237902d4cc997cd5f55cb3b2807f 184c1a80421a5b5ddcd262e47980ce2e67fee211 git Not specified
CNA Linux Linux affected c84760659dcf237902d4cc997cd5f55cb3b2807f 9f92e749fc08b7ff3d9da190c4d1b2273745b282 git Not specified
CNA Linux Linux affected c84760659dcf237902d4cc997cd5f55cb3b2807f c35da2bac6f7cb9a9be73f188b4fcc324615c327 git Not specified
CNA Linux Linux affected c84760659dcf237902d4cc997cd5f55cb3b2807f b7eea80be25f3334f131d52982b3131aba77b97d git Not specified
CNA Linux Linux affected 5.5 Not specified
CNA Linux Linux unaffected 5.5 semver Not specified
CNA Linux Linux unaffected 5.10.267 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.218 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.185 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.154 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.106 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.47 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.11 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2.1 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/184c1a80421a5b5ddcd262e47980ce2e67fee211 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/03a12253dd2a036545bdb0110a4e0b8dc70f8e7c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9f92e749fc08b7ff3d9da190c4d1b2273745b282 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/98a42bb9d60d42898c3494de351a1bf508348cde 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/134d82a2b5e3eba3ebf58753a1387b22f26ca1de 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e99120b5944a16d0bc27e52b33de78bcdaaabf5c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0f82586741e39926542f621bafa424e237a04fa4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b7eea80be25f3334f131d52982b3131aba77b97d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c35da2bac6f7cb9a9be73f188b4fcc324615c327 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report