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.
INFO
Published Date :
May 1, 2026, 3:16 p.m.
Last Modified :
Nov. 11, 2026, 11:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to the latest version.
- Apply patches that fix pin_user_pages_fast() error handling.
- Ensure proper accounting of pinned pages during cleanup.
- Validate region pinning and page reference counting.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-43045.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-43045 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-43045
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-43045 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-43045 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mshv: Corrección del manejo de errores en mshv_region_pin El manejo de errores actual tiene dos problemas: Primero, pin_user_pages_fast() puede devolver un recuento de anclaje corto (menor que lo solicitado pero mayor que cero) cuando no puede anclar todas las páginas solicitadas. Esto se trata como un éxito, lo que lleva al uso de regiones parcialmente ancladas, lo que causa corrupción de memoria. Segundo, cuando ocurre un error a mitad del bucle, las páginas ya ancladas del lote actual no se contabilizan correctamente antes de llamar a mshv_region_invalidate_pages(), lo que causa una fuga de referencia de página. Tratar los anclajes cortos como errores y corregir la contabilidad parcial del lote antes de la limpieza. -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 15, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/43xxx/CVE-2026-43045.json">CVE-2026-43045</a> Added Reference https://git.kernel.org/stable/c/a7d149152bc5a9119854331c57be35ad31fdf5cc Added Reference https://git.kernel.org/stable/c/c0e296f257671ba10249630fe58026f29e4804d9 Added Reference https://git.kernel.org/stable/c/d14847cb7f65d419e43451d416a1f50c09a5f3be Removed Reference https://git.kernel.org/stable/c/a7d149152bc5a9119854331c57be35ad31fdf5cc Removed Reference https://git.kernel.org/stable/c/c0e296f257671ba10249630fe58026f29e4804d9 Removed Reference Type https://git.kernel.org/stable/c/a7d149152bc5a9119854331c57be35ad31fdf5cc Types: Patch Removed Reference Type https://git.kernel.org/stable/c/c0e296f257671ba10249630fe58026f29e4804d9 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '621191d709b14882270dfd8ea5d7d6cdfebe2c35', 'lessThan': 'a7d149152bc5a9119854331c57be35ad31fdf5cc', 'versionType': 'git'}, {'status': 'affected', 'version': '621191d709b14882270dfd8ea5d7d6cdfebe2c35', 'lessThan': 'c0e296f257671ba10249630fe58026f29e4804d9', 'versionType': 'git'}], 'programFiles': ['drivers/hv/mshv_regions.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.19.12', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/hv/mshv_regions.c'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
May. 08, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-Other Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.15 up to (excluding) 6.19.12 Added Reference Type kernel.org: https://git.kernel.org/stable/c/a7d149152bc5a9119854331c57be35ad31fdf5cc Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c0e296f257671ba10249630fe58026f29e4804d9 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 01, 2026
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/a7d149152bc5a9119854331c57be35ad31fdf5cc Added Reference https://git.kernel.org/stable/c/c0e296f257671ba10249630fe58026f29e4804d9