Wiz Agents & Workflows are here

CVE-2024-56719
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-56719 affects the Linux kernel's network stack, specifically the STMMAC Ethernet driver. The vulnerability was discovered and disclosed on December 29, 2024, and involves a DMA API usage issue in the TSO (TCP Segmentation Offload) functionality. The affected versions include Linux kernel 5.15.171 up to 5.16, 6.1.116 up to 6.2, 6.6.60 up to 6.6.68, 6.11.7 up to 6.12.7, and release candidates 6.13-rc1 and 6.13-rc2 (NVD).

Technical details

The vulnerability stems from incorrect DMA cookie handling in the STMMAC driver's TSO implementation. A previous fix (commit 66600fac7a98) moved the assignment of tx_skbuff_dma[]'s members later in stmmac_tso_xmit(), but this caused issues when priv->dma_cap.addr64 > 32, as the 'des' value is offset by proto_hdr_len. The DMA API requires that the cookie passed to dma_unmap_single() matches the value returned from dma_map_single(). The vulnerability has a CVSS v3.1 base score of 5.5 (MEDIUM) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can cause system crashes and potential memory corruption. The issue manifests as DMA mapping failures with error messages such as 'Tx DMA map failed' and 'device driver tries to free DMA memory it has not allocated' when DMA_API_DEBUG is enabled (Kernel Patch).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel. The fix maintains 'des' as the original DMA cookie and introduces 'tso_des' to pass the offset DMA cookie to stmmac_tso_allocator(). The patch has been tested and confirmed to resolve the issue (Kernel Patch).

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-23395CRITICAL9.1
  • Linux KernelLinux Kernel
  • linux-xilinx-zynqmp
NoYesMar 25, 2026
CVE-2026-23399MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 28, 2026
CVE-2026-23398MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoYesMar 26, 2026
CVE-2026-23397MEDIUM4.4
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesMar 26, 2026
CVE-2026-31788N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel-matched
NoYesMar 25, 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