External risk intelligence

Linux Kernel Btrfs Xattr Corruption Vulnerability

CVE advisorySeverity: CRITICAL (CVSS 9.8)

CVE-2026-98959

This vulnerability is located deep within the Btrfs filesystem implementation in the Linux kernel. It is triggered by specific local file system operations (setxattr) on a mounted filesystem. It does not represent a network-reachable service, interface, or protocol, and has no exposure to the public internet in standard deployment patterns.

Halo Surface Signal: 1 out of 5 — much less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This Linux kernel vulnerability impacts the Btrfs filesystem, potentially leading to data corruption if specific operations involving extended attributes are performed. While the issue is severe, its exploitation requires local access to a system running the affected filesystem, limiting its immediate external threat profile. The primary concern is confirming its relevance and exposure within our environments.

  • Filesystem corruption risk from specific attribute changes.
  • Matters due to potential for local data integrity loss.
  • Confirm relevance and assess local exposure.

Attack Path

How an attacker could exploit the issue

An attacker could corrupt a Linux filesystem by manipulating extended attributes (xattrs) on files within a Btrfs filesystem. This corruption occurs when an xattr's value is changed to a different size, leading to uninitialized data in the filesystem structure. This issue is triggered through local file operations and can result in filesystem corruption that is detected when the system attempts to write data.

  • Local access to a Btrfs filesystem required.
  • Triggered by changing extended attribute values.
  • Results in filesystem corruption.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could affect the integrity of data stored on a Btrfs filesystem when specific extended attribute (xattr) operations are performed. Under conditions where multiple xattrs share the same name hash, replacing one with a value of a different size may lead to filesystem corruption that is detected during buffer writeback.

  • Filesystem metadata could be corrupted.
  • Corruption may occur during specific xattr modifications.
  • Data integrity issues, filesystem errors.

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability affects the Linux kernel's Btrfs filesystem, specifically how extended attributes (xattrs) are handled. Teams responsible for managing storage infrastructure and core operating system components, such as infrastructure or platform teams, are likely to be involved. The immediate priority is to identify systems utilizing Btrfs, assess their business criticality, and determine ownership for remediation planning.

  • Identify Btrfs usage and ownership.
  • Verify system criticality and exposure.
  • Plan Btrfs updates or mitigation.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the Btrfs component in the Linux kernel context?

Btrfs is a copy-on-write filesystem designed for Linux to handle data storage, metadata, and fault tolerance. It manages file information through structures like dir_items, which organize data and extended attributes (xattrs) on the storage medium.

What is the vulnerability mechanism in CVE-2026-98959?

The issue involves improper memory initialization during xattr replacement. When multiple xattrs share a hash, replacing one with a differently sized value causes the filesystem to shift data into an uninitialized leaf section, failing to set mandatory fields like name length and transaction IDs, leading to corruption.

How is this filesystem corruption triggered?

The flaw is triggered locally when a user executes a setxattr operation on a file within a Btrfs filesystem where multiple extended attributes share the same crc32c hash. The corruption is not a network-based attack but a structural error that manifests during extent buffer writeback.

Is this kernel vulnerability relevant to public internet exposure?

No. According to the Halo Surface Signal, this vulnerability is very unlikely to be exposed to the internet. It is deeply embedded in local filesystem logic and requires local access to the mounted Btrfs filesystem to manipulate xattr settings.

How should teams respond to this filesystem defect?

Infrastructure teams should audit environments to identify systems actively using the Btrfs filesystem. Once identified, evaluate the business criticality of these systems to prioritize kernel updates or relevant patches to prevent potential data integrity loss.

References