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 94534385D82 for ; Thu, 17 Sep 2026 16:15:36 +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=1789661738; cv=none; b=GDjqoF2F7qP5La3bi/BTzP8jZEtW95Q6Q9NFvBBFb8puqMtY806fdt9YTL7YH0EoQTZxJ/4/ORCXKL4C0iFbUFczi+1XVLlFmJTdFDJePjJSZ0q1J3U9XwnaD5ozsZQJ60Gn4ui1Ejw1NI+PTJl2QX4G8tDSat6TYUBdvcOwGx0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661738; c=relaxed/simple; bh=pnwuF0OMqZsBEp1cyx21nMebvY7SlHmpl4kEL+5FBSQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TjBTScHS35Yw2iGEkO12lZrakxcDRmvOmIiothxOnusTnAbZDTRId1wD9Z8D0JmT6fPLVggX3BYF2pqEIv8azopV5PYmqBd2lD4xMYgQhuqti8R6qZTc8WdFYSUuNxaUMmQpH8ud/VZXg/0IHRumvBBiGl3pJmlK1l269gL686E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nx4fm9jm; 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="nx4fm9jm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E81491F000FF; Thu, 17 Sep 2026 16:15:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789661736; bh=tM/XjU6l48IRZD/PssGcB1ATaGcvDdjvO97Ah14pffA=; h=From:To:Cc:Subject:Date:Reply-To; b=nx4fm9jm1OBDQEvMjD4qr3KqGmuHbIX2nH/JY6cId3BMnreeez9GP5SS9syEfmQaE CGZswmS4wO2CEM6ZHm4GpSO3vEZ7skdYPMZ1rIkGY4yJieCdrMf6YoJ+lNaYr2enzc oC6wjZaQs7XB4z9BFip63L1f0Kq20rsnHnDgvj/Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90118: ntfs: fix off-by-one page overflow in ntfs_decompress() Date: Thu, 17 Sep 2026 17:09:08 +0100 Message-ID: <2026091716-CVE-2026-90118-19f9@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=2551; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0ZfLLDkhuxcb6wbJjlWWd/TGJOWVgjTZHwcRRQouIIg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBArmrn+m1fn5vp7SLzOugBtRS6123rFaplD9c4fmn nuP+l6KdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEVGIY5llcuS61ZM9G7kSh lHUBF1effTOFO5JhfklJjfcJ3pmC1uqfn026GPH8bUNRKQA= 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 off-by-one page overflow in ntfs_decompress() The per-token range check in ntfs_decompress() uses if (cb >= cb_sb_end || dp_addr > dp_sb_end) break; so dp_addr == dp_sb_end falls through to the symbol copy `*dp_addr++ = *cb++`, writing one byte past the destination page. Since NTFS_SB_SIZE == PAGE_SIZE the destination is a single page, so the byte lands in the adjacent page, and *dest_ofs is left one past the sub-block end (the later `*dest_ofs &= ~PAGE_MASK` then yields 1, not 0, so the page is never finalized and later sub-blocks keep writing further past it). A corrupted compressed $DATA attribute thus produces a bounded run of out-of-bounds writes when the file is read. Break as soon as dp_addr reaches dp_sb_end; a full sub-block still completes, as its final copy advances dp_addr to exactly dp_sb_end. The Linux kernel CVE team has assigned CVE-2026-90118 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 and fixed in 7.2.6 with commit b42644e425fed4a5cd6c88372655da5c1b52c666 Issue introduced in 7.1 with commit 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 and fixed in 7.3-rc1 with commit 98716c9fce21f6c8a9d71e08cf53e7504fa562f4 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-90118 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/compress.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/b42644e425fed4a5cd6c88372655da5c1b52c666 https://git.kernel.org/stable/c/98716c9fce21f6c8a9d71e08cf53e7504fa562f4