CVE-2024-50295

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-50295
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50295.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50295
Downstream
Related
Published
2024-11-19T01:30:41.999Z
Modified
2025-11-28T02:34:33.783205Z
Summary
net: arc: fix the device for dma_map_single/dma_unmap_single
Details

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

net: arc: fix the device for dmamapsingle/dmaunmapsingle

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 dmamappage_attrs+0x90/0x1f8

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50295.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f959dcd6ddfd29235030e8026471ac1b022ad2b0
Fixed
30606ea3fae57f8e9f2467415389e988e3c53a18
Fixed
3898393b5483c8aa2efd7cb13aa70e22078ab022
Fixed
fd4e062fbc07156f8e9d73212d347c744572677e
Fixed
8ed7a4a39c3f7cd9655af867e878fda512ae67ad
Fixed
cd4706d9ac0d8d3bab8dc9e50cc1187f6cfa43dd
Fixed
71803c1dfa29e0d13b99e48fda11107cc8caebc7
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
4e57482e8440fac7137832629109730ea4b267aa

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.10.0
Fixed
5.10.230
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.172
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.117
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.61
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.8