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

xfs: fix wild memcpy access when formatting ondisk rtrefcount btree roots

LOLLM noticed that the inode btree root formatting methods copy too many
bytes -- there's only one set of keys in node blocks, not two. This
causes memory corruption of whatever's beyond the buffers.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Memory corruption in the XFS filesystem
Action: Apply kernel patch
AI Analysis

Impact

The bug in the Linux kernel involves an overly large memcpy operation when formatting on‑disk rtrefcount btree roots. Because only one set of keys exist in node blocks, the code copies more bytes than the buffer can hold, corrupting adjacent memory. This memory corruption can lead to silent data loss, kernel crashes, or potentially arbitrary code execution if an attacker can control the contents of the buffer or the surrounding memory.

Affected Systems

The vulnerability is present in all Linux kernel releases that include the XFS filesystem before the patch was applied. Affected vendors are Linux distributions that ship the upstream kernel. Users should check their kernel version against the commit that introduced the fix – the referenced commits in the advisory provide the exact change and its location in the code tree.

Risk and Exploitability

No EPSS score is available and the flaw is not listed in CISA KEV, so the public explosion data is limited. The flaw is a local kernel reliability issue that requires privileged access to a system running the affected kernel. Based on the description, the attack vector is inferred to be local and may be triggered by normal XFS filesystem creation or modification operations. If exploited, the memory corruption could allow an attacker with local access to gain elevated privileges or crash the system.

Generated by OpenCVE AI on October 18, 2026 at 16:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the patch from the referenced commits
  • Reboot the system to ensure the patched kernel is actively running
  • If an upgrade is not immediately possible, avoid performing any XFS filesystem formatting operations until the patch is applied
  • Consider disabling XFS if it is not required for critical workloads and monitor kernel logs for any signs of memory corruption or crashes

Generated by OpenCVE AI on October 18, 2026 at 16:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfs: fix wild memcpy access when formatting ondisk rtrefcount btree roots LOLLM noticed that the inode btree root formatting methods copy too many bytes -- there's only one set of keys in node blocks, not two. This causes memory corruption of whatever's beyond the buffers.
Title xfs: fix wild memcpy access when formatting ondisk rtrefcount btree roots
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-10-18T15:14:57.561Z

Reserved: 2026-09-25T10:25:14.349Z

Link: CVE-2026-98447

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:16:55.037

Modified: 2026-10-18T16:16:55.037

Link: CVE-2026-98447

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T03:00:08Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer