Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-23432

published high CVSS 3.1 · 7.8

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

Published
03 Apr 2026, 15:15:18 UTC
Updated
05 Aug 2026, 12:21:43 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb9a66cd5ccbb9fade15d0e427e19470d8ad35b75 to < 34861bdc0c0196b6c2dd48f7454029407704ff6e · b9a66cd5ccbb9fade15d0e427e19470d8ad35b75 to < 6922db250422a0dfee34de322f86b7a73d713d33 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 6.19.10 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable path is reached through local `/dev/mshv` and partition-file ioctls, specifically `MSHV_SET_GUEST_MEMORY`, not via network or adjacent protocols. AC:L - The attacker controls the memory-region parameters and can subsequently unmap the userspace range to fire the stale MMU notifier. No attacker-uncontrolled race or special victim state is required. PR:L - The attacker needs local access to the mshv device or an already-created partition fd, but the vulnerable ioctl itself has no `capable()` check. In a reasonable VMM deployment where that fd/device is granted to a service process, this is Low rather than High. UI:N - After obtaining the local mshv interface, the attacker can issue the ioctl and unmap memory without requiring any separate user action. S:U - The bug corrupts kernel memory through a kernel driver interface and impacts the same kernel security authority. This is not a guest-to-host escape path from inside a VM. C:H - This is a use-after-free of a registered MMU interval notifier embedded in `struct mshv_mem_region`. Reuse of the freed vmalloc object can plausibly expose kernel memory or support read primitives. I:H - The stale notifier callback dereferences and writes through fields of freed attacker-reclaimable kernel memory, including notifier sequence and region state. As a kernel UAF, it is plausibly exploitable for memory corruption or control-flow impact. A:H - The upstream fix explicitly notes that later userspace unmapping can fire the notifier on freed memory and cause a kernel panic. A local attacker can trigger this repeatedly for host denial of service.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b9a66cd5ccbb9fade15d0e427e19470d8ad35b75 to < 34861bdc0c0196b6c2dd48f7454029407704ff6e (affected · git)b9a66cd5ccbb9fade15d0e427e19470d8ad35b75 to < 6922db250422a0dfee34de322f86b7a73d713d33 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.19 (affected)0 to < 6.19 (unaffected · semver)6.19.10 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
9fdc0d009f9fa53d2cbe72775409e536ece5dca063a4f9f0b733b13de5beddea
Ingested
23 Sep 2026, 09:06:03 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected