Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: mshv: Fix create memory region overlap check The current check is incorrect; it only checks if the beginning or end of a region is within an existing region. This doesn't account for userspace specifying a region that begins before and ends after an existing region. Change the logic to a range intersection check against gfns and uaddrs for each region. Remove mshv_partition_region_by_uaddr() as it is no longer used.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 621191d709b14882270dfd8ea5d7d6cdfebe2c35 before 2183924dd834e0703f87e17c17e689bcbf55d69d; affected 621191d709b14882270dfd8ea5d7d6cdfebe2c35 before ab3e7a78d83a61d335458cfe2e4d17eba69ae73d; affected 621191d709b14882270dfd8ea5d7d6cdfebe2c35 before ba9eb9b86d232854e983203dc2fb1ba18e316681 |
| Linux / Linux | affected 6.15; unaffected 0 before 6.15; unaffected 6.17.13 through 6.17.*; unaffected 6.18.2 through 6.18.*; unaffected 6.19 through * |
CWE
No CWE identifiers supplied.