mshv: Fix infinite fault loop on permission-denied GPA intercepts
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Original 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.
From the CVE record · Linux
References
- git.kernel.org/stable/c/02226839079ccc558820a3b25c4c46812927b4baPatch
- git.kernel.org/stable/c/16cbec24897624051b324aa3a85859c38ca65fdePatch
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43096.json
- nvd.nist.gov/vuln/detail/CVE-2026-43096
- git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git