CVE-2026-143378
Received Received - Intake

Double Free in Linux Kernel Btrfs Zoned Mode

Vulnerability report for CVE-2026-143378, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: fix double free of bitmaps on clone failure btrfs_clone_dev_zone_info() duplicates the original orig_dev->zone_info with kmemdup(), which also copies the seq_zones, empty_zones and active_zones pointers. The clone then replaces them one by one with fresh bitmaps. If one of the allocations fails, the error path frees all three pointers, including those not yet replaced, which still point to the bitmaps owned by the original device. Clear the three pointers right after kmemdup() so the error path only frees what this function allocated.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a double free issue in the Btrfs filesystem's zoned mode. When cloning device zone information, the function btrfs_clone_dev_zone_info() duplicates pointers to bitmaps using kmemdup(). If an allocation fails during the replacement of these pointers with new bitmaps, the error handling frees all original pointers, including those still pointing to the original device's bitmaps, causing a double free.

Detection Guidance

This vulnerability is specific to the Linux kernel's Btrfs filesystem in zoned mode. Detection requires checking kernel logs for Btrfs-related errors or examining the kernel version for affected releases. Use 'dmesg | grep btrfs' to check for Btrfs errors. Verify kernel version with 'uname -r'. If you are running a vulnerable kernel version, the issue may be present.

Impact Analysis

This vulnerability could lead to kernel memory corruption or crashes if exploited, potentially causing system instability or denial of service. It may also allow local attackers to escalate privileges or access sensitive data, depending on the system configuration.

Mitigation Strategies

Update the Linux kernel to a patched version where this issue is resolved. Check your distribution's security updates or kernel release notes for the fix. If updating is not immediately possible, avoid using Btrfs in zoned mode until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143378. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...