# CVE-2026-99334: KVM: PPC: Book3S HV: Add preempt\_disable() around virtual-mode HPTE bit-lock users

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **Published:** 2026-11-19T14:21:40.515Z
- **Modified:** 2026-11-23T08:17:38.480Z

## Who should check

- Anyone running Linux \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 0f678269ac881d02f073ddf4297c65408bee8dce; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< aecbd8c58be307910b2c6c03ec284aa65dd01b13; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 85ce15cb2636c11b0b3821bde903bbeba7e13d82; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 8f021a671b511a49468e87a4935b43b0a4d045c0; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 7a02dfbd2f4a7dec468221d639f740a51d4483e1; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 9ffe72ff3f1ef66dc554ecafbe0861c8c118eb41; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< abbbe5ff83e7c9ed3a4d61b73011f1df7bf87907
- Anyone running Linux 5.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: PPC: Book3S HV: Add preempt\_disable() around virtual-mode HPTE bit-lock users

kvmppc\_hv\_find\_lock\_hpte() requires virtual-mode callers to run with
preemption disabled, because it can return with HPTE\_V\_HVLOCK still held
until the caller later unlocks the HPTE.  Existing virtual-mode callers
in book3s\_64\_mmu\_hv.c already follow that rule.

Two virtual-mode call paths do not:

1. kvmppc\_handle\_exit\_hv() calls kvmppc\_hpte\_hv\_fault() for hash-mode
   data-side and instruction-side faults after guest exit, with
   preemption already enabled.  kvmppc\_hpte\_hv\_fault() calls
   kvmppc\_hv\_find\_lock\_hpte() directly.

2. kvmppc\_pseries\_do\_hcall() executes virtual-mode handlers for HPT
   hcalls via kvmppc\_pseries\_do\_hpt\_hcall() with preemption enabled.
   The handlers for H\_ENTER, H\_REMOVE, H\_READ, H\_CLEAR\_MOD, H\_CLEAR\_REF,
   H\_PROTECT, and H\_BULK\_REMOVE spin on try\_lock\_hpte() or lock\_rmap(),
   and H\_ENTER also reaches kvmppc\_do\_h\_enter(), which uses
   arch\_spin\_lock() on kvm-\>mmu\_lock.  That raw lock choice is
   intentional because kvmppc\_do\_h\_enter() is also used by real-mode
   callers, so the correct fix is to establish the proper preemption
   context at the virtual-mode caller boundary.

If a vCPU thread is preempted while holding HPTE\_V\_HVLOCK, any other
thread on the same CPU trying to acquire the same bit-lock can spin
indefinitely.  The same applies to lock\_rmap() users and to the H\_ENTER
path while holding the raw mmu\_lock.

Fix this by adding preempt\_disable()/preempt\_enable() pairs around the
two kvmppc\_hpte\_hv\_fault() call sites in kvmppc\_handle\_exit\_hv(), and
around the kvmppc\_pseries\_do\_hpt\_hcall() invocation in
kvmppc\_pseries\_do\_hcall().  Targeting only the HPT hcall helper avoids
wrapping non-HPT hcalls (such as H\_RTAS, H\_CONFER, H\_REGISTER\_VPA) that
perform page faults, blocking memory allocations, or context switches.

## Affected and fixed versions

- Linux: \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 0f678269ac881d02f073ddf4297c65408bee8dce; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< aecbd8c58be307910b2c6c03ec284aa65dd01b13; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 85ce15cb2636c11b0b3821bde903bbeba7e13d82; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 8f021a671b511a49468e87a4935b43b0a4d045c0; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 7a02dfbd2f4a7dec468221d639f740a51d4483e1; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 9ffe72ff3f1ef66dc554ecafbe0861c8c118eb41; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< abbbe5ff83e7c9ed3a4d61b73011f1df7bf87907 (cvelist)
- Linux: 5.14 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99334. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99334.md
Affected: Linux >= 6165d5dd99dbaec7a309491c3951bd81fc89978d, < 0f678269ac881d02f073ddf4297c65408bee8dce; >= 6165d5dd99dbaec7a309491c3951bd81fc89978d, < aecbd8c58be307910b2c6c03ec284aa65dd01b13; >= 6165d5dd99dbaec7a309491c3951bd81fc89978d, < 85ce15cb2636c11b0b3821bde903bbeba7e13d82; >= 6165d5dd99dbaec7a309491…
Fixed in: Linux 0f678269ac881d02f073ddf4297c65408bee8dce, Linux 85ce15cb2636c11b0b3821bde903bbeba7e13d82, Linux 8f021a671b511a49468e87a4935b43b0a4d045c0, Linux 7a02dfbd2f4a7dec468221d639f740a51d4483e1, Linux 9ffe72ff3f1ef66dc554ecafbe0861c8c118eb41

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99334 being exploited?

There is no confirmed exploitation: CVE-2026-99334 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99334?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99334?

Linux \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 0f678269ac881d02f073ddf4297c65408bee8dce; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< aecbd8c58be307910b2c6c03ec284aa65dd01b13; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 85ce15cb2636c11b0b3821bde903bbeba7e13d82; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 8f021a671b511a49468e87a4935b43b0a4d045c0; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 7a02dfbd2f4a7dec468221d639f740a51d4483e1; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 9ffe72ff3f1ef66dc554ecafbe0861c8c118eb41; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< abbbe5ff83e7c9ed3a4d61b73011f1df7bf87907; Linux 5.14.

### Is there a fix for CVE-2026-99334?

Yes. Fixed in Linux 0f678269ac881d02f073ddf4297c65408bee8dce, Linux 85ce15cb2636c11b0b3821bde903bbeba7e13d82, Linux 8f021a671b511a49468e87a4935b43b0a4d045c0, Linux 7a02dfbd2f4a7dec468221d639f740a51d4483e1, Linux 9ffe72ff3f1ef66dc554ecafbe0861c8c118eb41. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99334?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/0f678269ac881d02f073ddf4297c65408bee8dce>
- other: <https://git.kernel.org/stable/c/aecbd8c58be307910b2c6c03ec284aa65dd01b13>
- other: <https://git.kernel.org/stable/c/85ce15cb2636c11b0b3821bde903bbeba7e13d82>
- other: <https://git.kernel.org/stable/c/8f021a671b511a49468e87a4935b43b0a4d045c0>
- other: <https://git.kernel.org/stable/c/7a02dfbd2f4a7dec468221d639f740a51d4483e1>
- other: <https://git.kernel.org/stable/c/9ffe72ff3f1ef66dc554ecafbe0861c8c118eb41>
- other: <https://git.kernel.org/stable/c/abbbe5ff83e7c9ed3a4d61b73011f1df7bf87907>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99334>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99334> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99334>
