We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-50295

net: arc: fix the device for dma_map_single/dma_unmap_single



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

Reserved 2024-10-21 | Published 2024-11-19 | Updated 2024-11-19 | Assigner Linux

Product status

Default status
unaffected

f959dcd6ddfd before 30606ea3fae5
affected

f959dcd6ddfd before 3898393b5483
affected

f959dcd6ddfd before fd4e062fbc07
affected

f959dcd6ddfd before 8ed7a4a39c3f
affected

f959dcd6ddfd before cd4706d9ac0d
affected

f959dcd6ddfd before 71803c1dfa29
affected

Default status
affected

5.10
affected

Any version before 5.10
unaffected

5.10.230
unaffected

5.15.172
unaffected

6.1.117
unaffected

6.6.61
unaffected

6.11.8
unaffected

6.12
unaffected

References

git.kernel.org/...c/30606ea3fae57f8e9f2467415389e988e3c53a18

git.kernel.org/...c/3898393b5483c8aa2efd7cb13aa70e22078ab022

git.kernel.org/...c/fd4e062fbc07156f8e9d73212d347c744572677e

git.kernel.org/...c/8ed7a4a39c3f7cd9655af867e878fda512ae67ad

git.kernel.org/...c/cd4706d9ac0d8d3bab8dc9e50cc1187f6cfa43dd

git.kernel.org/...c/71803c1dfa29e0d13b99e48fda11107cc8caebc7

cve.org (CVE-2024-50295)

nvd.nist.gov (CVE-2024-50295)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-50295

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.