CVE-2023-54015

Source
https://cve.org/CVERecord?id=CVE-2023-54015
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54015.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-54015
Downstream
Related
Published
2025-12-24T10:55:47.030Z
Modified
2026-03-11T07:51:27.957566Z
Summary
net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device
Details

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: Devcom, fix error flow in mlx5devcomregister_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54015.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fadd59fc50d010145f251db583c7ccef37393d19
Fixed
3dfc1004d9afbf689087ae1eafd88f55481984c7
Fixed
d4d10a6df1529b3f446cdada5c25e065f4712756
Fixed
1e755065368000205e6683fa924b2654e99f573b
Fixed
eaa365c10459052cbe3e44caa4ad760cb93bd435
Fixed
a3a516caef2c5be2f4d171890a8b3415bfab4e5e
Fixed
af87194352cad882d787d06fb7efa714acd95427

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54015.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.0.0
Fixed
5.4.244
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.181
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.114
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.31
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.3.5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54015.json"