CVEvulnerability

CVE-2024-50295

5.5 MEDIUM Published 2024-11-19 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2024-11-19
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Description

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

Affected configurations

• linux linux kernel (>= 5.9.2 < 5.10.230) • linux linux kernel (>= 5.11 < 5.15.172) • linux linux kernel (>= 5.16 < 6.1.117) • linux linux kernel (>= 6.2 < 6.6.61) • linux linux kernel (>= 6.7 < 6.11.8) • linux linux kernel 6.12

References