CVE-2026-99471: Linux kernel KVM on POWER lets a guest hypercall write to a freed memory slot

ByLinuxtastic

November 30, 2026 #CVE, #Linux Kernel

On IBM POWER hosts running KVM in the Book3S HV mode, a guest manages its hashed page table through hypercalls (H_ENTER, H_REMOVE, H_BULK_REMOVE and their relatives), and since kernel 5.14 those hcalls can be handled in “virtual mode”, after the host has already left the guest and dropped the SRCU read lock that protects the memory-slot list. A guest hcall running there holds a raw pointer to a memslot that a concurrent KVM_SET_USER_MEMORY_REGION from the host side can delete or move; synchronize_srcu_expedited() “does not wait for this thread”, the slot and its reverse-map array are freed, and lock_rmap() “then writes to freed vmalloc memory”. Because the raw accessor suppresses lockdep, the record notes, “this race is entirely silent”. On POWER hosts that run Book3S HV guests, upgrade to a kernel at or above 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61 or 7.3.2 and reboot; x86, Arm and s390 hosts are not affected.

CVE-2026-99471 at a glance.

ComponentLinux kernel, KVM for PowerPC Book3S HV: the virtual-mode HPT hypercall path in arch/powerpc/kvm/book3s_hv.c (kvmppc_pseries_do_hcall()), calling into book3s_hv_rm_mmu.c; the kvm-hv module on ppc64le hosts only
Affected versionsmainline 5.14 up to 7.4-rc1 (from commit 6165d5dd, which added the virtual-mode handlers); 5.15.x below 5.15.226, 6.1.x below 6.1.193, 6.6.x below 6.6.163, 6.12.x below 6.12.117, 6.18.x below 6.18.61, 7.3.x below 7.3.2. Kernels before 5.14 are not affected, and no architecture other than PowerPC is
Fixed inmainline 7.4-rc1 (commit 61a39797) and stable 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2; the fix factors the seven HPT hcall handlers into kvmppc_pseries_do_hpt_hcall() and wraps its call site in srcu_read_lock() / srcu_read_unlock() on kvm->srcu
Severitykernel CNA CVSS 3.1 7.8 High (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H); NVD Received with no score of its own. Red Hat Important, 8.8 with scope changed (S:C), CWE-825, because the attacker is in a guest and the memory is the host’s; Ubuntu High, 7.8; SUSE important, 7.0 (AC:H) and CVSS 4.0 7.3
Exploited in the wildNot on CISA’s Known Exploited Vulnerabilities list as of 30 November 2026 (catalogue 2026.11.27). EPSS 0.0018 (4th percentile) on 30 November 2026
Who is exposedPowerPC hosts running KVM Book3S HV guests that use a hashed page table (HPT), which is the classic POWER8/POWER9 guest configuration; a guest with the privilege to issue hcalls, which is any guest kernel, can trigger it while the host happens to be reconfiguring that guest’s memory slots (hot-plug, migration, QEMU reconfiguration). Red Hat’s statement: x86_64, aarch64 and s390x hosts, and PowerPC without Book3S HV, are unaffected
PublishedCVE record 19 November 2026 (kernel CNA); this page built 30 November 2026, last updated 30 November 2026

What it is

KVM keeps the list of a guest’s memory slots under SRCU, sleepable read-copy-update: readers take a read lock, a writer that deletes a slot waits for every reader that started before the change to finish, and only then frees the slot. On POWER the HPT hypercalls were originally handled in “real mode”, with the MMU off, inside the guest entry and exit sequence, which the record notes “is wrapped in srcu_read_lock/unlock inside kvmppc_run_core() and kvmhv_run_single_vcpu()“, so the handlers could use kvm_memslots_raw(), an accessor that bypasses the lockdep annotation, in safety. Commit 6165d5dd in 5.14 added virtual-mode handlers for the same hcalls, reached through kvmppc_pseries_do_hcall() after the guest has exited, “which runs after SRCU has already been released on guest exit”. The handlers kept the raw accessor, so nothing complained.

The consequence is a textbook SRCU bug. A concurrent memslot deletion or move from userspace calls synchronize_srcu_expedited(), which returns at once because the hcall handler is not a registered reader, and then frees the slot and its arch.rmap array “while the hcall handler still holds a raw pointer to the memslot”; the handler’s next lock_rmap() writes into freed vmalloc memory. The write is to host kernel memory on behalf of a guest, which is why Red Hat raises the score to 8.8 with scope changed and warns of “a host crash or virtualization escape”, and why SUSE’s 7.0 with high attack complexity is the other reasonable reading: the guest cannot make the host reconfigure its memory, it can only be ready when the host does.

The fix is narrow by design. The seven HPT handlers (H_REMOVE, H_ENTER, H_READ, H_CLEAR_MOD, H_CLEAR_REF, H_PROTECT, H_BULK_REMOVE) move into one helper whose call site takes the SRCU read lock; the record explains that targeting only those “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)”. Nothing about the guest’s configuration avoids the path; radix-mode guests on POWER9 and later do not use the HPT hcalls at all, which is the one configuration the record’s description does not reach.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 30 November 2026; the link in the row is the tracker page, which will be newer than this one. The rows describe the kernel package; only ppc64le installations of it are exposed.

DistributionStatusFixed package
AlpineTracker unreachable on 30 November 2026—
DebianFixed in trixie, forky and sid, and in bookworm’s linux-6.12 (DLA-4927-1); bookworm’s 6.1 kernel vulnerable at 6.1.192-3, no DSAtrixie 6.12.117-1 (6.12.118-1 in security); bookworm linux-6.12 6.12.118-1~deb12u1 (the DLA names 6.12.117-1~deb12u1); forky/sid 7.3.6-1
UbuntuHigh, 7.8; 22.04 through 26.10 vulnerable, fix “work in progress” for 26.04 and 26.10; 20.04 and older not affected (last updated 25 November)26.10 7.3.0-12.13 and 26.04 7.0.0-45.45 pending; nothing for 24.04 or 22.04 on 30 November 2026
RHEL, Rocky, Alma, CentOS StreamImportant, 8.8 (scope changed), CWE-825, scores marked preliminary; the statement confines it to PowerPC Book3S HV hosts with HPT guests; the per-product table and errata did not render for our reader on 30 November 2026not read
openSUSE/SLEimportant, 7.0 / CVSS 4.0 7.3, Pending (bugs 1291622, 1291646); In progress for SLE 15 SP7 and its modules (kernel 6.4.0-150700.53.95.1 in QA), Affected on SL Micro 5.4/5.5; already fixed on SLES 16.x, Leap 16.x and SL Micro 6.x; released for the SL Micro 6.0 rt-os container onlySL Micro 6.0 rt-os-container kernel-rt 6.4.0-159998.56.1; nothing else released on 30 November 2026
Fedora, Arch; self-built kernelsNot consulted; upstream stable versions apply5.15.226 / 6.1.193 / 6.6.163 / 6.12.117 / 6.18.61 / 7.3.2 or later

How to check

Three questions, in order: is this a POWER host at all, is it running KVM HV guests, and do those guests use a hashed page table. Most readers will stop at the first.

# 1. architecture and kernel: anything but ppc64/ppc64le is not affected
uname -m; uname -r

# 2. KVM HV in use: the module, the device, and running guests
lsmod | grep -E '^kvm_hv|^kvm '
ls -l /dev/kvm 2>/dev/null
virsh list --all 2>/dev/null; pgrep -a qemu-system-ppc64 | head

# 3. HPT or radix guests: radix guests never issue the HPT hcalls
grep -E 'MMU|hash|radix' /proc/cpuinfo | head -3            # on the host
# inside each guest: 'MMU : Hash' is the exposed configuration, 'MMU : Radix' is not
grep -E '^MMU' /proc/cpuinfo

A non-PowerPC host is not affected, whatever the kernel. A POWER host with a fixed kernel is done. A POWER host on an affected kernel that runs HPT-mode guests whose administrators you do not trust, and that hot-plugs memory, migrates guests or otherwise reconfigures their memory slots while they run, is the exposed case; a host whose guests are all in radix mode does not run the vulnerable handlers, as we read the record, but the fix costs one reboot and the reading is ours.

How to fix it

Install the fixed kernel on the host and reboot it; guests do not need to change, and the bug is in the host. Live migration of the guests to an already-fixed host, if you have one, avoids downtime for them.

# Debian trixie / sid (and bookworm with the linux-6.12 backport kernel)
apt update && apt install linux-image-powerpc64le && systemctl reboot
# Ubuntu, RHEL family, SUSE: when the pending builds land
apt update && apt full-upgrade && systemctl reboot
dnf upgrade kernel && systemctl reboot
zypper patch && systemctl reboot
uname -r

Until the reboot, remove the writer side of the race: do not change a running guest’s memory layout. The handler can only use a freed slot if something frees it, and on a host where nothing hot-plugs memory or migrates guests while they run, nothing does. What not to do: switching guests from HPT to radix is a guest reinstall or at least a guest reboot with a different kernel command line, and is not an interim measure; and disabling the kvm-hv module stops every guest on the host.

# interim: freeze memory-slot changes on this host until it is rebooted
# (no memory hot-plug, no live migration in or out, no QEMU memory reconfiguration of running HPT guests)
virsh domstats --balloon 2>/dev/null | head        # see which guests are being resized today
# the signature of an attempt that crashed instead of succeeding is a host oops in book3s_hv or lock_rmap
journalctl -k -b | grep -iE 'book3s_hv|lock_rmap|kvmppc_pseries_do_hcall|vmalloc' | tail

Sources

  • CVE-2026-99471 at CVE.org — the kernel CNA record (19 November 2026): the commit message with the mechanism, the git and version ranges, CVSS 3.1 7.8
  • Fix commits on git.kernel.org: 61a39797 (mainline, 7.4-rc1) and the stable backports fbfff331, 294e306d, 0b456d70, 0f86aba6, 4ab2c987 and c3d0261c; the pages refuse automated readers, so the diff was not read for this page
  • NVD entry — Received; no NVD score, CWE or CPE yet
  • Distribution trackers: Debian (DLA-4927-1) · Ubuntu (High) · Red Hat (Important, 8.8, the PowerPC-only statement) · SUSE (important) · Alpine (unreachable on 30 November)
  • EPSS score for this CVE, 30 November 2026

Related reading

This advisory page was assembled from the primary sources listed above on 30 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.