Description
In the Linux kernel, the following vulnerability has been resolved: mshv: Fix use-after-free in mshv_map_user_memory error path In the error path of mshv_map_user_memory(), calling vfree() directly on the region leaves the MMU notifier registered. When userspace later unmaps the memory, the notifier fires and accesses the freed region, causing a use-after-free and potential kernel panic. Replace vfree() with mshv_partition_put() to properly unregister the MMU notifier before freeing the region.
CVSS 7.8EPSS 0.12%Risk 0.79
View source- Published
- 2026-04-03 16:16:24
- Affected versions
- unknown
- Type
- Core software
- Last modified
- 2026-07-24 21:10:00
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Operating systems
- Linux