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 0BDD4251795 for ; Wed, 27 May 2026 13:01:28 +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=1779886889; cv=none; b=dtvwmmeH8ElNvKY1PnMDwtyUTQgA9ER2MZI0G5/SZjvdMhgYplte1Mw4750wa0oFHKMhQWrxSIipCRqed32pOQ9pB5HjBL0MhkQfu93qCzCsmZOBFmcEJXnasHQ3o74et5tOo0uLaBXHP/4It6bYF6mMWGAo60MGFazrtS3E6ww= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779886889; c=relaxed/simple; bh=e1gnetq66+ln2q7aHBft/Xrbw0QOyQee+G8QlNZ+JYE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VeRKS9emTcOQ6wkvXZy+u+8L/OHswM6atJe5b0CGuVGm2uvDMAACRJ2Q2q6LCmxnNaHLiV4Uh02bUtf+j7fkkJnDONK8rVWiE9hAsqfEg6FbHuW4q5MMdjTae9Pb+T3Ae2irHkysnI03sdRlyswIumD35g2ufvRNqMVn4e7OZyU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0I9CUhQQ; 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="0I9CUhQQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B6321F000E9; Wed, 27 May 2026 13:01:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779886887; bh=Fflp/y9VMAQ2YCUM9taIVT6ctjsUdC6ExGTCLZIcHAA=; h=From:To:Cc:Subject:Date:Reply-To; b=0I9CUhQQ+11DSNqqF6n8/JKKCS9mYPI356RH9+OpOhvZXhnPfUuKr2/0WpvR0NbIs FDOPGN1ovoaKY076uk28Pxr9DB66SrDkDtR7vkfuJlHM7degmsgGnomLq0jeTElrRG L4V/DNbKtUBIHMHdmml1J29OWBM+gHHzKuBLheRc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46017: mm: fix deferred split queue races during migration Date: Wed, 27 May 2026 14:59:08 +0200 Message-ID: <2026052745-CVE-2026-46017-1f1b@gregkh> X-Mailer: git-send-email 2.54.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=2316; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pXhTjqhl55+igvNOSJK8MSyiPsYLK+ATUY47ywIZdaI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir9pyuYuULCYFbduia7FEPP1nca+J3PFyxgxpaeEHr 5ZpsPN3xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETcLRnml/BLLchYPjlkx+rH Se5TCpqvaW7axbBgr9f5B7PqPq+ZWmqwNmX3f4cEr9KrAA== 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: fix deferred split queue races during migration migrate_folio_move() records the deferred split queue state from src and replays it on dst. Replaying it after remove_migration_ptes(src, dst, 0) makes dst visible before it is requeued, so a concurrent rmap-removal path can mark dst partially mapped and trip the WARN in deferred_split_folio(). Move the requeue before remove_migration_ptes() so dst is back on the deferred split queue before it becomes visible again. Because migration still holds dst locked at that point, teach deferred_split_scan() to requeue a folio when folio_trylock() fails. Otherwise a fully mapped underused folio can be dequeued by the shrinker and silently lost from split_queue. [ziy@nvidia.com: move the comment] The Linux kernel CVE team has assigned CVE-2026-46017 to this issue. Affected and fixed versions =========================== Fixed in 7.0.4 with commit cbf75cf212ee6e499abc1757fb4b5ae6d70ed0aa Fixed in 7.1-rc1 with commit 3bac01168982ec3e3bf87efdc1807c7933590a85 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-46017 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 mm/migrate.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/cbf75cf212ee6e499abc1757fb4b5ae6d70ed0aa https://git.kernel.org/stable/c/3bac01168982ec3e3bf87efdc1807c7933590a85