๐Ÿ” CVE Alert

CVE-2024-57843

UNKNOWN 0.0

virtio-net: fix overflow inside virtnet_rq_alloc

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Jan 11, 2025
Last Updated May 11, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new unknown vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
295525e29a5b5694a6e96864f0c1365f79639863 < a8f7d6963768b114ec9644ff0148dde4c104e84b 295525e29a5b5694a6e96864f0c1365f79639863 < 67a11de8965c2ab19e215fb6651d44847e068614 295525e29a5b5694a6e96864f0c1365f79639863 < 6aacd1484468361d1d04badfe75f264fa5314864
Linux / Linux
6.6

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/a8f7d6963768b114ec9644ff0148dde4c104e84b git.kernel.org: https://git.kernel.org/stable/c/67a11de8965c2ab19e215fb6651d44847e068614 git.kernel.org: https://git.kernel.org/stable/c/6aacd1484468361d1d04badfe75f264fa5314864