CVE-2023-53195
JSON

5.5medium

mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 01328e23a476a47179b07125eabac439bc1d5fd3 before d4f5b1dd816dccd4ee6bb60b2a81a3d4373636a9, from 01328e23a476a47179b07125eabac439bc1d5fd3 before cd716022c968bc6748f23708b986f845b45791b7, from 01328e23a476a47179b07125eabac439bc1d5fd3 before 08fc75735fda3be97194bfbf3c899c87abb3d0fe, 6.1
Not affected: before 6.1, from 6.1.39 up to 6.1.*, from 6.4.4 up to 6.4.*, from 6.5 up to *
CVE List
linux linux_kernelfrom 6.1 before 6.1.39, from 6.2 before 6.4.4NVD

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53195 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-53195 changed 2026-06-17Public domain