CVE-2026-23157
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-23157 is a deadlock vulnerability in the Linux kernel's btrfs filesystem subsystem, described as "btrfs: do not strictly require dirty metadata threshold for metadata writepages." It affects Linux kernel versions 2.6.29 through 6.18.8, as well as release candidates for 6.19 (rc1–rc7). The vulnerability was published on February 14, 2026, with patches released on March 18, 2026. It carries a CVSS v3.1 base score of 5.5 (Medium) (Feedly, CVE.org).

Technical details

The root cause is classified as CWE-667 (Improper Locking), arising from a circular deadlock between btrfs's internal dirty metadata writeback threshold and Linux cgroup memory dirty limits. Btrfs maintains a hardcoded 32MB threshold before triggering writeback of btree inode pages; when a cgroup has a smaller dirty memory limit (e.g., 16MB), processes can accumulate dirty pages (e.g., 28MB) that exceed the cgroup limit but fall below the btrfs threshold. This creates a deadlock: btrfs refuses to write back pages until more dirty bytes accumulate, while the cgroup/memory management system blocks new pages from being dirtied until existing dirty pages are flushed. The attack vector is local (AV:L), requires low privileges (PR:L), and no user interaction, making it triggerable by any local process using btrfs within a memory-constrained cgroup (Feedly, git.kernel.org).

Impact

Successful triggering of this vulnerability causes a system-wide hang where over 1,000 processes can become stuck indefinitely in balance_dirty_pages() waiting for I/O that never completes. There is no confidentiality or integrity impact; the impact is entirely on availability (CVSS A:H). Affected systems may trigger kernel coredumps and require a forced reboot, resulting in complete service outages for any workloads relying on btrfs filesystems with cgroup memory limits (Feedly).

Indicators of compromise

  • Logs: Large numbers of processes in D (uninterruptible sleep) state visible via ps aux or top; kernel logs showing repeated balance_dirty_pages() or btrfs writeback-related messages; kernel coredump files generated on affected systems.
  • Process: Hundreds to thousands of processes stuck in io_schedule_timeout() within balance_dirty_pages(); btrfs btree inode access blocked indefinitely as seen in kernel stack traces (cat /proc/<pid>/wchan).
  • System Behavior: System becomes unresponsive to new I/O operations on btrfs-mounted filesystems; cgroup memory usage stalled near the dirty limit with no writeback progress observable via /proc/meminfo or cgroup memory statistics.

Mitigation and workarounds

The fix is available in Linux kernel version 6.18.9 and later, via patch commits 4e159150a9a56d66d247f4b5510bed46fe58aa1c and 629666d20c7dcd740e193ec0631fdff035b1f7d6 at git.kernel.org. Downstream distributions including SUSE, Debian, and Amazon Linux 2023 have issued updated kernel packages incorporating this fix (openSUSE Advisory, Amazon Linux, Debian Tracker). As a temporary workaround, increasing cgroup memory limits above the btrfs 32MB dirty metadata threshold may reduce the likelihood of triggering the deadlock, though upgrading the kernel is the definitive remediation (Feedly).

Community reactions

The vulnerability has been picked up by major Linux distribution security teams, with SUSE, Debian, and Amazon Linux all issuing kernel update advisories. Tenable's Nessus scanner has published multiple detection plugins (IDs 299067, 305231, 311299, 311783, 313522) for this CVE. No notable independent researcher commentary or significant social media discussion has been identified beyond standard distribution security announcements (Tenable, openSUSE Advisory).

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