CVE-2024-56788
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-56788 is a race condition vulnerability discovered in the Linux kernel's ethernet driver (oatc6) affecting the transmission (tx) SKB (socket buffer) reference pointers. The vulnerability was disclosed on January 11, 2025, and affects the network stack's packet handling mechanism. The issue specifically occurs in the interaction between two SKB pointers: waitingtxskb and ongoingtx_skb, which are used to manage network packet transmission (NVD).

Technical details

The vulnerability stems from a race condition between two threads handling SKB pointers in the ethernet driver. The issue occurs when the SPI thread processes an ongoingtxskb and moves the next SKB from waitingtxskb pointer to ongoingtxskb pointer without proper NULL checking. This can lead to a scenario where both pointers become NULL, causing subsequent pointer overwrites. The technical implementation involves the management of tx_credits and the handling of transmission chunks (TXCs) in the network stack (Kernel Commit).

Impact

The vulnerability can result in packet loss and memory leaks in the affected systems. When exploited, one of the tx SKBs can be left unhandled, leading to missing network packets and potential resource exhaustion (NVD).

Mitigation and workarounds

The issue has been fixed by implementing proper protection mechanisms for the tx SKB reference handling. The fix includes adding a spinlock (txskblock) to protect the moving of tx SKB references between pointers and the assignment of new SKBs. This ensures thread-safe access to the waitingtxskb pointer until the current thread completes moving the SKB reference safely (Kernel Commit).

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-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 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