CVE-2023-54015

net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device

N/A
Published: December 24, 2025 at 10:55 AM UTC
Updated: June 17, 2026 at 06:46 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.0 ≤ v < 5.10.1815.0 ≤ v < 5.15.1145.0 ≤ v < 5.4.2445.0 ≤ v < 6.1.315.0 ≤ v < 6.3.55.0 ≤ v < 6.45.0fadd59fc50d010145f251db583c7ccef37393d19
Vendor states this is fixed in 1e755065368000205e6683fa924b2654e99f573b (fixed)
Vendor states this is fixed in 3dfc1004d9afbf689087ae1eafd88f55481984c7 (fixed)
Vendor states this is fixed in a3a516caef2c5be2f4d171890a8b3415bfab4e5e (fixed)
Vendor states this is fixed in af87194352cad882d787d06fb7efa714acd95427 (fixed)
Vendor states this is fixed in d4d10a6df1529b3f446cdada5c25e065f4712756 (fixed)
Vendor states this is fixed in eaa365c10459052cbe3e44caa4ad760cb93bd435 (fixed)
Vendor states this is fixed in 5.0 (unaffected)
Vendor states this is fixed in 5.10.181 (unaffected)
Vendor states this is fixed in 5.15.114 (unaffected)
Vendor states this is fixed in 5.4.244 (unaffected)
Vendor states this is fixed in 6.1.31 (unaffected)
Vendor states this is fixed in 6.3.5 (unaffected)
Vendor states this is fixed in 6.4 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card