# CVE-2026-99471: KVM: PPC: Book3S HV: Add SRCU protection for virtual-mode HPT hcalls

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **Published:** 2026-11-19T14:42:57.597Z
- **Modified:** 2026-11-23T08:17:50.807Z

## Who should check

- Anyone running Linux \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< fbfff331e73f44c25f4edd112eaef3b6865171c6; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 294e306dc1c49f1124d0b82eef565778d975420b; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 0b456d70fff190abac02795ddb088618ff512a48; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 0f86aba67317d65b2dc89995dd5ddefe219411a7; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 4ab2c987fd15a4bd28ef46a9ac871359886e6439; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< c3d0261c4fae2cc36dcf9f4e247552498232caff; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 61a39797bb136243c48b46e2586d8a9e2cea6a89
- Anyone running Linux 5.14

## Description

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

KVM: PPC: Book3S HV: Add SRCU protection for virtual-mode HPT hcalls

The virtual-mode HPT hcall handlers (H\_ENTER, H\_REMOVE, H\_BULK\_REMOVE,
H\_CLEAR\_REF, H\_CLEAR\_MOD) call into book3s\_hv\_rm\_mmu.c, which accesses
memslots via kvm\_memslots\_raw().  kvm\_memslots\_raw() uses
rcu\_dereference\_raw\_check() to bypass SRCU lockdep annotation checking.
This is safe in real mode because the entire guest entry/exit is wrapped
in srcu\_read\_lock/unlock inside kvmppc\_run\_core() and
kvmhv\_run\_single\_vcpu().

However, since commit 6165d5dd99db ("KVM: PPC: Book3S HV: add virtual
mode handlers for HPT hcalls and page faults"), these same handlers are
also executed in virtual mode via kvmppc\_pseries\_do\_hcall(), which runs
after SRCU has already been released on guest exit.

A concurrent KVM\_SET\_USER\_MEMORY\_REGION deletion or move can therefore
call synchronize\_srcu\_expedited() — which does not wait for this thread —
and then kfree(slot) and vfree(slot-\>arch.rmap) while the hcall handler
still holds a raw pointer to the memslot.  lock\_rmap() then writes to
freed vmalloc memory, leading to use-after-free and memory corruption.
Because kvm\_memslots\_raw() suppresses lockdep checks, this race is
entirely silent.

Fix this by factoring out the 7 HPT hcall handlers (H\_REMOVE, H\_ENTER,
H\_READ, H\_CLEAR\_MOD, H\_CLEAR\_REF, H\_PROTECT, H\_BULK\_REMOVE) into a
helper function, kvmppc\_pseries\_do\_hpt\_hcall(), and wrapping its call
site in srcu\_read\_lock(&kvm-\>srcu) / srcu\_read\_unlock(&kvm-\>srcu, idx).
Targeting only the HPT hcalls avoids wrapping non-HPT hcalls that sleep
(such as H\_CONFER, H\_REGISTER\_VPA, H\_PAGE\_INIT) or handlers that already
acquire SRCU internally (such as H\_RTAS).

## Affected and fixed versions

- Linux: \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< fbfff331e73f44c25f4edd112eaef3b6865171c6; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 294e306dc1c49f1124d0b82eef565778d975420b; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 0b456d70fff190abac02795ddb088618ff512a48; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 0f86aba67317d65b2dc89995dd5ddefe219411a7; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 4ab2c987fd15a4bd28ef46a9ac871359886e6439; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< c3d0261c4fae2cc36dcf9f4e247552498232caff; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 61a39797bb136243c48b46e2586d8a9e2cea6a89 (cvelist)
- Linux: 5.14 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 61a39797bb136243c48b46e2586d8a9e2cea6a89 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99471.md
Affected: Linux >= 6165d5dd99dbaec7a309491c3951bd81fc89978d, < fbfff331e73f44c25f4edd112eaef3b6865171c6; >= 6165d5dd99dbaec7a309491c3951bd81fc89978d, < 294e306dc1c49f1124d0b82eef565778d975420b; >= 6165d5dd99dbaec7a309491c3951bd81fc89978d, < 0b456d70fff190abac02795ddb088618ff512a48; >= 6165d5dd99dbaec7a309491…
Fixed in: Linux 294e306dc1c49f1124d0b82eef565778d975420b, Linux 0b456d70fff190abac02795ddb088618ff512a48, Linux 0f86aba67317d65b2dc89995dd5ddefe219411a7, Linux 4ab2c987fd15a4bd28ef46a9ac871359886e6439, Linux 61a39797bb136243c48b46e2586d8a9e2cea6a89

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-99471 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< fbfff331e73f44c25f4edd112eaef3b6865171c6; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 294e306dc1c49f1124d0b82eef565778d975420b; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 0b456d70fff190abac02795ddb088618ff512a48; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 0f86aba67317d65b2dc89995dd5ddefe219411a7; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 4ab2c987fd15a4bd28ef46a9ac871359886e6439; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< c3d0261c4fae2cc36dcf9f4e247552498232caff; \>= 6165d5dd99dbaec7a309491c3951bd81fc89978d, \< 61a39797bb136243c48b46e2586d8a9e2cea6a89; Linux 5.14.

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

Yes. Fixed in Linux 294e306dc1c49f1124d0b82eef565778d975420b, Linux 0b456d70fff190abac02795ddb088618ff512a48, Linux 0f86aba67317d65b2dc89995dd5ddefe219411a7, Linux 4ab2c987fd15a4bd28ef46a9ac871359886e6439, Linux 61a39797bb136243c48b46e2586d8a9e2cea6a89. Upgrade Linux to 61a39797bb136243c48b46e2586d8a9e2cea6a89 or later.

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

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/fbfff331e73f44c25f4edd112eaef3b6865171c6>
- other: <https://git.kernel.org/stable/c/294e306dc1c49f1124d0b82eef565778d975420b>
- other: <https://git.kernel.org/stable/c/0b456d70fff190abac02795ddb088618ff512a48>
- other: <https://git.kernel.org/stable/c/0f86aba67317d65b2dc89995dd5ddefe219411a7>
- other: <https://git.kernel.org/stable/c/4ab2c987fd15a4bd28ef46a9ac871359886e6439>
- other: <https://git.kernel.org/stable/c/c3d0261c4fae2cc36dcf9f4e247552498232caff>
- other: <https://git.kernel.org/stable/c/61a39797bb136243c48b46e2586d8a9e2cea6a89>

## 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-99471>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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