CVE-2024-57843
Last modified
CVE-2024-57843 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 6.6.66 |
| Linux | Linux Kernel | >= 6.7, < 6.12.5 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-57843?
How severe is CVE-2024-57843?
How do I fix CVE-2024-57843?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-57834In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57835Amon2::Auth::Site::LINE uses the String::Random module to ge…5.5
- CVE-2024-57838In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-57839In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5784The Tutor LMS Pro plugin for WordPress is vulnerable to una…7.1
- CVE-2024-57841In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57844In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57849In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-5785Command injection vulnerability in Comtrend router WLD71-T1_…8
- CVE-2024-57850In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-57852In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57854Net::NSCA::Client versions through 0.009002 for Perl uses a …9.1
Are you affected by CVE-2024-57843?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
