drm/amdkfd: don't allow mapping the MMIO HDP page with large pages (Linux Linux)

CVE-2024-41011
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: don't allow mapping the MMIO HDP page with large pages We don't get the right offset in that case. The GPU has an unused 4K area of the register BAR space into which you can remap registers. We remap the HDP flush registers into this space to allow userspace (CPU or GPU) to flush the HDP when it updates VRAM. However, on systems with >4K pages, we end up exposing PAGE_SIZE of MMIO space.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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 d8e408a82704c86ba87c3d58cfe69dcdb758aa07 < 009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884 ; affected d8e408a82704c86ba87c3d58cfe69dcdb758aa07 < f7276cdc1912325b64c33fcb1361952c06e55f63 ; affected d8e408a82704c86ba87c3d58cfe69dcdb758aa07 < 8ad4838040e5515939c071a0f511ce2661a0889d ; affected d8e408a82704c86ba87c3d58cfe69dcdb758aa07 < 89fffbdf535ce659c1a26b51ad62070566e33b28 ; affected d8e408a82704c86ba87c3d58cfe69dcdb758aa07 < 4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724 ; affected d8e408a82704c86ba87c3d58cfe69dcdb758aa07 < 6186c93560889265bfe0914609c274eff40bbeb5
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.4.283 ≤ 5.4.* ; unaffected 5.10.225 ≤ 5.10.* ; unaffected 5.15.166 ≤ 5.15.* ; unaffected 6.1.91 ≤ 6.1.*

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