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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-04 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2023-53546, DEBIAN-CVE-2023-53546
- Record: https://cvemate.com/vulnerability/CVE-2023-53546 · JSON: https://cvemate.com/vulnerability/CVE-2023-53546/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.166%, percentile 6.089%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 123)

- debian linux (Debian): \< 6.1.52-1 \| \< 6.4.11-1
- ubuntu linux (Ubuntu): \< 5.4.0-169.187 \| \< 5.15.0-88.98
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1116.126 \| \< 5.15.0-1049.54
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1049.54~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1116.126~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1116.126+fips1 \| All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1121.128 \| \< 5.15.0-1051.59
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1051.59~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## 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>
- <https://ubuntu.com/security/CVE-2023-53546>
- <https://www.cve.org/CVERecord?id=CVE-2023-53546>
- <https://git.kernel.org/linus/5dd77585dd9d0e03dd1bceb95f0269a7eaf6b936>
- <https://security-tracker.debian.org/tracker/CVE-2023-53546>

---

Data as of 2026-12-06T04:40:39.659Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
