CVE 7.8 HIGH

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

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2026-23432
Source Linux
Published Apr 3, 2026 at 15:15
Modified Apr 27, 2026 at 14:02

Affected Product

Vendor Linux
Product Linux
Version b9a66cd5ccbb9fade15d0e427e19470d8ad35b75
Affected Versions Linux Linux b9a66cd5ccbb9fade15d0e427e19470d8ad35b75
Linux Linux b9a66cd5ccbb9fade15d0e427e19470d8ad35b75
Linux Linux 6.19

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.