CVE-2026-98639
Severity unknownNo known exploitationFix availableKVM: riscv: Fix NACL hfence entry update order
Record last updated
CVSS score
No score published yet
EPSS, chance of exploitation in 30 days
Higher than 6% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from d466c19cead5904d4d5d92adb2b213b411d3b849 before d6de766d8d26d71b714f548192099112def50a9c | d6de766d8d26d71b714f548192099112def50a9c | CVE Program |
| Linux | Linux | from d466c19cead5904d4d5d92adb2b213b411d3b849 before 6da466502621381fa88a6684290923d25c559266 | 6da466502621381fa88a6684290923d25c559266 | CVE Program |
| Linux | Linux | from d466c19cead5904d4d5d92adb2b213b411d3b849 before b3d346838ec65fac7fd83f5dbcedd13cadfffddb | b3d346838ec65fac7fd83f5dbcedd13cadfffddb | CVE Program |
| Linux | Linux | 6.13 | Not documented | CVE Program |
| Microsoft | azl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.57-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 6.18.55 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.2.9 up to and including 7.2.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.3 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 6.13 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/6da466502621381fa88a6684290923d25c559266 (opens in a new tab)
- https://git.kernel.org/stable/c/b3d346838ec65fac7fd83f5dbcedd13cadfffddb (opens in a new tab)
- https://git.kernel.org/stable/c/d6de766d8d26d71b714f548192099112def50a9c (opens in a new tab)