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 20DF6459AEE for ; Fri, 25 Sep 2026 10:41:23 +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=1790332885; cv=none; b=LnkgdQ/01wDk/b3w+95JT1CVwZ/+4uDhBzegrhKFrWXUbm/ILIRw4xwGhR93hMICMpA3irekEV1jzFQOxmaJQ4iiz++SyXsJvoScIpFCm4Hr9d9FdmZ7trc90W1OE6VdJmSpIBhOBrz712Eo1/S2ulfX5PIkO2wrSs1VzEqVI1I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332885; c=relaxed/simple; bh=V7eARM8lzDk04i3vy7sYI+fowWSKCC1hPW+kVPUG5f8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OytFU00sZj/ljgFR87NUhprUJwiINpPA4XcUaYGx3e5gPJmkoPX0dFsC5Ib9I9Wof8YACJAYuBo6xCx181LpWOtuMh2iD/S9Qo/GxZ3OIznipoe0MG3SosmydmDMU87FE0oCJiSDxyLR7X0mrKTiWgr+mKZzkd+wBaCHDzYuOeY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pSIxxtQg; 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="pSIxxtQg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DAEA1F000FF; Fri, 25 Sep 2026 10:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332883; bh=koC5011gJb/xHHxnTY0SUj7JZALHGdxHEbKrqck/xIE=; h=From:To:Cc:Subject:Date:Reply-To; b=pSIxxtQghG7bqxNnoLO+71AhrEnROlzEvEU9bq/nhM1FwbxqtHmra46q4NIHTgcJ+ wqGwB8njviRl6pPFn8RYCazd29KwI7bzphPNFTxKeauopkjdPZbHXsWYODiYDHcNkt e47VZ94q3euSzWgnXXObRJodQR/VDdDZpZ09KzGw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98140: ntfs: fix kmap_local leak in write_mft_record_nolock() error paths Date: Fri, 25 Sep 2026 12:39:47 +0200 Message-ID: <2026092517-CVE-2026-98140-25f1@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=2105; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZFpT9v0afLz5Q9oVlXDg2ily90CMFo3dlarSlaIcjSw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnb/EP/WRwpNMmRzfnvveLO0sLQyGPs1WaV96seVBVNu n7RdBFLRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkgxjDPPO56W+t5k/b/+8n T/49Rlm/BRsMKxkWXCxQPiSw66K/7a94/+tfZ9+yiTc+DAA= 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 write_mft_record_nolock() error paths write_mft_record_nolock() maps the MFT record folio with kmap_local_folio(), but the pre_write_mst_fixup() and bio_add_folio() failure paths jump to the error label without unmapping it. kmap_local mappings are stack-ordered per task, so leaking one corrupts the nesting for any outer mapping. Unmap the folio on those error paths too. The Linux kernel CVE team has assigned CVE-2026-98140 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit 115380f9a2f9675c7924563cbba70d40cae8fb81 and fixed in 7.2.7 with commit 5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c Issue introduced in 7.1 with commit 115380f9a2f9675c7924563cbba70d40cae8fb81 and fixed in 7.3-rc2 with commit cf06dcd572845723821b54a608fc2da995c3c8e2 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-98140 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/mft.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/5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c https://git.kernel.org/stable/c/cf06dcd572845723821b54a608fc2da995c3c8e2