CVE-2026-99471Linux
NVDCVSS scored by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Vulnerability Summary
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).
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).
CVSS v3.1 Base Metrics — Score 7.8 (HIGH)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAttack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Linux >= 6165d5dd99dbaec7a309491c3951bd81fc89978d and < fbfff331e73f44c25f4edd112eaef3b6865171c6
- Linux >= 6165d5dd99dbaec7a309491c3951bd81fc89978d and < 294e306dc1c49f1124d0b82eef565778d975420b
- Linux >= 6165d5dd99dbaec7a309491c3951bd81fc89978d and < 0b456d70fff190abac02795ddb088618ff512a48
- Linux >= 6165d5dd99dbaec7a309491c3951bd81fc89978d and < 0f86aba67317d65b2dc89995dd5ddefe219411a7
- Linux >= 6165d5dd99dbaec7a309491c3951bd81fc89978d and < 4ab2c987fd15a4bd28ef46a9ac871359886e6439
- Linux >= 6165d5dd99dbaec7a309491c3951bd81fc89978d and < c3d0261c4fae2cc36dcf9f4e247552498232caff
- Linux >= 6165d5dd99dbaec7a309491c3951bd81fc89978d and < 61a39797bb136243c48b46e2586d8a9e2cea6a89
- Linux 5.14
- Linux fbfff331e73f44c25f4edd112eaef3b6865171c6
- Linux 294e306dc1c49f1124d0b82eef565778d975420b
- Linux 0b456d70fff190abac02795ddb088618ff512a48
- Linux 0f86aba67317d65b2dc89995dd5ddefe219411a7
- Linux 4ab2c987fd15a4bd28ef46a9ac871359886e6439
- Linux c3d0261c4fae2cc36dcf9f4e247552498232caff
- Linux 61a39797bb136243c48b46e2586d8a9e2cea6a89
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 22, 2026CVSS score changed: 0.0 to 7.8
- Nov 22, 2026Severity changed to HIGH
- Nov 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-99471. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/0b456d70fff190abac02795ddb088618ff512a48
- Referencehttps://git.kernel.org/stable/c/0f86aba67317d65b2dc89995dd5ddefe219411a7
- Referencehttps://git.kernel.org/stable/c/294e306dc1c49f1124d0b82eef565778d975420b
- Referencehttps://git.kernel.org/stable/c/4ab2c987fd15a4bd28ef46a9ac871359886e6439
- Referencehttps://git.kernel.org/stable/c/61a39797bb136243c48b46e2586d8a9e2cea6a89
- Referencehttps://git.kernel.org/stable/c/c3d0261c4fae2cc36dcf9f4e247552498232caff
- Referencehttps://git.kernel.org/stable/c/fbfff331e73f44c25f4edd112eaef3b6865171c6
Data last checked: Nov 24, 2026 15:13 UTC