Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99471

published high CVSS 3.1 · 7.8

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

Published
19 Nov 2026, 14:42:57 UTC
Updated
23 Nov 2026, 08:03:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux6165d5dd99dbaec7a309491c3951bd81fc89978d to < fbfff331e73f44c25f4edd112eaef3b6865171c6 · 6165d5dd99dbaec7a309491c3951bd81fc89978d to < 294e306dc1c49f1124d0b82eef565778d975420b · 6165d5dd99dbaec7a309491c3951bd81fc89978d to < 0b456d70fff190abac02795ddb088618ff512a48 · 6165d5dd99dbaec7a309491c3951bd81fc89978d to < 0f86aba67317d65b2dc89995dd5ddefe219411a7 · 6165d5dd99dbaec7a309491c3951bd81fc89978d to < 4ab2c987fd15a4bd28ef46a9ac871359886e6439 · 6165d5dd99dbaec7a309491c3951bd81fc89978d to < c3d0261c4fae2cc36dcf9f4e247552498232caff · 6165d5dd99dbaec7a309491c3951bd81fc89978d to < 61a39797bb136243c48b46e2586d8a9e2cea6a89 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.14 (affected) · 0 to < 5.14 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux-6.12 Advisory build 6.12.117-1~deb12u1 DLA-4927-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 13 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1

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).

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - A host user reaches this from KVM_RUN (kvm_arch_vcpu_ioctl_run → kvmppc_vcpu_run_hv): after kvmhv_run_single_vcpu drops kvm->srcu, a supervisor-mode H_ENTER is handled in kvmppc_pseries_do_hcall → kvmppc_h_enter → kvmppc_do_h_enter, which calls kvm_memslots_raw(). No network protocol carries that input. AC:L - That user owns the vm fd, so one thread loops guest H_ENTER while another issues KVM_SET_USER_MEMORY_REGION delete or move. kvm_set_memslot's synchronize_srcu_expedited does not wait for the hcall, then kvm_free_memslot frees the slot. The same user selects HPT mode with KVM_PPC_CONFIGURE_V3_MMU. PR:L - arch/powerpc/kvm has no capable() check. kvm_dev_ioctl(KVM_CREATE_VM) and KVM_SET_USER_MEMORY_REGION need only an open /dev/kvm fd and kvm->mm == current->mm. kvmppc_handle_exit_hv drops sc 1 when MSR_PR is set, and the VM owner runs the guest with MSR_PR clear. UI:N - The VM owner issues both the H_ENTER hypercall through KVM_RUN and the memslot delete or move. No other principal has to mount an image, hot-unplug memory, or start migration. S:U - kvm_vm_ioctl frees a slot only when kvm->mm == current->mm, so the freeing thread is the host VM owner. lock_rmap then corrupts host kernel memory on that owner's KVM_RUN thread, under the host kernel's own authority. C:H - After kvmppc_core_free_memslot_hv vfree's arch.rmap, kvmppc_do_h_enter still reads *rmap and kvmppc_add_revmap_chain consumes KVMPPC_RMAP_PRESENT and KVMPPC_RMAP_INDEX from it. That use-after-free of a reclaimed page is a host kernel read of freed data. I:H - lock_rmap's test_and_set_bit_lock and kvmppc_add_revmap_chain's store of the guest-chosen pte_index both write through the dangling rmap pointer. On a move, kvm_commit_memory_region kfree's the slot while do_h_enter still loads memslot->arch.rmap from it. A:H - Those stores target a page kvmppc_core_free_memslot_hv has returned to the allocator. Corrupting the freelist or a reused kernel object on the vcpu thread oopses or panics the host.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 6165d5dd99dbaec7a309491c3951bd81fc89978d to < fbfff331e73f44c25f4edd112eaef3b6865171c6 (affected · git)6165d5dd99dbaec7a309491c3951bd81fc89978d to < 294e306dc1c49f1124d0b82eef565778d975420b (affected · git)6165d5dd99dbaec7a309491c3951bd81fc89978d to < 0b456d70fff190abac02795ddb088618ff512a48 (affected · git)6165d5dd99dbaec7a309491c3951bd81fc89978d to < 0f86aba67317d65b2dc89995dd5ddefe219411a7 (affected · git)6165d5dd99dbaec7a309491c3951bd81fc89978d to < 4ab2c987fd15a4bd28ef46a9ac871359886e6439 (affected · git)6165d5dd99dbaec7a309491c3951bd81fc89978d to < c3d0261c4fae2cc36dcf9f4e247552498232caff (affected · git)6165d5dd99dbaec7a309491c3951bd81fc89978d to < 61a39797bb136243c48b46e2586d8a9e2cea6a89 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.14 (affected)0 to < 5.14 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
e3c80134be0b7943c328abd0ebe6afcbeef3855bc3a449dbf51ebf2bab5bd61c
Ingested
23 Nov 2026, 14:35:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected