CVE-2026-99168: mshv_vtl: Check per-CPU register page before mmap
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
mshv_vtl: Check per-CPU register page before mmap
Register-page setup is optional for each CPU. If allocation or registration fails, mshv_vtl_configure_reg_page() warns and leaves that CPU's reg_page NULL, but initial context setup continues successfully. Meanwhile, successful setup on another CPU sets the global mshv_has_reg_page flag.
mshv_vtl_fault() checks this global flag before selecting the requested CPU's register page. With mixed setup results across online CPUs, the check passes even for a CPU with no register page, reaching get_page(NULL) when userspace faults in that mapping.
Check the selected per-CPU register page before taking its reference and return VM_FAULT_SIGBUS if it is absent.
The Linux kernel CVE team has assigned CVE-2026-99168 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.19 with commit 7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f and fixed in 7.2.13 with commit 5c0757b065fbd140d8fbd05dc2c2146b713dfa68 Issue introduced in 6.19 with commit 7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f and fixed in 7.3 with commit 874194a8de75fc2f4d1fb70c670b289b7e48f93e
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-99168
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_vtl_main.c
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/5c0757b065fbd140d8fbd05dc2c2146b713dfa68 https://git.kernel.org/stable/c/874194a8de75fc2f4d1fb70c670b289b7e48f93e