Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 3762D360ED1 for ; Sat, 15 Aug 2026 06:15:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774512; cv=none; b=Q9OViHX2t90bT9JO+ii67Tfkzaq6cphr63yonSR4zQANTaSEL7KbChW5yWixIUidp4AiZp5XKKYamI8/MXxirxelOCDnaAARdeehjZH+xkqVqenzoVMQlWnTBunev8ScCyf0Cx27uuxStSRXWWSwzFOhMrbLycKEldzocL22mtg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774512; c=relaxed/simple; bh=SuQYJaENmLvqYB7e1cbwisuMjxSWXQf/tIr0P6xKTEk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sdVDtmmP3fG5ig5a7YVazcG5h27naeC+1pSWb/kNhP10OTYtYAX7EZh1z038zwFob163EN7x/xUjoe1MnOGl3HAsZj9d17ISu3IGUNHyMwENhuFgZ/P/Bzymh9RKDKmhxsc5yy5DNnMcYjCWxaElFOAp2FYf/VkRWUlereTySt8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SwUSSMK7; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="SwUSSMK7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E1341F000E9; Sat, 15 Aug 2026 06:15:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774511; bh=YsO+WB5vjBSFWBBzbuSoaU5F1V9xGaQHrCrrdYsUSDI=; h=From:To:Cc:Subject:Date:Reply-To; b=SwUSSMK7nuumZoS67/r1aRqc67843QkUiqokS5c4j8dXBDZaTUvNGUUH0PtMF1yKk 1nE9kn4trlB2viitpUCOiAj3buOVh6PAk+4N6h9TOGUg61BI8IqrGD9i3Nnknq/O96 kesv+a1fm3E7jN9T1MDZRy/rpKWYpWFQn/a1wP+c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72180: mm/huge_memory: preserve pmd_swp_uffd_wp on device-private PMD downgrade Date: Sat, 15 Aug 2026 15:04:19 +0900 Message-ID: <2026081539-CVE-2026-72180-854c@gregkh> X-Mailer: git-send-email 2.55.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=2183; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KIttJKAhCmPfaWS2tAYuB3rTKS9j5v7/DYlVN1r1YdY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDIdtZ915u7kmYJ11f4/ph8OvNldLTc5wXmKpX8v0Z T7HrfBTHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCReD+GBXPLOJ3ts6NmH8oy Cj19wNwznPXEaoYF+1etqfVrLOdc77r414SwSrX3qdzqAA== 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: preserve pmd_swp_uffd_wp on device-private PMD downgrade change_non_present_huge_pmd() rewrites a writable device-private PMD swap entry into a readable one without carrying pmd_swp_uffd_wp() across. The PTE-level change_softleaf_pte() does this correctly; mirror that here, matching what copy_huge_pmd() does for the fork path. Without the carry, a plain mprotect() over a UFFD_WP-marked device-private THP strips the bit and the trap is bypassed on swap-in. The Linux kernel CVE team has assigned CVE-2026-72180 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 368076f52ebeecd33e10a9f80905d7508b6b6149 and fixed in 7.1.5 with commit 2611f7521c6c124b1bef1be4fc319e0ca144502f Issue introduced in 6.19 with commit 368076f52ebeecd33e10a9f80905d7508b6b6149 and fixed in 7.2-rc1 with commit f7e2c21bd1f57cd5350eecdfdb5d6025ca6afbab 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-72180 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: mm/huge_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/2611f7521c6c124b1bef1be4fc319e0ca144502f https://git.kernel.org/stable/c/f7e2c21bd1f57cd5350eecdfdb5d6025ca6afbab