PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-98959 Linux CVE debrief

A vulnerability in the Linux kernel's btrfs filesystem implementation can lead to data corruption when replacing xattr values in a specific scenario. The issue arises when multiple xattrs are packed into the same btrfs_dir_item and one of them is replaced with a value of a different size. This can result in an improperly initialized btrfs_dir_item, which the tree checker will detect during extent buffer writeback, potentially causing issues with the filesystem's integrity.

Vendor
Linux
Product
Unknown
CVSS
CRITICAL 9.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-23
Original CVE updated
2026-10-24
Advisory published
2026-10-23
Advisory updated
2026-10-24

Who should care

Defenders responsible for Linux systems utilizing the btrfs filesystem, especially those with untrusted or semi-trusted workloads, should assess exposure and apply remediation as necessary. This includes verifying Linux kernel versions and applying patches or updates to affected systems.

Why it matters

A vulnerability in the Linux kernel's btrfs filesystem implementation can lead to data corruption when replacing xattr values in a specific scenario, requiring defenders to assess exposure and apply remediation.

  • Data corruption or integrity issues due to improperly initialized btrfs_dir_item
  • Potential filesystem issues or crashes during extent buffer writeback
  • Need for verification of Linux kernel versions and btrfs filesystem usage
  • Remediation priority for affected Linux systems

Technical summary

The vulnerability is caused by improper handling of xattr replacement in the btrfs filesystem implementation in the Linux kernel. When multiple xattrs are packed into the same btrfs_dir_item and one of them is replaced with a value of a different size, the resulting btrfs_dir_item may not be fully initialized, leading to potential data corruption. This issue can cause data corruption or integrity issues due to improperly initialized btrfs_dir_item, potential filesystem issues or crashes during extent buffer writeback, and requires verification of Linux kernel versions and btrfs filesystem usage for remediation.

Defensive priority

Defenders should prioritize assessing exposure and applying remediation for Linux systems utilizing the btrfs filesystem, especially those with untrusted or semi-trusted workloads. This involves verifying the Linux kernel version and applying patches or updates as necessary.

Recommended defensive actions

  • Assess exposure by verifying Linux kernel versions and btrfs filesystem usage
  • Apply patches or updates to affected Linux systems
  • Monitor for potential issues with btrfs filesystem integrity
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and associated source item provide details on the vulnerability, including a description of the issue, affected versions, and references to relevant commits. However, there is limited information on potential exploits or attacks in the wild.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-98959 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-98959

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-98959 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-98959

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • btrfs: fix xattr replace when multiple xattrs are packed in the same item

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/98xxx/CVE-2026-98959.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/7a53bb4668b319fc6c8a3ce2c21635125c7d2712

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/5877d7138cc4359d26fd7b010eedfd1b3162348f

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/a97114b9b00ed3d05156f3b2ddbf797296260389

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/c1803697a60f22743aa28ad522f805e92d45e3f0

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/858bee1c77857aabcc2327cd32dd8266332de332

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.