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.
Published: 2026-04-03
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via kernel panic
Action: Immediate Patch
AI Analysis

Impact

A use‑after‑free flaw exists in the error path of the Linux kernel’s mshv_map_user_memory() function. When the function calls vfree() on a memory region that still has an MMU notifier registered, the notifier remains active. If userspace later unmaps the memory, the notifier fires and touches the freed memory, causing a use‑after‑free and potentially a kernel panic. The flaw can be triggered by malformed hypervisor memory mapping requests and leads to a denial of service by crashing the kernel.

Affected Systems

The vulnerability affects the Linux kernel in all versions that contain the buggy implementation of mshv_map_user_memory. The fix is present only after the patches released in the kernel commit referenced in the advisory. No specific version range is listed, so any kernel that has not yet been updated to include the fix remains potentially vulnerable.

Risk and Exploitability

The exploit probability is reported as less than 1 % according to EPSS, and the vulnerability is not listed in the CISA KEV catalog, indicating a low likelihood of widespread exploitation. However, once triggered, the impact is a complete system crash. The likely attack vector involves exploiting the hypervisor interface from userspace or privileged clients, requiring a successful call to mshv_map_user_memory with crafted parameters. Because the flaw resides in kernel memory management, no privilege escalation to arbitrary code execution is described; the primary risk is denial of service.

Generated by OpenCVE AI on April 7, 2026 at 09:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the commit fixing the use‑after‑free bug (see the referenced kernel commit URLs).
  • If an immediate kernel upgrade is not possible, consider disabling or limiting hypervisor memory mapping features until the fix is applied.

Generated by OpenCVE AI on April 7, 2026 at 09:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Apr 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CPEs cpe:2.3:o:linux:linux_kernel:6.19:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Tue, 07 Apr 2026 08:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 04 Apr 2026 01:15:00 +0000


Fri, 03 Apr 2026 21:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 03 Apr 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title mshv: Fix use-after-free in mshv_map_user_memory error path
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-04-13T06:07:20.340Z

Reserved: 2026-01-13T15:37:46.016Z

Link: CVE-2026-23432

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-04-03T16:16:24.637

Modified: 2026-04-23T21:00:48.590

Link: CVE-2026-23432

cve-icon Redhat

Severity :

Publid Date: 2026-04-03T00:00:00Z

Links: CVE-2026-23432 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-08T19:54:06Z

Weaknesses