net: arc: fix the device for dma_map_single/dma_unmap_single (Linux Linux)

CVE-2024-50295
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.23 % · centile 14 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected f959dcd6ddfd29235030e8026471ac1b022ad2b0 < 30606ea3fae57f8e9f2467415389e988e3c53a18 ; affected f959dcd6ddfd29235030e8026471ac1b022ad2b0 < 3898393b5483c8aa2efd7cb13aa70e22078ab022 ; affected f959dcd6ddfd29235030e8026471ac1b022ad2b0 < fd4e062fbc07156f8e9d73212d347c744572677e ; affected f959dcd6ddfd29235030e8026471ac1b022ad2b0 < 8ed7a4a39c3f7cd9655af867e878fda512ae67ad ; affected f959dcd6ddfd29235030e8026471ac1b022ad2b0 < cd4706d9ac0d8d3bab8dc9e50cc1187f6cfa43dd ; affected f959dcd6ddfd29235030e8026471ac1b022ad2b0 < 71803c1dfa29e0d13b99e48fda11107cc8caebc7
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.10.230 ≤ 5.10.* ; unaffected 5.15.172 ≤ 5.15.* ; unaffected 6.1.117 ≤ 6.1.* ; unaffected 6.6.61 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD