CVE-2024-43877 media: pci: ivtv: Add check for DMA map result
A missing check in the ivtv driver allows out-of-bounds access when DMA fails, potentially causing a kernel crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-43877?
CVE-2024-43877 is a high-severity vulnerability in Linux kernel, published on 21 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
media: pci: ivtv: Add check for DMA map result
In case DMA fails, 'dma->SG_length' is 0. This value is later used to access 'dma->SGarray[dma->SG_length - 1]', which will cause out of bounds access.
Add check to return early on invalid value. Adjust warnings accordingly.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Weakness: CWE-125
Which versions are affected by CVE-2024-43877?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-43877?
Apply the vendor's patch.
Is CVE-2024-43877 being exploited?
There is no known exploitation of CVE-2024-43877 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-43877, DEBIAN-CVE-2024-43877, GHSA-c6j3-5h93-cj2j, UBUNTU-CVE-2024-43877.