Menu

Star on GitHub · 3.2k

CVE-2024-57843

9.8 · CRITICAL

In the Linux kernel, the following vulnerability has been resolved: virtio-net: fix overflow inside virtnet_rq_alloc When the frag just got a page, then may lead to regression on VM.

Published Jan 11, 2025CWE-191EPSS 0.41%

Overview

CVE-2024-57843 is a critical-severity vulnerability. It was published on January 11, 2025 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

virtio-net: fix overflow inside virtnet_rq_alloc

When the frag just got a page, then may lead to regression on VM.

Specially if the sysctl net.core.high_order_alloc_disable value is 1,

then the frag always get a page when do refill.

Which could see reliable crashes or scp failure (scp a file 100M in size

to VM).

The issue is that the virtnet_rq_dma takes up 16 bytes at the beginning

of a new frag. When the frag size is larger than PAGE_SIZE,

everything is fine. However, if the frag is only one page and the

total size of the buffer and virtnet_rq_dma is larger than one page, an

overflow may occur.

The commit f9dac92ba908 ("virtio_ring: enable premapped mode whatever

use_dma_api") introduced this problem. And we reverted some commits to

fix this in last linux version. Now we try to enable it and fix this

bug directly.

Here, when the frag size is not enough, we reduce the buffer len to fix

this problem.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-57843?

CVE-2024-57843 is a critical-severity vulnerability. It was published on January 11, 2025 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2024-57843?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-57843?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-57843?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-57843 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related CRITICAL CVEs from 2024

View all