What’s Vulnerable › Vulnerabilities

CVE-2023-54169: net/mlx5e: fix memory leak in mlx5e_ptp_open

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: fix memory leak in mlx5e_ptp_open When kvzalloc_node or kvzalloc failed in mlx5e_ptp_open, the memory pointed by "c" or "cparams" is not freed, which can lead to a memory leak. Fix by freeing the array in the error path.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.5. Check the vendor advisory for mitigations.

References

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