CVE-2023-54227
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54227 is a memory resource leak vulnerability in the Linux kernel's block multi-queue (blk-mq) subsystem, specifically in the tag management logic when shrinking the number of hardware queues (nr_hw_queues). When the number of hardware queues is reduced, the kernel correctly avoids reallocating set->tags[], but fails to free the tags associated with the removed queues, resulting in a memory leak. The vulnerability was published on December 30, 2025, and affects Linux kernel versions prior to the fixes introduced in stable commits targeting the 6.5.5 and 6.6 patch series. Feedly estimates the severity as Medium, with an EPSS score of 0.00018 (Feedly, EUVD).

Technical details

The root cause is a missing deallocation path in the blk-mq subsystem (CWE-401: Missing Release of Memory after Effective Lifetime). When nr_hw_queues is shrunk, the code path responsible for resizing the tag set does not free the tags for queues that are being removed — only the tags for the remaining queues are freed upon device teardown. The bug can be reproduced by loading the null_blk driver with multiple submit queues, powering on the device, reducing the queue count, and then removing the device; the tags allocated for the original (larger) queue count are never freed. Fixes were applied via two stable kernel commits: c0ef7493e68b (targeting the 6.5.5 series) and e1dd7bc93029 (targeting the 6.6 series) (Feedly, Kernel Stable c0ef, Kernel Stable e1dd).

Impact

The primary impact of CVE-2023-54227 is a kernel memory leak, which can gradually exhaust available memory resources on affected systems over time, particularly in environments where block device queue counts are dynamically adjusted. This can degrade system performance and, in extreme cases, contribute to denial-of-service conditions due to memory exhaustion. There is no known confidentiality or integrity impact, and the vulnerability does not enable remote code execution or privilege escalation (Feedly).

Mitigation and workarounds

Apply the upstream Linux kernel patches that resolve this issue: commit c0ef7493e68b8896806a2f598fcffbaa97333405 for the 6.5.x stable series and commit e1dd7bc93029024af5688253b0c05181d6e01f8e for the 6.6 stable series. Linux distribution maintainers (e.g., Red Hat, Ubuntu, SUSE) should be monitored for backported fixes in their respective kernel packages. As a workaround, avoid dynamically reducing nr_hw_queues on block devices in production environments until a patched kernel is deployed (Kernel Stable c0ef, Kernel Stable e1dd).

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