CVE-2024-43877
media: pci: ivtv: Add check for DMA map result
Check your servers for CVE-2024-43877
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-43877 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4551236b55e80b2c1720b10b77e9400118b2339e, before 38f72c7e7c6b55614f9407555fd5ce9d019b0fa4 affected from 66c8a83bf1de2eb3eea4734c7eda22255a965f11, before 81d0664bed91a858c7b50c263954b59d65f1b414 affected from 1932dc2f4cf6ac23e48e5fcc24d21adbe35691d1, before 24062aa7407091dee3e45a8e8037df437e848718 affected from 1932dc2f4cf6ac23e48e5fcc24d21adbe35691d1, before 3d8fd92939e21ff0d45100ab208f8124af79402a affected from 1932dc2f4cf6ac23e48e5fcc24d21adbe35691d1, before c766065e8272085ea9c436414b7ddf1f12e7787b affected from 1932dc2f4cf6ac23e48e5fcc24d21adbe35691d1, before 629913d6d79508b166c66e07e4857e20233d85a9 affected 1b00b7335000c0e107f774cc8ee4d5340f824f28 affected from 5.4.301, before 5.5
Other versions: unaffected
|
| Linux |
affected 5.16 unaffected before 5.16 unaffected from 6.1.103 up to and including 6.1.* unaffected from 6.6.44 up to and including 6.6.* unaffected from 6.10.3 up to and including 6.10.* unaffected 6.11 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-43877 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-43877
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-43877
trivy image --scanners vuln IMAGE | grep CVE-2024-43877
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/38f72c7e7c6b55614f9407555fd5ce9d019b0fa4 git.kernel.org
- https://git.kernel.org/stable/c/81d0664bed91a858c7b50c263954b59d65f1b414 git.kernel.org
- https://git.kernel.org/stable/c/24062aa7407091dee3e45a8e8037df437e848718 git.kernel.org
- https://git.kernel.org/stable/c/3d8fd92939e21ff0d45100ab208f8124af79402a git.kernel.org
- https://git.kernel.org/stable/c/c766065e8272085ea9c436414b7ddf1f12e7787b git.kernel.org
- https://git.kernel.org/stable/c/629913d6d79508b166c66e07e4857e20233d85a9 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-43877 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse