CVE-2026-80805

xfs: validate attr entry pointer before field access

State
Published
Severity
Not scored
Published
Sep 4, 2026
Updated
Oct 19, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

Description

In 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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c84760659dcf237902d4cc997cd5f55cb3b2807f to before 0f82586741e39926542f621bafa424e237a04fa4Affected
  • c84760659dcf237902d4cc997cd5f55cb3b2807f to before 134d82a2b5e3eba3ebf58753a1387b22f26ca1deAffected
  • c84760659dcf237902d4cc997cd5f55cb3b2807f to before 03a12253dd2a036545bdb0110a4e0b8dc70f8e7cAffected
  • c84760659dcf237902d4cc997cd5f55cb3b2807f to before e99120b5944a16d0bc27e52b33de78bcdaaabf5cAffected
  • c84760659dcf237902d4cc997cd5f55cb3b2807f to before 98a42bb9d60d42898c3494de351a1bf508348cdeAffected
  • c84760659dcf237902d4cc997cd5f55cb3b2807f to before 184c1a80421a5b5ddcd262e47980ce2e67fee211Affected
  • c84760659dcf237902d4cc997cd5f55cb3b2807f to before 9f92e749fc08b7ff3d9da190c4d1b2273745b282Affected
  • c84760659dcf237902d4cc997cd5f55cb3b2807f to before c35da2bac6f7cb9a9be73f188b4fcc324615c327Affected
  • c84760659dcf237902d4cc997cd5f55cb3b2807f to before b7eea80be25f3334f131d52982b3131aba77b97dAffected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 5.10.267 through 5.10.*Not affected
  • 5.15.218 through 5.15.*Not affected
  • 6.1.185 through 6.1.*Not affected
  • 6.6.154 through 6.6.*Not affected
  • 6.12.106 through 6.12.*Not affected
  • 6.18.47 through 6.18.*Not affected
  • 7.1.11 through 7.1.*Not affected
  • 7.2.1 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.