Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 01328e23a476a47179b07125eabac439bc1d5fd3 to < d4f5b1dd816dccd4ee6bb60b2a81a3d4373636a9affected
  • 01328e23a476a47179b07125eabac439bc1d5fd3 to < cd716022c968bc6748f23708b986f845b45791b7affected
  • 01328e23a476a47179b07125eabac439bc1d5fd3 to < 08fc75735fda3be97194bfbf3c899c87abb3d0feaffected

Linux Linux

Default version status: affected

  • 6.1affected
  • 0 to < 6.1unaffected
  • 6.1.39 to ≤ 6.1.*unaffected
  • 6.4.4 to ≤ 6.4.*unaffected
  • 6.5 to ≤ *unaffected

References