HarborGuard / CVE
Back to search
HIGHCVE-2026-23432Published Modified CNA Linux

CVE-2026-23432: mshv: Fix use-after-free in mshv_map_user_memory error path

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.

Metrics

CVSS v3.1
7.8
Severity
HIGH
Fixed in
0
Affected Products
2

Fix available

034861bdc0c0196b6c2dd48f7454029407704ff6e6.19.106922db250422a0dfee34de322f86b7a73d713d337.0
Affected packages
  • Linux / Linux
    < 34861bdc0c0196b6c2dd48f7454029407704ff6e (from b9a66cd5ccbb9fade15d0e427e19470d8ad35b75) · < 6922db250422a0dfee34de322f86b7a73d713d33 (from b9a66cd5ccbb9fade15d0e427e19470d8ad35b75)
  • Linux / Linux
    6.19
    Fixed in 0, 6.19.10, 7.0
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H