CVE-2024-50295
net: arc: fix the device for dma_map_single/dma_unmap_single
Check your servers for CVE-2024-50295
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-50295 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f959dcd6ddfd29235030e8026471ac1b022ad2b0, before 30606ea3fae57f8e9f2467415389e988e3c53a18 affected from f959dcd6ddfd29235030e8026471ac1b022ad2b0, before 3898393b5483c8aa2efd7cb13aa70e22078ab022 affected from f959dcd6ddfd29235030e8026471ac1b022ad2b0, before fd4e062fbc07156f8e9d73212d347c744572677e affected from f959dcd6ddfd29235030e8026471ac1b022ad2b0, before 8ed7a4a39c3f7cd9655af867e878fda512ae67ad affected from f959dcd6ddfd29235030e8026471ac1b022ad2b0, before cd4706d9ac0d8d3bab8dc9e50cc1187f6cfa43dd affected from f959dcd6ddfd29235030e8026471ac1b022ad2b0, before 71803c1dfa29e0d13b99e48fda11107cc8caebc7 affected 4e57482e8440fac7137832629109730ea4b267aa affected from 5.9.2, before 5.10
Other versions: unaffected
|
| Linux |
affected 5.10 unaffected before 5.10 unaffected from 5.10.230 up to and including 5.10.* unaffected from 5.15.172 up to and including 5.15.* unaffected from 6.1.117 up to and including 6.1.* unaffected from 6.6.61 up to and including 6.6.* unaffected from 6.11.8 up to and including 6.11.* unaffected 6.12 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-50295 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-50295
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-50295
trivy image --scanners vuln IMAGE | grep CVE-2024-50295
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/30606ea3fae57f8e9f2467415389e988e3c53a18 git.kernel.org
- https://git.kernel.org/stable/c/3898393b5483c8aa2efd7cb13aa70e22078ab022 git.kernel.org
- https://git.kernel.org/stable/c/fd4e062fbc07156f8e9d73212d347c744572677e git.kernel.org
- https://git.kernel.org/stable/c/8ed7a4a39c3f7cd9655af867e878fda512ae67ad git.kernel.org
- https://git.kernel.org/stable/c/cd4706d9ac0d8d3bab8dc9e50cc1187f6cfa43dd git.kernel.org
- https://git.kernel.org/stable/c/71803c1dfa29e0d13b99e48fda11107cc8caebc7 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-50295 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse