What’s Vulnerable › Vulnerabilities

CVE-2026-43045: mshv: Fix error handling in mshv_region_pin

Description

In the Linux kernel, the following vulnerability has been resolved: mshv: Fix error handling in mshv_region_pin The current error handling has two issues: First, pin_user_pages_fast() can return a short pin count (less than requested but greater than zero) when it cannot pin all requested pages. This is treated as success, leading to partially pinned regions being used, which causes memory corruption. Second, when an error occurs mid-loop, already pinned pages from the current batch are not properly accounted for before calling mshv_region_invalidate_pages(), causing a page reference leak. Treat short pins as errors and fix partial batch accounting before cleanup.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.19.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-43045 or the next vulnerability affects your stack