From mboxrd@z Thu Jan 1 00:00:00 1970 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 3854A58E2BD for ; Fri, 11 Sep 2026 19:58:55 +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=1789156742; cv=none; b=uEYHn5bIkXa8AhH3V/W7JtCuD+PxBAiKM+NrpDXktTpzp+hwbDr2idUv4AvyptRn22+cGwGd2/VR4aWZ/AQUWhT8DhjesUiO9Gx0AGaK0zs0FRBtHZuO7fB8XVbkAtbCWKwdhBdvqU/4bMc5z348Zpb+Tp6KErdvHKhI+2emnKE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156742; c=relaxed/simple; bh=UDVslLZOSE6JYFdrSMYIVXvuuv5YlTYAJZ7rg2A9JlA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=l9PNiLH518ARjAQfBtrg4DpkkSVAFFQ4LtVhT5QV02bhqLp0L15HYCqacAwcHRc7ofDoNtUu7t6l9QgZRPrjy81J25WFl/Ev0+uYE0KDfZ8tIhfIzFQDRycWM7iSNbgmzZt9DWY8mL7MgG1P+gQIISsqLt3ET+eyVsnvOt4Jkkg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gqtkCYdP; 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="gqtkCYdP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F23B1F0089A; Fri, 11 Sep 2026 19:58:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156735; bh=RBUQJ9BFhu23g/QQUxtUabQxtE9uqP+Gs8K63raJwLo=; h=From:To:Cc:Subject:Date:Reply-To; b=gqtkCYdPIYRHqnVIMqmhbY47olCCPsjzUEtd0RGdB/sM7+U2bw7ewI+BktNIqGlm4 hvFSb//6r4YWOCjscIozaPOOHgygzZ6gCXiLCzXwoyQxp0nTBdFeYNmr3Hh1JSX52L AVnMG43QGPx/0zk1X6SbetnX2n4apQSZmUOaiwZk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89616: fs/ntfs3: fix info-leak on partial LZNT decompress in ni_read_frame() Date: Fri, 11 Sep 2026 21:45:05 +0200 Message-ID: <2026091136-CVE-2026-89616-65d5@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=3499; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Ilz5ATHpnUfCXQYum7bbD9fZg0xUfUUOS1EZsFQ510c=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIgtuHl56uvfrohBxq7X9+67U6c99cs51z715f+pex Okcbef42RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATKfvKML/u9Fm/Q2urotl2 fv52e94pth+i+9QYFqxn38F1byZXxArTap81jNbPjnxlsAAA 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: fs/ntfs3: fix info-leak on partial LZNT decompress in ni_read_frame() ni_read_frame() decompresses an LZNT $DATA frame into the vmapped target pages and then trusts decompress_lznt()'s return value: unc_size = decompress_lznt(frame_ondisk, ondisk_size, frame_mem, frame_size); if ((ssize_t)unc_size < 0) err = unc_size; else if (!unc_size || unc_size > frame_size) err = -EINVAL; decompress_lznt() stops as soon as the compressed stream is exhausted (e.g. a zero chunk header) and returns the number of bytes it actually wrote, which may be far less than frame_size. The bytes between unc_size and frame_size are never written. The only memset() that follows zeroes the region beyond i_valid; when the frame lies entirely within the file's valid size that memset() does not run, so the gap retains whatever was in the just-vmapped pages. All pages are then marked uptodate and returned to userspace, disclosing uninitialized (recently-freed) kernel page memory. A crafted compressed file whose stream decompresses to only a few bytes leaks the remainder of every frame on a plain read(2), which is enough to recover kernel pointers and defeat KASLR. Zero the [unc_size, frame_size) tail immediately after a successful LZNT decompress so the remainder reads back as zero. The Linux kernel CVE team has assigned CVE-2026-89616 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 4342306f0f0d5ff4315a204d315c1b51b914fca5 and fixed in 6.12.109 with commit 0f699ddb290a24b37e1bc9bf1e3c9dbccf564bea Issue introduced in 5.15 with commit 4342306f0f0d5ff4315a204d315c1b51b914fca5 and fixed in 6.18.50 with commit 376ee45659a4b943df672ad275c63da00655f929 Issue introduced in 5.15 with commit 4342306f0f0d5ff4315a204d315c1b51b914fca5 and fixed in 7.2.4 with commit 4a1b39b2e10eb8de86265e80cf2be4396bc1dce4 Issue introduced in 5.15 with commit 4342306f0f0d5ff4315a204d315c1b51b914fca5 and fixed in 7.3-rc1 with commit 35d1ea92c7d946e2ebdbe36cdb2c969c8704bebd 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-89616 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/ntfs3/frecord.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/0f699ddb290a24b37e1bc9bf1e3c9dbccf564bea https://git.kernel.org/stable/c/376ee45659a4b943df672ad275c63da00655f929 https://git.kernel.org/stable/c/4a1b39b2e10eb8de86265e80cf2be4396bc1dce4 https://git.kernel.org/stable/c/35d1ea92c7d946e2ebdbe36cdb2c969c8704bebd