What’s Vulnerable › Vulnerabilities

CVE-2023-53546: net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.190, 5.15.126, 5.4.253, 6.1.45. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-53546 or the next vulnerability affects your stack