{"id":"CVE-2023-53195","aliases":["CVE-2023-53195"],"related":[],"kind":"vulnerability","state":"published","title":"mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"}],"published":"2025-09-15T14:06:42.224Z","modified":"2026-06-17T06:44:28.927Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"01328e23a476a47179b07125eabac439bc1d5fd3","fixed":"d4f5b1dd816dccd4ee6bb60b2a81a3d4373636a9","status":"affected"},{"type":"git","introduced":"01328e23a476a47179b07125eabac439bc1d5fd3","fixed":"cd716022c968bc6748f23708b986f845b45791b7","status":"affected"},{"type":"git","introduced":"01328e23a476a47179b07125eabac439bc1d5fd3","fixed":"08fc75735fda3be97194bfbf3c899c87abb3d0fe","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.1.39","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.4.4","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1","fixed":"6.1.39"},{"status":"affected","introduced":"6.2","fixed":"6.4.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d4f5b1dd816dccd4ee6bb60b2a81a3d4373636a9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd716022c968bc6748f23708b986f845b45791b7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08fc75735fda3be97194bfbf3c899c87abb3d0fe","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53195","url":"https://www.cve.org/CVERecord?id=CVE-2023-53195","licence":"CVE Terms of Use","modified":"2026-05-11T19:40:06.831Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53195","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53195","licence":"Public domain","modified":"2026-06-17T06:44:28.927Z"}],"updatedAt":"2026-11-25T22:58:34.768Z","epss":{"score":0.00163,"percentile":0.05783,"date":"2026-12-01T12:00:22.000Z"}}