# CVE-2023-53371: net/mlx5e: fix memory leak in mlx5e_fs_tt_redirect_any_create

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-02)
- Published: 2025-09-18T13:33:18.838Z
- Modified: 2026-06-17T06:45:07.817Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5e: fix memory leak in mlx5e_fs_tt_redirect_any_create

The memory pointed to by the fs->any pointer is not freed in the error
path of mlx5e_fs_tt_redirect_any_create, which can lead to a memory leak.
Fix by freeing the memory in the error path, thereby making the error path
identical to mlx5e_fs_tt_redirect_any_destroy().

(As written by CVE List.)

## Affected

- Linux Linux: from 0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 before 75df2fe6d160e16be880aacacd521b135d7177c9; from 0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 before 8a75a6f169c3df3a94802314aa61282772ac75b8; from 0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6 before 3250affdc658557a41df9c5fb567723e421f8bf2; 5.13 (not affected: before 5.13; from 6.1.40 up to 6.1.*; from 6.4.5 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 5.13 before 6.1.40; from 6.2 before 6.4.5; 6.5

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/75df2fe6d160e16be880aacacd521b135d7177c9> (patch)
- <https://git.kernel.org/stable/c/8a75a6f169c3df3a94802314aa61282772ac75b8> (patch)
- <https://git.kernel.org/stable/c/3250affdc658557a41df9c5fb567723e421f8bf2> (patch)

## Sources

- CVE List: [CVE-2023-53371](https://www.cve.org/CVERecord?id=CVE-2023-53371), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53371](https://nvd.nist.gov/vuln/detail/CVE-2023-53371), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53371 · Whole record: https://cve.day/CVE-2023-53371.json · Rebuilt by cve.day 2026-11-25T22:58:34.855Z
