CVE-2025-40065
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2025
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
RISC-V: KVM: Write hgatp register with valid mode bits
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| fd7bb4a251dfc1da3496bf59a4793937c13e8c1f | affected | git | 8b6e327736db013b9e385c3f6f9f0b04ddf26e43 | Unavailable | None listed |
| fd7bb4a251dfc1da3496bf59a4793937c13e8c1f | affected | git | 5cba8ae00279296a586d0596443109d601b1d116 | Unavailable | None listed |
| fd7bb4a251dfc1da3496bf59a4793937c13e8c1f | affected | git | d00b61cd37f4c183ce0edbc9f8ccf6d5430ea357 | Unavailable | None listed |
| fd7bb4a251dfc1da3496bf59a4793937c13e8c1f | affected | git | 2b351e3d04be9e1533f26c3464f1e44a5beace30 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.16 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.16 | Unavailable | None listed |
| 6.6.160 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.12.114 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.17.3 | unaffected | semver | Unavailable | 6.17.* | None listed |
| 6.18 | unaffected | original_commit_for_fix | Unavailable | * | None listed |