CVE-2023-54324
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54324 is a race condition vulnerability in the Linux kernel's device mapper (DM) multipath subsystem, specifically in the retrieve_deps function. The flaw arises when retrieve_deps races with multipath_message calling dm_get_device and dm_put_device, potentially resulting in memory corruption or use-after-free (UAF) memory access. It affects Linux kernel versions from the initial commit (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) up to the patched releases in stable branches. The vulnerability was published on December 30, 2025, and carries an estimated CVSS severity of Medium with an EPSS score of 0.017% (Feedly, EUVD).

Technical details

The root cause is a classic time-of-check/time-of-use (TOCTOU) race condition (CWE-362) combined with a use-after-free (CWE-416) in the Linux kernel's DM multipath target. retrieve_deps iterates over the list of open devices without holding any lock, while concurrently multipath_message can invoke dm_get_device or dm_put_device to add or remove devices from that same list. This unsynchronized concurrent access can lead to the iterator referencing freed memory. The fix introduces a new read-write semaphore devices_lock: retrieve_deps acquires it for reading, while dm_get_device and dm_put_device acquire it for writing, eliminating the race (Feedly, Red Hat DM-devel).

Impact

Successful exploitation of this vulnerability can result in memory corruption or use-after-free conditions within the Linux kernel, potentially leading to a kernel panic (denial of service) or, in more severe scenarios, privilege escalation by a local attacker who can trigger the race condition. The vulnerability is confined to systems using the DM multipath target, which is common in enterprise storage environments. Exploitation requires local access and the ability to send multipath messages while dependency retrieval is in progress (Feedly).

Mitigation and workarounds

The fix has been backported to stable Linux kernel branches: version 6.1.56, 6.5.5, and 6.6. Users should update to these or later kernel versions to remediate the vulnerability (EUVD). The relevant patches are available at the upstream kernel stable repository commits dbf1a719850577bb51fc7512a3972994b797a17b, 38f6e5ae5d9ff4a4050ea6f7b543d5d5a4e087cf, and f6007dce0cd35d634d9be91ef3515a6385dcee16. As a temporary workaround where patching is not immediately possible, restricting local user access to multipath management interfaces (e.g., limiting multipathd and dmsetup privileges) can reduce exposure.

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