CVE-2023-54238
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Mitigation and workarounds

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).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management