Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154388; b=yqwFjmWc4mhHMuAbrNi+6WGh8rdnwu0kFnCM00d5L0AxsZ4ln7WXo/FjXKu8fg1n56+C jJsOcdiIe373075Bg8YyLkpGgguOhuh7zdrBtHZeFaj7kA5Om52bxeOpCm3Uzb3+mw7LL DlhLWBOErQ5wN5SB3MeRckAsZtJ+usyevs3CGfX10bb8aRh4MMZ5PfCH2qgc96Fxb8ufB QhfrL4nptnQyhyTjI3ptX2Kfo8DNmXBheOoleJYtHLQ/UP7kwXTCxh0wJhgnrt0kUCW/9 XmMHrKF6VgZkkbSdkKWSWluJQi04pEFiYOV0Nu234axAEleD3kKUzaDPrFtMgTf0pBg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154388; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=oNieMgva3v/MGOzYGlIhd/qb2Yp9jzBvOZuzBd4vmyw=; b=3BCbb+jfwi0NRKc+HUsnaZAa6/8upO3+XTiZr30BHhM6L1qt329JKymc/ILaGA4HLWvD u4B3qsMmUxBIJ0P7jXzyNkiIEBpeTrUyhirrPqDQCXT+eNn78ADvhd1LSgzi/0yqKkpPO 8sia4IjKpGoLGn5K+D2AjCyZ7NqfAN5PYrS47n8YM6c32YZXlRh6zM1SMko07YZFAXfZB ujh5QqPPuNvCDQIX9CO/yZOXaTsSaIGle1YPad0kaGMmS6pmVJD3U5YMryOWxRMDQ4iqd vmpsrIxobSrUKbRHINKdRoZR/p3FN8XpA2tuGfbZolrjMhiBueHVJVkXEei2OKyiC4A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=oLGozb0Q; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D0A65606A50F for ; Fri, 20 Nov 2026 05:59:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=oLGozb0Q Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C88B1F000CA; Fri, 20 Nov 2026 05:59:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154388; bh=oNieMgva3v/MGOzYGlIhd/qb2Yp9jzBvOZuzBd4vmyw=; h=From:To:Cc:Subject:Date:Reply-To; b=oLGozb0QdCD1V4CZyoL/w0x243e+E0agZeaM7GY4ZSGFr1JORO2OYbRoZY5hnmsdi bCAoTEyIq5kXzATK11lL/IoOV/IlxoGlpQaPE6tDn763S87msmzL9Lj5vaI0fuWHjK rFvpgkjiwYKUbGuncS+aND1sKn7qIzutHurdWGKc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99727: mm/huge_memory: properly handle refcounted PUD mappings on fork Date: Fri, 20 Nov 2026 06:51:53 +0100 Message-ID: <2026112012-CVE-2026-99727-3d58@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2464; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iXGdHQwQE5F9ChLQKhMN+hdtEmf4aIcymmN7PxPOLK8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/70/xerpoh9u5GVJH8zuf/pun/GTfsdrKkJ+B71bUv f1wZ+epvo5YFgZBJgZZMUWWL9t4ju6vOKToZWh7GmYOKxPIEAYuTgGYSKEWw1zBVlPWF0dOh039 uZCtmrvvVsaGKdoM86zLLi6363I4yt+wcuNCaZ9UK06BXwA= 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: mm/huge_memory: properly handle refcounted PUD mappings on fork copy_huge_pud() copies device-DAX entries without taking a folio reference or updating mapcounts and the child's RSS. For example, MADV_GUARD_INSTALL sets VM_MAYBE_GUARD on a device-DAX VMA, forcing copy_page_range() to traverse the whole VMA on fork. Any remaining huge PUDs are then copied without accounting for the new mappings. Unmapping them in the child decrements accounting that was never added. Use vm_normal_page_pud() to identify refcounted mappings. Take a folio reference and add the child's PUD rmap and RSS accounting before installing the copied entry. Pass src and dst VMAs consistently instead of src and dst MM. Move the TODO. The Linux kernel CVE team has assigned CVE-2026-99727 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit aed877c2b4257a25b2429f165542f86125871071 and fixed in 7.3.5 with commit e8ebc5a46795cd1fb4333df81f19bbf458467cce Issue introduced in 6.15 with commit aed877c2b4257a25b2429f165542f86125871071 and fixed in 7.4-rc2 with commit d90bdc02e36ec08d8248ebc6cdc52e12043eb28c 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-99727 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: include/linux/huge_mm.h mm/huge_memory.c mm/memory.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/e8ebc5a46795cd1fb4333df81f19bbf458467cce https://git.kernel.org/stable/c/d90bdc02e36ec08d8248ebc6cdc52e12043eb28c