CVE-2023-54121
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54121 is a vulnerability in the Linux kernel's Btrfs filesystem subsystem, specifically an incorrect splitting bug in the btrfs_drop_extent_map_range() function. The flaw causes an arithmetic error when calculating the len variable after skipping a pinned extent, resulting in an invalid or overlapping extent map entry being inserted into the extent map tree. It was published on December 24, 2025, and affects the Linux kernel across multiple stable branches. The CVSS score and severity rating have not been publicly assigned at this time (Feedly, CVE.org).

Technical details

The root cause is an off-by-one arithmetic error (CWE-682: Incorrect Calculation) in btrfs_drop_extent_map_range() within the Linux kernel's Btrfs extent map handling code. When skip_pinned == true and a pinned extent is encountered, the code incorrectly updates the len variable as start + len - em_end instead of the correct end - em_end, causing len to retain an inflated value. When the next non-pinned extent (e.g., [32K, 48K)) is subsequently processed and needs to be split, the split extent's start and len fields are computed using the incorrect len, resulting in split->start pointing beyond the actual extent end (e.g., 52K instead of 36K), which triggers integer underflow in split->len. This produces an invalid extent map that may overlap other entries in the tree, triggering WARN_ON() assertions observed in production environments (Feedly).

Impact

Exploitation of this vulnerability can corrupt the Btrfs extent map tree, leading to kernel warnings (WARN_ON()), potential filesystem inconsistencies, and system instability. In the worst case, the corrupted extent map could cause data integrity issues or kernel panics, impacting availability of the affected system. The vulnerability is local in nature and primarily affects systems using the Btrfs filesystem under workloads that trigger extent map range drops with pinned extents (Feedly).

Mitigation and workarounds

The fix has been committed to multiple Linux kernel stable branches via patches available at the kernel.org stable repository (commits 9f68e21, b43a4c9, and c962098). Users should update to a patched kernel version that includes the fix for btrfs_drop_extent_map_range(). As a workaround, systems not requiring Btrfs can avoid the issue by using an alternative filesystem. Administrators should monitor kernel update channels for their distribution and apply the relevant stable kernel update as soon as it becomes available (Feedly, Kernel Patch 1, Kernel Patch 2, Kernel Patch 3).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management