mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-28 18:48:49 +00:00
1.2 KiB
1.2 KiB
CVE-2024-50295
Description
In the Linux kernel, the following vulnerability has been resolved:net: arc: fix the device for dma_map_single/dma_unmap_singleThe ndev->dev and pdev->dev aren't the same device, use ndev->dev.parentwhich has dma_mask, ndev->dev.parent is just pdev->dev.Or it would cause the following issue:[ 39.933526] ------------[ cut here ]------------[ 39.938414] WARNING: CPU: 1 PID: 501 at kernel/dma/mapping.c:149 dma_map_page_attrs+0x90/0x1f8
POC
Reference
No PoCs from references.