CVE-2026-80805 xfs: validate attr entry pointer before field access
An out-of-bounds read in the XFS filesystem allows attackers to cause a denial of service or read sensitive memory.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-80805?
CVE-2026-80805 is a memory corruption vulnerability in Linux, published on 4 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-80805?
How do I fix CVE-2026-80805?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-80805 being exploited?
There is no known exploitation of CVE-2026-80805 in the wild and no public exploit code.
Sources
Also known as AZL-99516, BELL-CVE-2026-80805, DEBIAN-CVE-2026-80805, GHSA-m3h7-xg69-2hcv, UBUNTU-CVE-2026-80805.