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

btrfs: scrub: fix local_root reference leak in scrub_print_warning_inode()

When paths_from_inode() fails, scrub_print_warning_inode() jumps to err
without dropping the reference taken by btrfs_get_fs_root(), leaking a
reference to the root every time path resolution fails while printing
scrub warnings. Every other error and success path of the function
drops the reference.

Drop the reference on the paths_from_inode() failure path too.
Published: 2026-10-23
Score: n/a
EPSS: n/a
KEV: No
Impact: Memory reference leak potentially leading to denial of service
Action: Apply Patch
AI Analysis

Impact

A bug was identified in the Linux kernel’s btrfs subsystem, specifically the scrub_print_warning_inode() function. When the helper paths_from_inode() fails during path resolution, the function jumps to an error handler without releasing a reference that was previously taken by btrfs_get_fs_root(). This causes a reference count to remain incremented for the filesystem root each time such a failure occurs. Over time, the accumulation of unreleased references can exhaust kernel resources, potentially leading to memory pressure and denial of service. No other error pathways in the function release the reference, making this a selective leak.

Affected Systems

The vulnerability impacts the Linux kernel, affecting all installations that use the btrfs file system. No specific kernel releases were enumerated in the advisory, so all current and future releases that contain the unpatched code are potentially affected.

Risk and Exploitability

The CVSS score and EPSS metric are not provided, and the vulnerability is not listed in CISA’s KEV catalog, indicating that it has not been widely exploited or observed in the wild. The attack vector is likely a local or privileged system interaction that triggers the scrub operation or causes path resolution failures during scrub warnings. Because the issue manifests during normal scrub activity, it could be triggered by legitimate usage under certain failure conditions, but no public exploit is known. The risk is considered moderate: if an attacker can repeatedly trigger scrub failures, resource exhaustion could occur, but requiring kernel-level access or system compromise to do so. Existing mitigations include applying a kernel update that resolves the reference leak.

Generated by OpenCVE AI on October 23, 2026 at 15:41 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the btrfs scrub_print_warning_inode fix
  • If a kernel update is not immediately possible, consider disabling or reducing the frequency of btrfs scrub operations to limit repeated reference leaks
  • Monitor kernel logs for scrub warnings and unexpected resource usage; reboot or reseat the filesystem if memory pressure is observed

Generated by OpenCVE AI on October 23, 2026 at 15:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Fri, 23 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: btrfs: scrub: fix local_root reference leak in scrub_print_warning_inode() When paths_from_inode() fails, scrub_print_warning_inode() jumps to err without dropping the reference taken by btrfs_get_fs_root(), leaking a reference to the root every time path resolution fails while printing scrub warnings. Every other error and success path of the function drops the reference. Drop the reference on the paths_from_inode() failure path too.
Title btrfs: scrub: fix local_root reference leak in scrub_print_warning_inode()
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-23T12:23:10.430Z

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

Link: CVE-2026-99067

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:30.583

Modified: 2026-10-23T13:17:30.583

Link: CVE-2026-99067

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T15:45:16Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime