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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 24.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-azure | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-gcp | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-gke | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-hwe-6.8 | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-ibm | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-intel | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-lowlatency | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-lowlatency-hwe-6.8 | < any | UNKNOWN |
git.kernel.org/linus/629913d6d79508b166c66e07e4857e20233d85a9 (6.11-rc1)
git.kernel.org/stable/c/24062aa7407091dee3e45a8e8037df437e848718
git.kernel.org/stable/c/3d8fd92939e21ff0d45100ab208f8124af79402a
git.kernel.org/stable/c/629913d6d79508b166c66e07e4857e20233d85a9
git.kernel.org/stable/c/c766065e8272085ea9c436414b7ddf1f12e7787b
launchpad.net/bugs/cve/CVE-2024-43877
nvd.nist.gov/vuln/detail/CVE-2024-43877
security-tracker.debian.org/tracker/CVE-2024-43877
www.cve.org/CVERecord?id=CVE-2024-43877