# CVE-2023-54169: net/mlx5e: fix memory leak in mlx5e_ptp_open

- Severity: not scored yet
- 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.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-12-30T12:08:44.089Z
- Modified: 2026-06-17T06:46:55.860Z
- Assigned by: Linux

## Description

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

net/mlx5e: fix memory leak in mlx5e_ptp_open

When kvzalloc_node or kvzalloc failed in mlx5e_ptp_open, the memory
pointed by "c" or "cparams" is not freed, which can lead to a memory
leak. Fix by freeing the array in the error path.

(As written by CVE List.)

## Affected

- Linux Linux: from 145e5637d941daec2e8d1ff21676cbf1aa62cf4d before 4892e1e548b5bd6524c1c89df06e4849df26fc20; from 145e5637d941daec2e8d1ff21676cbf1aa62cf4d before 83a8f7337a14cdb215c76a8f4cf3f3be8b59177d; from 145e5637d941daec2e8d1ff21676cbf1aa62cf4d before 7035e3ae600c4e9cb3dc220c24dd77112ddff8b1; from 145e5637d941daec2e8d1ff21676cbf1aa62cf4d before d543b649ffe58a0cb4b6948b3305069c5980a1fa; 5.11 (not affected: before 5.11; from 5.15.121 up to 5.15.*; from 6.1.40 up to 6.1.*; from 6.4.5 up to 6.4.*; from 6.5 up to *)

## References

- <https://git.kernel.org/stable/c/4892e1e548b5bd6524c1c89df06e4849df26fc20>
- <https://git.kernel.org/stable/c/83a8f7337a14cdb215c76a8f4cf3f3be8b59177d>
- <https://git.kernel.org/stable/c/7035e3ae600c4e9cb3dc220c24dd77112ddff8b1>
- <https://git.kernel.org/stable/c/d543b649ffe58a0cb4b6948b3305069c5980a1fa>

## Sources

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

---

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