{"id":"CVE-2024-50295","summary":"net: arc: fix the device for dma_map_single/dma_unmap_single","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: arc: fix the device for dma_map_single/dma_unmap_single\n\nThe ndev-\u003edev and pdev-\u003edev aren't the same device, use ndev-\u003edev.parent\nwhich has dma_mask, ndev-\u003edev.parent is just pdev-\u003edev.\nOr it would cause the following issue:\n\n[   39.933526] ------------[ cut here ]------------\n[   39.938414] WARNING: CPU: 1 PID: 501 at kernel/dma/mapping.c:149 dma_map_page_attrs+0x90/0x1f8","modified":"2026-04-02T12:21:23.362156Z","published":"2024-11-19T01:30:41.999Z","related":["SUSE-SU-2024:4314-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4316-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50295.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/30606ea3fae57f8e9f2467415389e988e3c53a18"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3898393b5483c8aa2efd7cb13aa70e22078ab022"},{"type":"WEB","url":"https://git.kernel.org/stable/c/71803c1dfa29e0d13b99e48fda11107cc8caebc7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8ed7a4a39c3f7cd9655af867e878fda512ae67ad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd4706d9ac0d8d3bab8dc9e50cc1187f6cfa43dd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd4e062fbc07156f8e9d73212d347c744572677e"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50295.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50295"},{"type":"PACKAGE","url":"https://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"},{"last_affected":"4e57482e8440fac7137832629109730ea4b267aa"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50295.json"}}],"schema_version":"1.7.5"}