Skip to contentSkip to conversation

CVE-2026-43096: mshv: Fix infinite fault loop on permission-denied GPA intercepts

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

mshv: Fix infinite fault loop on permission-denied GPA intercepts

Prevent infinite fault loops when guests access memory regions without proper permissions. Currently, mshv_handle_gpa_intercept() attempts to remap pages for all faults on movable memory regions, regardless of whether the access type is permitted. When a guest writes to a read-only region, the remap succeeds but the region remains read-only, causing immediate re-fault and spinning the vCPU indefinitely.

Validate intercept access type against region permissions before attempting remaps. Reject writes to non-writable regions and executes to non-executable regions early, returning false to let the VMM handle the intercept appropriately.

This also closes a potential DoS vector where malicious guests could intentionally trigger these fault loops to consume host resources.

The Linux kernel CVE team has assigned CVE-2026-43096 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.19 with commit b9a66cd5ccbb9fade15d0e427e19470d8ad35b75 and fixed in 6.19.14 with commit 02226839079ccc558820a3b25c4c46812927b4ba
	Issue introduced in 6.19 with commit b9a66cd5ccbb9fade15d0e427e19470d8ad35b75 and fixed in 7.0 with commit 16cbec24897624051b324aa3a85859c38ca65fde

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-43096

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/hv/mshv_root_main.c
include/hyperv/hvgdk_mini.h
include/hyperv/hvhdk.h

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/02226839079ccc558820a3b25c4c46812927b4ba
	https://git.kernel.org/stable/c/16cbec24897624051b324aa3a85859c38ca65fde