CVE-2024-50295: net: arc: fix the device for dma_map_single/dma_unmap_single
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 dmamask, 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 dmamappageattrs+0x90/0x1f8
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-50295?
The severity of CVE-2024-50295 is considered moderate due to potential impacts on device functionality.
How do I fix CVE-2024-50295?
To fix CVE-2024-50295, you should upgrade the Linux packages to the recommended versions: 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.15-1.
Which versions of Linux are vulnerable to CVE-2024-50295?
Vulnerable versions of Linux include those up to and including 5.10.226-1.
Is there a patch available for CVE-2024-50295?
Yes, patches have been released in the newer versions of the Linux kernel addressing CVE-2024-50295.
What components are affected by CVE-2024-50295?
CVE-2024-50295 affects the net subsystem in the Linux kernel specifically related to device mapping.