CVE-2024-50295

net: arc: fix the device for dma_map_single/dma_unmap_single

State
Published
Severity
Not scored
Published
Nov 19, 2024
Updated
May 23, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f959dcd6ddfd29235030e8026471ac1b022ad2b0 to before 30606ea3fae57f8e9f2467415389e988e3c53a18Affected
  • f959dcd6ddfd29235030e8026471ac1b022ad2b0 to before 3898393b5483c8aa2efd7cb13aa70e22078ab022Affected
  • f959dcd6ddfd29235030e8026471ac1b022ad2b0 to before fd4e062fbc07156f8e9d73212d347c744572677eAffected
  • f959dcd6ddfd29235030e8026471ac1b022ad2b0 to before 8ed7a4a39c3f7cd9655af867e878fda512ae67adAffected
  • f959dcd6ddfd29235030e8026471ac1b022ad2b0 to before cd4706d9ac0d8d3bab8dc9e50cc1187f6cfa43ddAffected
  • f959dcd6ddfd29235030e8026471ac1b022ad2b0 to before 71803c1dfa29e0d13b99e48fda11107cc8caebc7Affected
  • 4e57482e8440fac7137832629109730ea4b267aaAffected
  • 5.9.2 to before 5.10Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.230 through 5.10.*Not affected
  • 5.15.172 through 5.15.*Not affected
  • 6.1.117 through 6.1.*Not affected
  • 6.6.61 through 6.6.*Not affected
  • 6.11.8 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.