Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 92B0738AC97 for ; Fri, 3 Apr 2026 15:24:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775229886; cv=none; b=M1P6yKcfuUU/614Bfbj1CJvYfHs0DmxjBLiVIcVRa9h6w123jdflyGfPGv6/1F5BV6KRevDLkC7Zo+jjU7JopHyGr1IJkUai5xaFF3KYp5rQ839Ond3MNWGpLhfg/8u68WUYMaVjzMTQAhq02NaiXw/odh0Jli7ff4cPUxmdUaU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775229886; c=relaxed/simple; bh=xkothjjSnxEUeAU2XOBpZGzTOTkrqh49PFYdbzo59k0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Jem2LdTOj4D63m+Gzp4W0Jw8WQz0wm2YEmVErcdvMQKcNyJ7nPyZ2x4HNMdRJ6B3w6QL9hAZUaGrlYRpwVH8tMUFVISx45Rav9fK5Iz3ieGFBIKfsQpX7Xl4PhTN1RWgNTIOwRaiU8esS/dPqn3wWdLNMkDhjkKP0Hgxq4z/J1c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dSgnHq9G; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="dSgnHq9G" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9C06C19421; Fri, 3 Apr 2026 15:24:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775229886; bh=xkothjjSnxEUeAU2XOBpZGzTOTkrqh49PFYdbzo59k0=; h=From:To:Cc:Subject:Date:Reply-To:From; b=dSgnHq9GVMQ5xvO4ryEp4UnYG3IEVrRd6IoLqVd/j2wAQRdzu0xOHnApcdD3csagw QZk+p8f6b0TdpTO5/7CcGHkiS09yslpX9xpT+ki7iIPXiknrCYdzSVy31p1paAsHxX 59h7qSF01bniuClDQc/GkcmQrKGabxAf8dDuvrOU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23432: mshv: Fix use-after-free in mshv_map_user_memory error path Date: Fri, 3 Apr 2026 17:18:13 +0200 Message-ID: <2026040311-CVE-2026-23432-4aaf@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2152; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xFLfvcjS4yoQc7GDzrgNmW0Tsh8SdtGwU/WtO0WFl4I=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnnbxmvr9Kf0P6gjatrtxDTyZgarRdP54bc2fizsLBri 9oieZGqjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIyUWG+SlzJv5PU1pnE3jj uWbTIlMFNdMCG4YFE7U+P3U9P9H9P9/9rI2bDp9YI2gfCAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-23432 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit b9a66cd5ccbb9fade15d0e427e19470d8ad35b75 and fixed in 6.19.10 with commit 34861bdc0c0196b6c2dd48f7454029407704ff6e Issue introduced in 6.19 with commit b9a66cd5ccbb9fade15d0e427e19470d8ad35b75 and fixed in 7.0-rc5 with commit 6922db250422a0dfee34de322f86b7a73d713d33 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-23432 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/hv/mshv_root_main.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/34861bdc0c0196b6c2dd48f7454029407704ff6e https://git.kernel.org/stable/c/6922db250422a0dfee34de322f86b7a73d713d33