SecurityContext

CVE-2026-98639: Linux Kernel KVM riscv - Logic Flaw

  • Cve: CVE-2026-98639
  • Name: Linux Kernel KVM riscv - Logic Flaw
  • 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.
  • Impact: External agents can observe incorrect TLB flush ranges, potentially causing memory management inconsistencies or security issues.
  • Remediation: Update to the latest Linux kernel version containing the fix for NACL hfence entry update order.
  • Requirements: Attacker needs access to coherent shared memory with the consumer
  • Labels source: projectdiscovery
  • Cvss vector: N/A
  • Epss score: 0.00166
  • Epss percentile: 0.05758
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-10-18T16:17:17Z
  • Age in days: 37
  • Modified at: 2026-10-19T10:19:28Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-98639
  • Nvd status: received
  • Checked, none or zero: vulnerability impact, cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirement type, severity, cvss score, hackerone

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://git.kernel.org/stable/c/6da466502621381fa88a6684290923d25c559266
https://git.kernel.org/stable/c/b3d346838ec65fac7fd83f5dbcedd13cadfffddb
https://git.kernel.org/stable/c/d6de766d8d26d71b714f548192099112def50a9c

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.13, < 7.3; >= 6.13, < 7.2.9; >= 6.13, < 6.18.55nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports