
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-54238 is a memory leak vulnerability in the Linux kernel's mlx5 (Mellanox ConnectX) network driver, specifically in the SKB (socket buffer) handling during PTP (Precision Time Protocol) FIFO resync operations. The vulnerability was published on December 30, 2025, and affects Linux kernel versions starting from 6.0 up to the patched releases (6.1.18, 6.2.5, and 6.3). Two distinct bugs contribute to the leak: SKBs popped from the FIFO during resync are never freed, and a type promotion error in mlx5e_skb_fifo_has_room() causes incorrect counter comparisons. No CVSS score has been assigned (base score 0.0), and the EPSS score is approximately 0.024% (Feedly, ENISA EUVD).
The root cause involves two related memory management defects in the mlx5e driver's PTP FIFO path (CWE-401: Missing Release of Memory after Effective Lifetime). First, during PTP resync, SKBs are popped from the FIFO but neither napi_consume_skb() nor dev_kfree_skb_any() is called, causing a persistent memory leak. Second, mlx5e_skb_fifo_has_room() compares two u16 free-running counters, but C's implicit integer promotion widens the subtraction result to a signed int, producing a negative value when the producer counter has wrapped around but the consumer has not — leading to incorrect room-availability checks and further leaks. The fix adds a call to napi_consume_skb() for proper SKB release and applies an explicit u16 cast to the subtraction to prevent type promotion errors (Feedly).
The primary impact is a kernel memory leak affecting systems running mlx5-based Mellanox/NVIDIA network adapters with PTP enabled. Over time, unreleased SKBs exhaust kernel memory, potentially degrading network performance and system stability, and could lead to a denial-of-service condition on affected hosts. There is no known confidentiality or integrity impact; the vulnerability is limited to availability through resource exhaustion (Feedly, ENISA EUVD).
The Linux kernel maintainers have released patches addressing both issues. Fixed versions include Linux 6.1.18, 6.2.5, and 6.3. Administrators should update their kernel to one of these patched versions or any later stable release. As a workaround, disabling PTP hardware timestamping on mlx5 interfaces may reduce exposure, though upgrading the kernel is the recommended remediation (Feedly, ENISA EUVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."