RISC-V: KVM: Write hgatp register with valid mode bits (Linux Linux)

CVE-2025-40065
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.24 % · centile 15 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: RISC-V: KVM: Write hgatp register with valid mode bits According to the RISC-V Privileged Architecture Spec, when MODE=Bare is selected,software must write zero to the remaining fields of hgatp. We have detected the valid mode supported by the HW before, So using a valid mode to detect how many vmid bits are supported.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected fd7bb4a251dfc1da3496bf59a4793937c13e8c1f < feb64ca53d97b3ac8ba9ecbeae5f9426f1513650 ; affected fd7bb4a251dfc1da3496bf59a4793937c13e8c1f < 8b6e327736db013b9e385c3f6f9f0b04ddf26e43 ; affected fd7bb4a251dfc1da3496bf59a4793937c13e8c1f < 5cba8ae00279296a586d0596443109d601b1d116 ; affected fd7bb4a251dfc1da3496bf59a4793937c13e8c1f < d00b61cd37f4c183ce0edbc9f8ccf6d5430ea357 ; affected fd7bb4a251dfc1da3496bf59a4793937c13e8c1f < 2b351e3d04be9e1533f26c3464f1e44a5beace30
Linux · Linuxaffected 5.16 ; unaffected 0 < 5.16 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.114 ≤ 6.12.* ; unaffected 6.17.3 ≤ 6.17.*

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