CVE-2026-89645

Description

A flaw was found in the btrfs file system in the Linux kernel. During relocation recovery, if an error occurs, such as a memory allocation failure, the system may not properly drop references to relocation roots. This oversight can lead to resource exhaustion, potentially allowing a local attacker to cause a denial of service (DoS) by making the system unresponsive or unstable.

Statement

A low impact denial of service flaw was found in the btrfs file system in the Linux kernel. During relocation recovery, if loading or adding a later root fails, or if the first transaction commit fails (for example, due to a memory allocation error), btrfs_recover_relocation() exits without clearing fs_root->reloc_root pointers or dropping the references owned by those pointers. Because mount-time cleanup only drops these references when the file system error flag is set, a failed recovery can leave references to relocation roots behind, leading to kernel resource exhaustion. A local attacker who can trigger an error during btrfs relocation recovery could exploit this to cause a denial of service, making the system unresponsive or unstable; there is no impact on confidentiality or integrity. Red Hat Enterprise Linux 10, Red Hat In-Vehicle OS 2, and OpenShift Container Platform 5 are affected, and the fix for these streams is currently deferred; the residual risk is limited to local availability, consistent with the low impact rating. Red Hat Enterprise Linux 7, 8, and 9 and OpenShift Container Platform 4 are not affected because the vulnerable code is not present in those kernel versions.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.5N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)

If an adversary can prevent a reference count from reaching zero, then resources might not be released when they are supposed to, thus causing resources to become scarce for future needs.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If an adversary can cause a reference count to reach zero when the resource is still in use, then a resource might be released before it is supposed to be, possibly forcing an error that causes the product to crash or exit out of its current operation.

Frequently Asked Questions

Want to get errata notifications? Sign up here.