CVE-2026-23432

mshv: Fix use-after-free in mshv_map_user_memory error path

State
Published
Severity
7.8 High
Published
Apr 3, 2026
Updated
Aug 5, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b9a66cd5ccbb9fade15d0e427e19470d8ad35b75 to before 34861bdc0c0196b6c2dd48f7454029407704ff6eAffected
  • b9a66cd5ccbb9fade15d0e427e19470d8ad35b75 to before 6922db250422a0dfee34de322f86b7a73d713d33Affected
LinuxLinux
  • 6.19Affected
  • before 6.19Not affected
  • 6.19.10 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.