CVE-2023-54169
kernel: net/mlx5e: fix memory leak in mlx5e_ptp_open
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 30, 2025
Updated · June 30, 2026
Description
A flaw was found in the Linux kernel net/mlx5e Ethernet driver’s mlx5e_ptp_open function. When memory allocation via kvzalloc_node() or kvzalloc() fails, previously allocated resources (c or cparams) were not properly freed, leading to a memory leak in the error path. An unprivileged local user interacting with the networking subsystem might trigger this condition, causing gradual memory consumption.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 6.2CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-401 · Missing Release of Memory after Effective Lifetime