What’s Vulnerable › Vulnerabilities

CVE-2023-53195: mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init

Description

In the Linux kernel, the following vulnerability has been resolved: mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init The line cards array is not freed in the error path of mlxsw_m_linecards_init(), which can lead to a memory leak. Fix by freeing the array in the error path, thereby making the error path identical to mlxsw_m_linecards_fini().

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.39, 6.4.4. Check the vendor advisory for mitigations.

References

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