{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "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->SG_length' is 0. This value is later used to\naccess 'dma->SGarray[dma->SG_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."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/media/pci/ivtv/ivtv-udma.c",
                  "drivers/media/pci/ivtv/ivtv-yuv.c",
                  "drivers/media/pci/ivtv/ivtvfb.c"
               ],
               "versions": [
                  {
                     "version": "1932dc2f4cf6",
                     "lessThan": "24062aa74070",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1932dc2f4cf6",
                     "lessThan": "3d8fd92939e2",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1932dc2f4cf6",
                     "lessThan": "c766065e8272",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1932dc2f4cf6",
                     "lessThan": "629913d6d795",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/media/pci/ivtv/ivtv-udma.c",
                  "drivers/media/pci/ivtv/ivtv-yuv.c",
                  "drivers/media/pci/ivtv/ivtvfb.c"
               ],
               "versions": [
                  {
                     "version": "5.16",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "5.16",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.103",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.44",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.10.3",
                     "lessThanOrEqual": "6.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.11",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/24062aa7407091dee3e45a8e8037df437e848718"
            },
            {
               "url": "https://git.kernel.org/stable/c/3d8fd92939e21ff0d45100ab208f8124af79402a"
            },
            {
               "url": "https://git.kernel.org/stable/c/c766065e8272085ea9c436414b7ddf1f12e7787b"
            },
            {
               "url": "https://git.kernel.org/stable/c/629913d6d79508b166c66e07e4857e20233d85a9"
            }
         ],
         "title": "media: pci: ivtv: Add check for DMA map result",
         "x_generator": {
            "engine": "bippy-c9c4e1df01b2"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-43877",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
