mshv_vtl: Check per-CPU register page before mmap
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5c0757b065fbd140d8fbd05dc2c2146b713dfa68, Kernel 874194a8de75fc2f4d1fb70c670b289b7e48f93e and Kernel 7.2.13.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f <5c0757b065fbd140d8fbd05dc2c2146b713dfa68, >=7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f <874194a8de75fc2f4d1fb70c670b289b7e48f93e | 5c0757b065fbd140d8fbd05dc2c2146b713dfa68, 874194a8de75fc2f4d1fb70c670b289b7e48f93e |
| linux-kernel: Kernel | >=6.19.0 <7.2.13 | 7.2.13 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket