Description
In the Linux kernel, the following vulnerability has been resolved:

xfs: don't walk off the end of a null sc->sa.agi_bp in AGI repair

LOLLM noticed a longstanding bug where xrep_iunlink_walk_ondisk_bucket
tries to walk ragi->sc->sa.agi_bp to rebuild the unlinked inode lists.
Unfortunately, it's possible for agi_bp to be null if the buffer
verifier fails, so we have to use ragi->agi_bp (which skips verifier
checks) instead.
Published: 2026-08-26
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the XFS AGI repair routine of the Linux kernel. When the buffer verifier fails, the function xrep_iunlink_walk_ondisk_bucket may try to walk ragi->sc->sa.agi_bp while that pointer is null. Dereferencing a null pointer in kernel space results in a kernel crash, causing a complete denial of service for the affected system. The flaw does not provide privilege escalation or data exfiltration; its impact is limited to service interruption.

Affected Systems

All builds of the Linux kernel that include the XFS filesystem driver are potentially exposed, as the flaw is part of core XFS code. The advisory references commit hashes that fix the issue, meaning that any kernel release that incorporates those commits—usually the latest stable kernel versions—removes the problem. Systems running older kernels that have not yet applied the patch remain affected.

Risk and Exploitability

Based on the description, the CVSS and EPSS scores are not provided, and the flaw is not listed in the CISA KEV catalog. Based on the description, exploitation would require an attacker able to trigger an AGI repair operation or manipulate XFS metadata so that the buffer verifier fails. It is inferred that such actions would likely need local or privilege escalation. No publicly demonstrated exploit exists; however, a local attacker could induce a crash to interrupt services. Given the severity of a kernel null pointer dereference, the risk remains significant for systems that have not yet applied the fix.

Generated by OpenCVE AI on August 26, 2026 at 17:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that contains the XFS AGI repair fix, such as the latest stable release, or apply the patch directly from the commit URLs provided in the advisory.
  • Reboot the system after the kernel update so the patched code is loaded into memory and the vulnerable routine is no longer active.
  • If an immediate kernel upgrade cannot be performed, temporarily disable AGI repair features or avoid mounting the affected XFS filesystem. Running xfs_repair with the "-n" (no-write) option can prevent the crash until the patch can be applied.

Generated by OpenCVE AI on August 26, 2026 at 17:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Wed, 26 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfs: don't walk off the end of a null sc->sa.agi_bp in AGI repair LOLLM noticed a longstanding bug where xrep_iunlink_walk_ondisk_bucket tries to walk ragi->sc->sa.agi_bp to rebuild the unlinked inode lists. Unfortunately, it's possible for agi_bp to be null if the buffer verifier fails, so we have to use ragi->agi_bp (which skips verifier checks) instead.
Title xfs: don't walk off the end of a null sc->sa.agi_bp in AGI repair
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-08-26T14:37:09.785Z

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

Link: CVE-2026-80533

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T15:17:07.410

Modified: 2026-08-26T15:17:07.410

Link: CVE-2026-80533

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T17:45:03Z

Weaknesses