CVE-2023-54310
In the Linux kernel, the following vulnerability has been resolved: scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition mptlan_probe() calls mpt_register_lan_device() which initializes the &priv->post_buckets_task workqueue. A call to mpt_lan_wake_post_buckets_task() will subsequently start the work. During driver unload in mptlan_remove() the following race may occur: CPU0 CPU1 |mpt_lan_post_receive_buckets_work() mptlan_remove() | free_netdev() | kfree(dev); | | | dev->mtu | //use Fix this by finishing the work prior to cleaning up in mptlan_remove(). [mkp: we really should remove mptlan instead of attempting to fix it]
Affected versions
Linux kernel versions
2.6.12
and later are affected. Fixed in
4.14.316,
4.19.284,
5.4.244,
5.10.181,
5.15.113,
6.1.30,
6.3.4,
6.4
and their respective stable series.
References
The following references provide additional information about CVE-2023-54310 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/410e610a96c52a7b41e2ab6c9ca60868d9acecce
-
PatchKernel patch commithttps://git.kernel.org/stable/c/48daa4a3015d859ee424948844ce3c12f2fe44e6
-
PatchKernel patch commithttps://git.kernel.org/stable/c/60c8645ad6f5b722615383d595d63b62b07a13c3
Frequently asked questions
-
What is CVE-2023-54310?
CVE-2023-54310 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 2.6.12 onward and has been patched in 4.14.316, 4.19.284, 5.4.244 and others. CVE-2023-54310 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2023-54310?
Yes — CVE-2023-54310 has been patched. Fixed versions include 4.14.316, 4.19.284, 5.4.244 and others. 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-54310 actively exploited?
No — CVE-2023-54310 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.