CVE-2023-53546 Details
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.
A memory leak vulnerability has been identified in the Linux kernel's handling of direct rule commands for Mellanox mlx5 devices. This issue arises in the 'mlx5dr_cmd_create_reformat_ctx' function, where the 'in' parameter's memory is not properly released if the 'mlx5_cmd_exec' command execution fails. The oversight leads to a memory leak, as the allocated memory is not freed. The vulnerability affects several versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. The specific commit that resolves this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/00cecb0a8f9e7a21754d5ad85813ab6b47b3308f | kernel.org | Patch |
| https://git.kernel.org/stable/c/165159854757dbae0dfd1812b27051da35aa6223 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3169c3854397f3070a63b1b772db16dcb8cba7b4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5dd77585dd9d0e03dd1bceb95f0269a7eaf6b936 | kernel.org | Patch |
| https://git.kernel.org/stable/c/622d71d99124e69f7bf2e2b7a89f5f444a24d235 | kernel.org | Patch |
| https://git.kernel.org/stable/c/800d8c96bf997da5eb76ccf8d88795c4231c83fb | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.4, < 5.4.253 >= 5.5, < 5.10.190 >= 5.11, < 5.15.126 >= 5.16, < 6.1.45 >= 6.2, < 6.4.10 6.5 rc1 6.5 rc2 6.5 rc3 6.5 rc4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Mar 21, 2026 | Modified Analysis | [email protected] |
| Feb 6, 2026 | Initial Analysis | [email protected] |
| Oct 4, 2025 | New CVE Received | kernel.org |