# CVE-2023-54106: net/mlx5: fix potential memory leak in mlx5e_init_rep_rx

- 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-12-24T13:06:30.829Z
- Modified: 2026-06-17T06:46:48.707Z
- Assigned by: Linux

## Description

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

net/mlx5: fix potential memory leak in mlx5e_init_rep_rx

The memory pointed to by the priv->rx_res pointer is not freed in the error
path of mlx5e_init_rep_rx, which can lead to a memory leak. Fix by freeing
the memory in the error path, thereby making the error path identical to
mlx5e_cleanup_rep_rx().

(As written by CVE List.)

## Affected

- Linux Linux: from af8bbf7300686961f74e72e2dc10a76672603cb3 before 0582a3caaa3e2f7b80bcb113ad3c910eac15a63e; from af8bbf7300686961f74e72e2dc10a76672603cb3 before c265d8c2e25546a6b7ee16d36f2bb79b6160c2c3; from af8bbf7300686961f74e72e2dc10a76672603cb3 before c6cf0b6097bf1bf1b2a89b521e9ecd26b581a93a; 6.0 (not affected: before 6.0; from 6.1.45 up to 6.1.*; from 6.4.10 up to 6.4.*; from 6.5 up to *)

## References

- <https://git.kernel.org/stable/c/0582a3caaa3e2f7b80bcb113ad3c910eac15a63e>
- <https://git.kernel.org/stable/c/c265d8c2e25546a6b7ee16d36f2bb79b6160c2c3>
- <https://git.kernel.org/stable/c/c6cf0b6097bf1bf1b2a89b521e9ecd26b581a93a>

## Sources

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

---

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