{"id":"CVE-2023-53195","summary":"mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init\n\nThe line cards array is not freed in the error path of\nmlxsw_m_linecards_init(), which can lead to a memory leak. Fix by\nfreeing the array in the error path, thereby making the error path\nidentical to mlxsw_m_linecards_fini().","modified":"2026-04-02T09:43:46.988773Z","published":"2025-09-15T14:06:42.224Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53195.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/08fc75735fda3be97194bfbf3c899c87abb3d0fe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd716022c968bc6748f23708b986f845b45791b7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d4f5b1dd816dccd4ee6bb60b2a81a3d4373636a9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53195.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53195"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"01328e23a476a47179b07125eabac439bc1d5fd3"},{"fixed":"d4f5b1dd816dccd4ee6bb60b2a81a3d4373636a9"},{"fixed":"cd716022c968bc6748f23708b986f845b45791b7"},{"fixed":"08fc75735fda3be97194bfbf3c899c87abb3d0fe"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53195.json"}}],"schema_version":"1.7.5"}