CVE Database›Document archive›CVE-2023-54015

CVE-2023-54015

kernel: net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device

Loading…

Severity

Moderate

Red Hat Product Security

5.7

CVSS 3.1

Review impact separately from score.

Published · December 24, 2025

Updated · July 22, 2026

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.7
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H

CWE-364 · Signal Handler Race Condition