CVE-2024-57843
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-57843 is a buffer overflow vulnerability discovered in the Linux kernel's virtio-net driver, specifically in the virtnet_rq_alloc function. The vulnerability was disclosed on January 11, 2025, affecting the virtual network interface implementation. The issue occurs when a fragment receives a single page allocation, particularly when the sysctl net.core.high_order_alloc_disable value is set to 1 (NVD).

Technical details

The vulnerability stems from the virtnet_rq_dma structure occupying 16 bytes at the beginning of a new fragment. While this arrangement works correctly when the fragment size exceeds PAGE_SIZE, an overflow condition can occur when the fragment is limited to a single page and the combined size of the buffer and virtnet_rq_dma exceeds one page. This issue was introduced by commit f9dac92ba908 ('virtio_ring: enable premapped mode whatever use_dma_api') (Kernel Commit).

Impact

The vulnerability can lead to system instability and functionality issues in virtual machines. Specifically, it can cause reliable crashes and file transfer failures, such as SCP failures when transferring files around 100MB in size to virtual machines (Kernel Commit).

Mitigation and workarounds

The issue has been resolved by modifying the buffer length calculation in the virtio-net driver. When the fragment size is insufficient, the buffer length is reduced to prevent the overflow condition. This fix has been implemented directly rather than reverting previous commits (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-71142N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-nvidia-6.14
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • linux-oracle-6.14
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-devel
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug-devel
NoYesJan 14, 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