CVE-2026-98639
KVM: riscv: Fix NACL hfence entry update order
Reported by linux · Published October 18, 2026
In the Linux kernel, the following vulnerability has been resolved: KVM: riscv: Fix NACL hfence entry update order The SBI v3.0 specification (section 15.1.2) requires a nested HFENCE entry to be populated as follows: 1) find an unused entry with Config.Pending == 0 2) update the Page_Number and Page_Count words 3) update the Config word with Config.Pending set __kvm_riscv_nacl_hfence() writes the Config word first, so the SBI implementation (or NACL hardware) can observe a pending entry with pnum/pcount values left over from the previous use of that entry, resulting in incorrect TLB flush ranges. Write pnum and pcount first and the Config word last. Since the consumer is an external agent on coherent shared memory, use WRITE_ONCE() to stop the compiler from reordering the stores and smp_wmb() to make the parameter words globally visible before the Pending bit is set.
EPSS 0.17% · 5.9th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | d6de766d8d26d71b714f548192099112def50a9c, b3d346838ec65fac7fd83f5dbcedd13cadfffddb, 6da466502621381fa88a6684290923d25c559266 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d466c19cead5904d4d5d92adb2b213b411d3b849, d466c19cead5904d4d5d92adb2b213b411d3b849, d466c19cead5904d4d5d92adb2b213b411d3b849 |
| Linux | Linux | 6.13, 0, 6.18.55 |
| Linux | Linux | 7.2.9, 6.13, 0 |
| linux | linux_kernel | 6.13, 6.13, 6.13 |
Timeline
- Oct 18, 2026 Coalition ESS Score
- Oct 18, 2026 CVE Published
- Oct 19, 2026 EPSS Score (3 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98639
vulnetix vdb fixes CVE-2026-98639
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98639/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart