CVE-2026-99120
Last modified
CVE-2026-99120 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: KVM: x86/mmu: Cope with the SS bit being set in #NPF exit codes When running Hyper-V from Windows 11, KVM is seeing the SS bit set in nested page fault error codes produced for shadowed NPT. The AMD manual is unclear about when SS is set, including whether it can be set when SupervisorShadowStackEn (bit 6) is not set in the MISC_CTL field of the VMCB. Nevertheless, the unexpected SS bit causes out of bounds accesses in permission_fault(), seen as either WARNs or UBSAN reports: kernel: UBSAN: array-index-out-of-bounds in arch/x86/kvm/mmu.h:225:27 kernel: index 34 is out of range for type 'u16 [16]' (in this case, the page fault error code is 34*2=0x44, i.e.
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: x86/mmu: Cope with the SS bit being set in #NPF exit codes When running Hyper-V from Windows 11, KVM is seeing the SS bit set in nested page fault error codes produced for shadowed NPT. The AMD manual is unclear about when SS is set, including whether it can be set when SupervisorShadowStackEn (bit 6) is not set in the MISC_CTL field of the VMCB. Nevertheless, the unexpected SS bit causes out of bounds accesses in permission_fault(), seen as either WARNs or UBSAN reports: kernel: UBSAN: array-index-out-of-bounds in arch/x86/kvm/mmu.h:225:27 kernel: index 34 is out of range for type 'u16 [16]' (in this case, the page fault error code is 34*2=0x44, i.e. SS|U; the report shows SS|U|W happening as well). Fix the handling of unknown error codes by dropping SS and (with a WARN) any bits not among those that permission_fault() expects to receive. At the same time, given the uncertainty about when hardware sets SS, follow the processor's behavior when constructing the fault's error code, and preserve the SS bit as passed to FNAME(walk_addr_generic). While the behavior is surprising, there's a possibility that Hyper-V expects it (Hyper-V does not even enable CET unless it finds MBEC/GMET!), so retain the information when reflecting the fault to L1 instead of unconditionally discarding it. Bisection shows that this started happening with commit 687ee95c1b6d ("KVM: nSVM: enable GMET for guests"), even though SHSTK was available to guests since Linux 6.18. However, this is not because bit 1 of MISC_CTL (GMET) somehow enables reporting the SS bit; rather, it's simply that Hyper-V never uses CET unless GMET is also present. The WARN is reproducible even with gmet=0, with some hacking of kvm-unit-tests's cet.c testcase to ensure that the first access to the shadow stack triggers a page fault.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 8db428fd5229ba509d515af10d7f33d7d4a54bfe, < 0caeefed99b37f03251a00eb1fdb403a1cf2cb68; >= 8db428fd5229ba509d515af10d7f33d7d4a54bfe, < d6e08ec2fff45e0ec69f11010851650d7c6282b9; >= 8db428fd5229ba509d515af10d7f33d7d4a54bfe, < e90ab3669181c6469e3647ef2b30ae408275f496 |
| Linux | Linux | 6.18 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99120?
How severe is CVE-2026-99120?
How do I fix CVE-2026-99120?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99115In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99116In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99117In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99118In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99119In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9912Inappropriate implementation in GPU in Google Chrome on Andr…6.5
- CVE-2026-99121In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99122In the Linux kernel, the following vulnerability has been re…7.3
- CVE-2026-99123In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-99124In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99125In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99126In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99120?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
