# CVE-2023-53195: mlxsw: minimal: fix potential memory leak in mlxsw\_m\_linecards\_init

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-09-15 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2023-53195, DEBIAN-CVE-2023-53195
- Record: https://cvemate.com/vulnerability/CVE-2023-53195 · JSON: https://cvemate.com/vulnerability/CVE-2023-53195/json

## Description

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

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.163%, percentile 5.718%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 87)

- debian linux (Debian): \< 6.1.52-1 \| \< 6.4.4-1
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-6.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-edge (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/d4f5b1dd816dccd4ee6bb60b2a81a3d4373636a9>
- <https://git.kernel.org/stable/c/cd716022c968bc6748f23708b986f845b45791b7>
- <https://git.kernel.org/stable/c/08fc75735fda3be97194bfbf3c899c87abb3d0fe>
- <https://ubuntu.com/security/CVE-2023-53195>
- <https://www.cve.org/CVERecord?id=CVE-2023-53195>
- <https://git.kernel.org/linus/08fc75735fda3be97194bfbf3c899c87abb3d0fe>
- <https://security-tracker.debian.org/tracker/CVE-2023-53195>

---

Data as of 2026-12-06T05:02:42.959Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
