Bug 2424936 (CVE-2023-54015) - CVE-2023-54015 kernel: net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device
Summary: CVE-2023-54015 kernel: net/mlx5: Devcom, fix error flow in mlx5_devcom_regist...
Keywords:
Status: NEW
Alias: CVE-2023-54015
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-24 12:01 UTC by OSIDB Bzimport
Modified: 2025-12-25 14:42 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 12:01:54 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.