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=1795154391; b=NncyysCEzZcNH5yTk2DaUHmzwCEVbS8qqvRH64qDWdjn5/sstataxDwi8f0oCHvLR0CS a4NLOF9HztzGx5pBcq+RrQaZj9xPIPyNjL+JuEBZaYjDu/cMGjgmqfaUbD1n+3WIIzjJa OPqjAnscea3r2djacgfOCosGL803iv4NE5ECMhASIhPiG3P+/5MWbH4fZmE6XR0m8cjOt +jcVUZa3gP3yuZWHz/R91mra44YZoz5hXNj6+v48DXi1YZEvilS1If2S0k4ZAQ5DAOayI SogLKB1BuNtmdB62umR39ySRx6s1D2CLHHsulx391Al8meEUpem+J6OYS378ZYbC1OA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154391; 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=UF9dvwb6g+P3wAN2s3n+DcTjuD8kDoCjkbkqC6OIxeI=; b=U5Pzye6VFTYAliHA1wwuSRooupyYbfaayPA3KH1Qtl+WthICLd4P0KOt6vcJHIecQkDg ELAqPv5O4i0Ki4B33HJKm7SxsePNxDAbxch1XpBCIgFiyjW7nF/tM/NLsjsBWaceiEg4s USnsW1J9i5wdLyP91jVYRUQkxQbNqRayjEQfbEzVL+VqcY2fbzSzXgeUXSMFALrCcxp3r Kvtxwf4cr2Xk8xD/nt6ktb1BxzG/+P9kC/6CI+B2pAF0r75WBg+YiQDPjRbYaK5QsX+VI QRS4GGwrkVxv4lqQYw67/Ewl3mSMYJhqKsb3kEsTBqNnMXT/IgtLYBM7dfFH2gRJ11g== 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=xQfZpHZP; 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 B6864606A512 for ; Fri, 20 Nov 2026 05:59:51 +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=xQfZpHZP Received: by smtp.kernel.org (Postfix) with ESMTPSA id 104371F000CA; Fri, 20 Nov 2026 05:59:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154391; bh=UF9dvwb6g+P3wAN2s3n+DcTjuD8kDoCjkbkqC6OIxeI=; h=From:To:Cc:Subject:Date:Reply-To; b=xQfZpHZPgeJkSwGO9vyPFhyjhEDofUSDeerU7jrv8qxBodGlrlWkCRHuv09RcTcxS YAs/k8K9bwlsdzS2m20xRwgZ2gEu+5Uji480VwWw3OX/kwLaRhQcqt3NKrNGXj7P2C wUQjMUYelYbqShYdfLIvkZR/39+LGUlLJ4k8wPr0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99728: mm/huge_memory: fix list corruption when deferred_split_scan() races with deferred_split_folio() Date: Fri, 20 Nov 2026 06:51:54 +0100 Message-ID: <2026112012-CVE-2026-99728-28c2@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=3457; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=M3DNFUgiVLOSr69MsjlPl86d32VqbcysJlu4z3KYmFw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/70+dd++k9LJLRy+VpCxKC8g5sJpz25TDkmzXZKVsr z95pfx8eUcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMpN6eYX7x1k6LY3fOPTTZ qWVS+WPjhrM/1KIY5tfuyNgZ+alz5kU1ZqeA+Z0S4RWn3wMA 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 list corruption when deferred_split_scan() races with deferred_split_folio() Since the deferred split queue became a list_lru, the isolate callback moves the folios it took a reference on to an on-stack list, linked through folio->_deferred_list, and deferred_split_scan() takes them off that list with list_del_init() without holding the list_lru lock. deferred_split_folio() does not know about the on-stack list. It only holds the list_lru lock when it looks at the same list_head, and it can run for such a folio: a THP is queued when it is mapped, as a candidate for the underused check, and is queued "again" when a part of it gets unmapped: CPU0 deferred_split_scan() CPU1 deferred_split_folio() list_del_init(&folio->_deferred_list) next->prev = prev prev->next = next entry->next = entry list_lru_lock_irqsave() folio_set_partially_mapped() __list_lru_add() list_empty(item) -> true list_add_tail(item, &l->list) item->next = &l->list item->prev = tail entry->prev = entry The folio now sits on the list_lru with ->prev pointing to itself. The next removal leaves the neighbours pointing to it, and they still do so after the folio has been freed. With CONFIG_DEBUG_LIST: list_del corruption. prev->next should be ffd4000000270090, but was ffd4000000278090. (prev=ffd4000000270090) Fix it by grabbing the lock around list_del_init() so deferred_split_folio() cannot race with it. The Linux kernel CVE team has assigned CVE-2026-99728 to this issue. Affected and fixed versions =========================== Issue introduced in 7.2 with commit fafaeceb89a5e2e856ff04c2cacb6cae4a2ecb67 and fixed in 7.3.5 with commit 877a9fbabf760714f510f36b310a986c4be2c2d8 Issue introduced in 7.2 with commit fafaeceb89a5e2e856ff04c2cacb6cae4a2ecb67 and fixed in 7.4-rc2 with commit f09171b67ea06a7fe425db33e8b74a92de1426b9 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-99728 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/877a9fbabf760714f510f36b310a986c4be2c2d8 https://git.kernel.org/stable/c/f09171b67ea06a7fe425db33e8b74a92de1426b9