From mboxrd@z Thu Jan 1 00:00:00 1970 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=1796045725; b=F/UvabvaVKYxhVCmEpl8a4Tn5S182oPUU48QV3meOrsbFlRkIsUCVUUX1Tg9bGYSNSGR HDY0QxvcPg6V+yMLQ/X0IHxacqa8cJA2MSGUAWHijorCsvZjQxVI4Ta22aM4CdwDkmuvU qxaHryoniIDE9hRwOiLYFcX/4HHXxIdIveEJlSfdpHN12UUlGeQ8JgGKhYtkrtlf+lV8v TxJIxtWYqX+mxZJxrnToAwPLuHf8Yi1T9LlKslkuGbKeA91K+gxQVRfUjDbpCWth6z2ob Uc648doGTkXwppHNAuSwEY9ToKIv/Uoteeqb2ra6M4wKb/6mC7vipO9rBEevIaCk32g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796045725; 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=DhLhVnNXF0UFxHMLEvGZNxl1ky58CllOi4dkVaJAqOk=; b=0U2KyKq85eLYDACOMXDCaC6lT6WoBaPAuCjx2IX46y95bcdDfskLnH5r9O0R7PlOn2GQ qAzkkqfmrHhaPN+h7DDJV0rX6SKoBEvHHt90BBu7NAZ9mfRkfNnimxSdB1Fjq+usVkHDV rJxjkih+gJRoZlhLjIBpWfEd5LzzTLrpYfXhmqiACgcdxkzGbuUEdlooXAFSaYiWAUyq+ vk3tvPj2hCVqG4KBLsT65qVoQUUNL4L0mJxJCc2s0PR264MpjdExjoYxFareE3NbH+t/O 9U5T0j+LNvhyUlWqJVJMbORCu3Pc6vchswJ1ZtGh/W6AbOkWuHtYTMHQiWCMnGwxE3A== 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=tdwiyhS8; 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 07EED606A31C for ; Mon, 30 Nov 2026 13:35:25 +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=tdwiyhS8 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 503511F00897; Mon, 30 Nov 2026 13:35:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796045724; bh=DhLhVnNXF0UFxHMLEvGZNxl1ky58CllOi4dkVaJAqOk=; h=From:To:Cc:Subject:Date:Reply-To; b=tdwiyhS88cl3+dFDRFzE/K0YfcYlEySzl+SiSVaUVz+dDIlOuNpy3Nnjnj8H1tr+r 66qh8clG0KVyA+OtiW31yaNI6eLau9ArMYXJIwJ7eQBAAXqVXGIfVIMpXsvcsZU9az va/55gwRUa11EraCIb11CJsTPQDBRBBBy7hy/Ug0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99992: ntfs: fix kmap_local leak in ntfs_check_logfile() Date: Mon, 30 Nov 2026 14:20:22 +0100 Message-ID: <2026113005-CVE-2026-99992-e49b@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=2789; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=H7dymI77eoROh39ChYTF9eOFA3x/RX1WTEuOumzb+CE=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm85b1uByYFTr58V5jz6LoT30OPsz87eOz/t/ozq+Tj+ C/H5V7I6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJrGpjWDA/fCqPgiH7XRn/ Rc/vTHXu3LMrrolhDv92I+aL8vtqNdcmsqYpGb7Ye/rmSwA= 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: ntfs: fix kmap_local leak in ntfs_check_logfile() ntfs_check_logfile() calls kmap_local_folio() on every iteration of its search loop but kunmap_local() only once per folio. The loop visits positions 0, 512, 1024, 2048, 4096 and so on. With 4 KiB pages the first four are in one page, so a mount whose first LogFile folio is in highmem leaves three entries on the kmap_local stack of the mounting task. Kernels without HIGHMEM are not affected. The leaked entries keep migration disabled. nr_pinned of the runqueue the mount ran on stays raised after the task exits, so taking that CPU offline blocks forever in balance_hotplug_wait(). The fifth mount in one task reaches KM_MAX_IDX (12 leaked entries plus 4 in the loop) and hits the BUG_ON() in kmap_local_idx_push(): kernel BUG at mm/highmem.c:480! On x86-32 the generic entry code also warns on return to user space: DEBUG_LOCKS_WARN_ON(current->kmap_ctrl.idx) WARNING: include/linux/highmem-internal.h:17 at __do_fast_syscall_32+0x21e/0x550 Map each page once, when it is read, and unmap that address. The Linux kernel CVE team has assigned CVE-2026-99992 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit 5218cd102aec7ae8df6af6e681ebb0b6d8e798f4 and fixed in 7.3.4 with commit f45b6993d70d5eda419f1a95534d5a6b2c86954f Issue introduced in 7.1 with commit 5218cd102aec7ae8df6af6e681ebb0b6d8e798f4 and fixed in 7.4-rc1 with commit a5ec71084996aec76d07e0e530a345cdd202dc1a 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-99992 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: fs/ntfs/logfile.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/f45b6993d70d5eda419f1a95534d5a6b2c86954f https://git.kernel.org/stable/c/a5ec71084996aec76d07e0e530a345cdd202dc1a