CVE-2023-54324
In the Linux kernel, the following vulnerability has been resolved: dm: fix a race condition in retrieve_deps There's a race condition in the multipath target when retrieve_deps races with multipath_message calling dm_get_device and dm_put_device. retrieve_deps walks the list of open devices without holding any lock but multipath may add or remove devices to the list while it is running. The end result may be memory corruption or use-after-free memory access. See this description of a UAF with multipath_message(): https://listman.redhat.com/archives/dm-devel/2022-October/052373.html Fix this bug by introducing a new rw semaphore "devices_lock". We grab devices_lock for read in retrieve_deps and we grab it for write in dm_get_device and dm_put_device.
Affected versions
Linux kernel versions
2.6.12
and later are affected. Fixed in
6.1.56,
6.5.5,
6.6
and their respective stable series.
References
The following references provide additional information about CVE-2023-54324 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/38f6e5ae5d9ff4a4050ea6f7b543d5d5a4e087cf
-
PatchKernel patch commithttps://git.kernel.org/stable/c/dbf1a719850577bb51fc7512a3972994b797a17b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/f6007dce0cd35d634d9be91ef3515a6385dcee16
Frequently asked questions
-
What is CVE-2023-54324?
CVE-2023-54324 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 2.6.12 onward and has been patched in 6.1.56, 6.5.5 and 6.6. CVE-2023-54324 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2023-54324?
Yes — CVE-2023-54324 has been patched. Fixed versions include 6.1.56, 6.5.5 and 6.6. If you are running Linux kernel 2.6.12 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-54324 actively exploited?
No — CVE-2023-54324 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.