CVE-2025-40065

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

References

Notes

 carnil> Introduced in fd7bb4a251df ("RISC-V: KVM: Implement VMID allocator").
 carnil> Vulnerable versions: 5.16.

Bugs

Status

Branch Status
upstream released (6.18-rc1) [2b351e3d04be9e1533f26c3464f1e44a5beace30]
6.18-upstream-stable N/A "Fixed before branching point"
6.17-upstream-stable released (6.17.3) [d00b61cd37f4c183ce0edbc9f8ccf6d5430ea357]
6.12-upstream-stable needed
6.6-upstream-stable needed
6.1-upstream-stable needed
5.10-upstream-stable N/A "Vulnerable code not present"
sid released (6.17.6-1)
6.12-trixie-security needed
6.1-bookworm-security needed
5.10-bullseye-security N/A "Vulnerable code not present"