CVE-2023-54015 Details
Description
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.
A use-after-free vulnerability has been identified in the Linux kernel's net/mlx5 component, specifically within the device communication registration process. This issue arises when the allocation of a private structure (priv) fails. The mlx5 driver automatically frees the priv, which may have been allocated by a different thread. This improper handling can lead to use-after-free bugs. The vulnerability affects the Linux kernel stable group.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. The specific commit that resolves this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1e755065368000205e6683fa924b2654e99f573b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/3dfc1004d9afbf689087ae1eafd88f55481984c7 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a3a516caef2c5be2f4d171890a8b3415bfab4e5e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/af87194352cad882d787d06fb7efa714acd95427 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/d4d10a6df1529b3f446cdada5c25e065f4712756 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/eaa365c10459052cbe3e44caa4ad760cb93bd435 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Mellanox mlx5 | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion