CVE-2023-53489
Linux Kernel vulnerability analysis and mitigation

Overview

A memory leak vulnerability was discovered in the Linux kernel affecting TCP/UDP socket handling with TX timestamps. The vulnerability (CVE-2023-53489) was disclosed on October 1, 2025, affecting the Linux kernel's networking subsystem. The issue occurs when using zerocopy skbs with TX timestamps, leading to memory leaks of socket and skb structures (NVD).

Technical details

The vulnerability stems from a circular dependency in memory management when handling zerocopy skbs with TX timestamps. When a socket is created with SOTIMESTAMPING and SOZEROCOPY options, and data is sent using MSGZEROCOPY, the system fails to properly release memory references. The issue involves msgzerocopyalloc() allocating an skb and setting reference counts, but due to improper handling in _skbtstamptx() and skbcopyubufs(), the final reference count is never released. This creates a circular dependency between the socket and its error queue, preventing proper cleanup (RedHat). The vulnerability has been assigned a CVSS v3.1 score of 5.5 with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Impact

The vulnerability results in memory leaks of socket (sk) and socket buffer (skb) structures. When exploited, it can lead to resource exhaustion over time as memory is not properly freed when sockets are closed. This particularly affects systems that frequently create and destroy sockets with specific timestamp and zerocopy options enabled (RedHat).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel by modifying the _skbtstamptx() function to ensure proper handling of zerocopy skbs. The fix involves calling skborphanfragsrx() for cloned skbs to properly manage reference counting and prevent memory leaks. System administrators should apply the latest kernel updates that include this fix (RedHat).

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-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-gcp-5.4
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-6.8
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 24, 2025

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