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=1795154225; b=5CRHWr8oCvlu16c48ZzJtmy6GWkFIR6eBidEOUgA+/PSOCkkkBcMEvI+BG8AIgktw6M6 DaCnOozGt7kNptqtzlQldSiKSxBnsLhaULQBLOMNYnPTfV+3wOHBSly2ahdfzOYY8tt2z 7NTWK3hI5pYj/OBaOeaRkEFQc+OiQHACVlcIidsmTozHRrXGk1fnliHkHv0alRqSVOn4R 1XwU15OtmaytoLd4pLrfWY+A5Ti2Vhfzut1Lp51nPm+rHbvA9bECj3J4eqqHyMfpPGAat qhgdRmEr18F9MWkwPp6II5x2fJRwHa6SZEeGPPTajwLD4K6FDOq+jxWPj4OCIIR66mg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154225; 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=q/l10UXca43zcHBV3vLKCahMWLgUN2nVMnTaKENzb7U=; b=S7ScVBG8D16A0pfMYSzQglC7pbnyiJUwZpGaZobhWg6OzpvBCsTlNFSiwTdMVHFvvI5b x4z4bWvOujRL4kLj9ywm+lHd4vm0OIKCjKyUNjl7zrY+ysPToq5rdRyE7l2ppJeWIjabZ 2Aq/uvJ5pXVa5KSxI5fe9KjSmR83Q9YhbDsWuGMiyE0wrdevHqeXSc9bGWG5957TU64JJ TRAReYx3H4dMvziloCZHpo190pbo//Lb+b0eIbadLNrZvYKYPhpxyt0eil31cm47EDdU4 0wqhpFHiD+BlEI3BTaTn+qgt22yVlA9pNOx+QYHxkU3RFRrZ457hnvgydfWqhd9/abw== 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=TuLlvTDx; 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 1E8AD60A2612 for ; Fri, 20 Nov 2026 05:57:05 +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=TuLlvTDx Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FDC51F000D0; Fri, 20 Nov 2026 05:57:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154225; bh=q/l10UXca43zcHBV3vLKCahMWLgUN2nVMnTaKENzb7U=; h=From:To:Cc:Subject:Date:Reply-To; b=TuLlvTDxPd07P+hFcntKcem/AjvL9spW6gndXWv74bXeEnH4Q4N7q7xhQKU4By3B/ qnIAVOjkE86rIf6qd4oo41Nn8MttkjBJBAS2f4fJUePXOn/G7QGhtpZ0YlXutdJ5Qo 1xCZ+d7P2rwjYHUi/yraKU1yUhAd48AT2ep4AE+0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99668: mm/huge_memory: fix zapping migration entries for device-private THPs Date: Fri, 20 Nov 2026 06:50:54 +0100 Message-ID: <2026112050-CVE-2026-99668-1566@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=2362; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=f3wBequXN2DKARj5RmDlDPGYJfTMpkHTlJLu9qeVJbs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/79dtNfARqrx/2nzLbpaieQqsJaf3HJ79PklKa9H8F sm52Qc5OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiBncZ5idZTv78sDs3PNqo pq9U0PSzTuPu5wzzw03SeH/G6AWu0pBdnLEn0Eg8NCwIAA== 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: fix zapping migration entries for device-private THPs A PMD migration entry can refer to a device-private folio. zap_huge_pmd_folio() checks the folio type instead of the entry type, so it treats such a migration entry as a device-private entry. Installing the migration entry already removed the reverse mapping and dropped the mapping reference. Zapping it must not repeat those operations. Concurrent MADV_DONTNEED during migration back to system memory can trigger this. Check the PMD entry type using pmd_is_device_private_entry(). Fix generated by an LLM and sent by Chris Mason in private. [ david: simplify description ] The Linux kernel CVE team has assigned CVE-2026-99668 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 368076f52ebeecd33e10a9f80905d7508b6b6149 and fixed in 7.3.5 with commit 2d7e94a16d0d33ce2cce5ea06cf61079c392d351 Issue introduced in 6.19 with commit 368076f52ebeecd33e10a9f80905d7508b6b6149 and fixed in 7.4-rc2 with commit 63a940541358d09cc9f02d40b71eb8d3917a21c0 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-99668 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/2d7e94a16d0d33ce2cce5ea06cf61079c392d351 https://git.kernel.org/stable/c/63a940541358d09cc9f02d40b71eb8d3917a21c0