CVE-2026-23432 mshv: Fix use-after-free in mshv_map_user_memory error path
A use-after-free in the Linux kernel's mshv driver allows attackers to cause a kernel panic or potentially execute code via improper memory handling.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-23432?
CVE-2026-23432 is a high-severity use after free vulnerability in Linux kernel, published on 3 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-416
Which versions are affected by CVE-2026-23432?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-23432?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-23432 being exploited?
There is no known exploitation of CVE-2026-23432 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2026-23432, GHSA-cxhx-54f3-q38v, UBUNTU-CVE-2026-23432.