Skip to main content
VulnerabilityPublished Updated

CVE-2025-40065: Linux kernel · RISC-V: KVM: Write hgatp register with valid mode bits

Source GCVE Database

0
Compare
Authoritative record:CVE-2025-40065

Not known to be exploited · fixed in feb64ca53d97b3ac8ba9ecbeae5f9426f1513650 : update Linux kernel when convenient.

Data as of 30 Oct 2026, 16:33 UTC

Severity
Unrated

Rated by Threat Radar · No CVSS score from NVD or the CNA

Thin evidence

One scorer or none
Patch
Available – fixed in feb64ca53d97b3ac8ba9ecbeae5f9426f1513650, d00b61cd37f4c183ce0edbc9f8ccf6d5430ea357, 8b6e327736db013b9e385c3f6f9f0b04ddf26e43 +2

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ fd7bb4a251dfc1da3496bf59a4793937c13e8c1f, < feb64ca53d97b3ac8ba9ecbeae5f9426f1513650
Fixed in
  • feb64ca53d97b3ac8ba9ecbeae5f9426f1513650
LinuxLinuxAffected
  • ≥ fd7bb4a251dfc1da3496bf59a4793937c13e8c1f, < d00b61cd37f4c183ce0edbc9f8ccf6d5430ea357
Fixed in
  • d00b61cd37f4c183ce0edbc9f8ccf6d5430ea357
LinuxLinuxAffected
  • ≥ fd7bb4a251dfc1da3496bf59a4793937c13e8c1f, < 8b6e327736db013b9e385c3f6f9f0b04ddf26e43
Fixed in
  • 8b6e327736db013b9e385c3f6f9f0b04ddf26e43
LinuxLinuxAffected
  • ≥ fd7bb4a251dfc1da3496bf59a4793937c13e8c1f, < 5cba8ae00279296a586d0596443109d601b1d116
Fixed in
  • 5cba8ae00279296a586d0596443109d601b1d116
LinuxLinuxAffected
  • ≥ fd7bb4a251dfc1da3496bf59a4793937c13e8c1f, < 2b351e3d04be9e1533f26c3464f1e44a5beace30
Fixed in
  • 2b351e3d04be9e1533f26c3464f1e44a5beace30
LinuxLinuxAffected
  • =5.16
Fixed in–

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.

References

Community reviews

Loading reviews…