CVE-2023-53195

mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init

State
Published
Severity
Not scored
Published
Sep 15, 2025
Updated
May 11, 2026
Reserved
Sep 15, 2025

Read the record on cve.org

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().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 01328e23a476a47179b07125eabac439bc1d5fd3 to before d4f5b1dd816dccd4ee6bb60b2a81a3d4373636a9Affected
  • 01328e23a476a47179b07125eabac439bc1d5fd3 to before cd716022c968bc6748f23708b986f845b45791b7Affected
  • 01328e23a476a47179b07125eabac439bc1d5fd3 to before 08fc75735fda3be97194bfbf3c899c87abb3d0feAffected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 6.1.39 through 6.1.*Not affected
  • 6.4.4 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.