Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 4551236b55e80b2c1720b10b77e9400118b2339e before 38f72c7e7c6b55614f9407555fd5ce9d019b0fa4; affected 66c8a83bf1de2eb3eea4734c7eda22255a965f11 before 81d0664bed91a858c7b50c263954b59d65f1b414; affected 1932dc2f4cf6ac23e48e5fcc24d21adbe35691d1 before 24062aa7407091dee3e45a8e8037df437e848718; affected 1932dc2f4cf6ac23e48e5fcc24d21adbe35691d1 before 3d8fd92939e21ff0d45100ab208f8124af79402a; affected 1932dc2f4cf6ac23e48e5fcc24d21adbe35691d1 before c766065e8272085ea9c436414b7ddf1f12e7787b; affected 1932dc2f4cf6ac23e48e5fcc24d21adbe35691d1 before 629913d6d79508b166c66e07e4857e20233d85a9; affected 1b00b7335000c0e107f774cc8ee4d5340f824f28; affected 5.4.301 before 5.5 |
| Linux / Linux | affected 5.16; unaffected 0 before 5.16; unaffected 6.1.103 through 6.1.*; unaffected 6.6.44 through 6.6.*; unaffected 6.10.3 through 6.10.*; unaffected 6.11 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/38f72c7e7c6b55614f9407555fd5ce9d019b0fa4
- https://git.kernel.org/stable/c/81d0664bed91a858c7b50c263954b59d65f1b414
- https://git.kernel.org/stable/c/24062aa7407091dee3e45a8e8037df437e848718
- https://git.kernel.org/stable/c/3d8fd92939e21ff0d45100ab208f8124af79402a
- https://git.kernel.org/stable/c/c766065e8272085ea9c436414b7ddf1f12e7787b
- https://git.kernel.org/stable/c/629913d6d79508b166c66e07e4857e20233d85a9
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.