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.
Published: 2026-09-04
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability exists in the XFS filesystem component of the Linux kernel. The routine xfs_attr3_leaf_verify_entry first reads the namelen and valuelen fields of an attribute entry before confirming the pointer is within the buffer limits. By crafting a nameidx that points close to the end of the buffer, an attacker can cause the kernel to read memory beyond the allocated region, exposing kernel data through out‑of‑bounds reads. The flaw does not immediately trigger a crash but can leak sensitive information that may aid further attacks.

Affected Systems

Affected systems are any Linux distributions using a kernel that has not yet incorporated the bounds check patch. The vulnerability targets the Linux kernel's XFS filesystem subsystem, specifically the xfs_attr3_leaf_verify_entry function. No specific kernel version range is listed in the CNA data, so all unpatched kernels are potentially vulnerable.

Risk and Exploitability

The CVSS score is not provided, and EPSS is unavailable, so the exact risk rating is unknown. Because the flaw is triggered by manipulating an XFS metadata structure, the attack vector is likely local or requires an attacker to have write access to a mounted XFS filesystem. Although the kernel later performs the end‑of‑buffer check, the premature read can reveal kernel memory contents, potentially aiding information‑disclosure or exploitation of other kernel bugs. The absence of a CISA KEV listing indicates that no widespread known exploits have been documented yet.

Generated by OpenCVE AI on September 4, 2026 at 17:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the added bounds checks in the XFS subsystem
  • If an upgrade is not yet possible, restrict or remove XFS support from the system, or limit write access to XFS devices to trusted users only
  • Monitor kernel logs for unexpected out‑of‑bounds reads or potential crashes, and apply additional hardening such as SELinux or AppArmor to constrain XFS‑related processes

Generated by OpenCVE AI on September 4, 2026 at 17:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-20

Fri, 04 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title xfs: validate attr entry pointer before field access
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-04T15:13:19.239Z

Reserved: 2026-08-26T14:34:25.794Z

Link: CVE-2026-80805

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T16:18:07.510

Modified: 2026-09-04T16:18:07.510

Link: CVE-2026-80805

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T19:30:04Z

Weaknesses