CVE-2023-54015

published 24 Dec 2025 · updated 11 May 2026

net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1e755065368000205e6683fa924b2654e99f573b, Kernel 3dfc1004d9afbf689087ae1eafd88f55481984c7, Kernel a3a516caef2c5be2f4d171890a8b3415bfab4e5e and 3 more.

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device In case devcom allocation is failed, mlx5 is always freeing the priv. However, this priv might have been allocated by a different thread, and freeing it might lead to use-after-free bugs. Fix it by freeing the priv only in case it was allocated by the running thread.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.0, >=fadd59fc50d010145f251db583c7ccef37393d19 <1e755065368000205e6683fa924b2654e99f573b, >=fadd59fc50d010145f251db583c7ccef37393d19 <3dfc1004d9afbf689087ae1eafd88f55481984c7, >=fadd59fc50d010145f251db583c7ccef37393d19 <a3a516caef2c5be2f4d171890a8b3415bfab4e5e, >=fadd59fc50d010145f251db583c7ccef37393d19 <af87194352cad882d787d06fb7efa714acd95427, >=fadd59fc50d010145f251db583c7ccef37393d19 <d4d10a6df1529b3f446cdada5c25e065f4712756, >=fadd59fc50d010145f251db583c7ccef37393d19 <eaa365c10459052cbe3e44caa4ad760cb93bd4351e755065368000205e6683fa924b2654e99f573b, 3dfc1004d9afbf689087ae1eafd88f55481984c7, a3a516caef2c5be2f4d171890a8b3415bfab4e5e, af87194352cad882d787d06fb7efa714acd95427, d4d10a6df1529b3f446cdada5c25e065f4712756, eaa365c10459052cbe3e44caa4ad760cb93bd435

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-54015 severity on Zeptric[![CVE-2023-54015](https://zeptric.io/badge/cve/CVE-2023-54015.svg)](https://zeptric.io/cve/CVE-2023-54015)