CVE-2026-98269

btrfs: abort transaction on failure to update inode for hole punching and reflinking

Published Oct 6, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

btrfs: abort transaction on failure to update inode for hole punching and reflinking

If we fail to update the inode we error out without aborting the
transaction, which can result in a persistent inconsistency if after
the failure the transaction is committed, as we have dropped file
extent items from a range and either punched a hole or insert a new file
extent item for that range (for reflinks).

So add the missing transaction abort.

Analysis

AI-generated

Technical impact

When the btrfs filesystem attempts to update an inode during a hole‑punching operation or the creation of a reflink, a failure to write the inode is not handled properly; the transaction continues in progress instead of being aborted. As a result, extent items may be removed or inserted without corresponding inode updates, leading to a stale or corrupted in‑kernel metadata state that can be committed to disk, producing persistent file system inconsistencies.

Affected Systems

All Linux distributions that compile the core Linux kernel with btrfs filesystem support and enable hole punching or reflink features are at risk. The vulnerability exists in the kernel's btrfs transaction logic and is not limited to a specific kernel release, so any compiled btrfs module that includes the affected code path remains vulnerable until patched.

Risk and Exploitability

The likely attack vector is local: an actor who can write to a btrfs volume and initiate a hole‑punch or reflink operation—such as by creating, truncating, or copying a file—can trigger the flaw. The EPSS score is indicated as < 1 %, suggesting that, while low, the potential for exploitation is non‑zero. The CVSS score is 5.5. The vulnerability is not tracked in CISA’s KEV catalog, and the impact on data integrity is severe and could cause irreversible corruption if the error occurs during a transaction that successfully commits.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a revision that includes the transaction‑abort patch for btrfs hole punching and reflink errors.
  • If a kernel upgrade is not immediately available, consider disabling hole punching or reflink support by remounting the btrfs filesystem with any options that disable these features, if such options are available in the kernel.
  • After the patch or workaround is applied, run a btrfs filesystem consistency check (btrfs check) to detect and repair any corruption that may have already been introduced.

Generated by OpenCVE AI on October 11, 2026 at 06:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-640
Type Values Removed Values Added
Weaknesses CWE-390
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-640
Type Values Removed Values Added
Weaknesses CWE-665
Type Values Removed Values Added
Weaknesses CWE-665
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: btrfs: abort transaction on failure to update inode for hole punching and reflinking If we fail to update the inode we error out without aborting the transaction, which can result in a persistent inconsistency if after the failure the transaction is committed, as we have dropped file extent items from a range and either punched a hole or insert a new file extent item for that range (for reflinks). So add the missing transaction abort.
Title btrfs: abort transaction on failure to update inode for hole punching and reflinking
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-390

    Detection of Error Condition Without Action

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:16 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 6, 2026, 9:18 AM
Modified
Oct 19, 2026, 10:18 AM
Severity
Moderate
Public date
Oct 6, 2026, 12:00 AM