{"id":"CVE-2024-43877","summary":"media: pci: ivtv: Add check for DMA map result","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: pci: ivtv: Add check for DMA map result\n\nIn case DMA fails, 'dma-\u003eSG_length' is 0. This value is later used to\naccess 'dma-\u003eSGarray[dma-\u003eSG_length - 1]', which will cause out of\nbounds access.\n\nAdd check to return early on invalid value. Adjust warnings accordingly.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","modified":"2026-11-17T07:03:00.360348365Z","published":"2024-08-21T00:06:29.330Z","related":["SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43877.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/24062aa7407091dee3e45a8e8037df437e848718"},{"type":"WEB","url":"https://git.kernel.org/stable/c/38f72c7e7c6b55614f9407555fd5ce9d019b0fa4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3d8fd92939e21ff0d45100ab208f8124af79402a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/629913d6d79508b166c66e07e4857e20233d85a9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81d0664bed91a858c7b50c263954b59d65f1b414"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c766065e8272085ea9c436414b7ddf1f12e7787b"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43877.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43877"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4551236b55e80b2c1720b10b77e9400118b2339e"},{"fixed":"38f72c7e7c6b55614f9407555fd5ce9d019b0fa4"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"66c8a83bf1de2eb3eea4734c7eda22255a965f11"},{"fixed":"81d0664bed91a858c7b50c263954b59d65f1b414"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1932dc2f4cf6ac23e48e5fcc24d21adbe35691d1"},{"fixed":"24062aa7407091dee3e45a8e8037df437e848718"},{"fixed":"3d8fd92939e21ff0d45100ab208f8124af79402a"},{"fixed":"c766065e8272085ea9c436414b7ddf1f12e7787b"},{"fixed":"629913d6d79508b166c66e07e4857e20233d85a9"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1b00b7335000c0e107f774cc8ee4d5340f824f28"}]}],"versions":["v5.4.302","v5.4.301"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43877.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.4.301"},{"fixed":"5.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.103"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.44"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.10.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43877.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}