CVE-2024-50295

net: arc: fix the device for dma_map_single/dma_unmap_single

published November 19, 2024

CVSS
—
EPSS
0%
Percentile
13.0
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

net: arc: fix the device for dma_map_single/dma_unmap_single

The ndev->dev and pdev->dev aren't the same device, use ndev->dev.parent

which 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

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00229 · 13.0th percentile
Published
2024-11-19T01:30Z
EPSS history
Timeline
  • 19 NOV 01:30Z
    net: arc: fix the device for dma_map_single/dma_unmap_single
    cvelistv5