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=1793187484; b=iMCy+TJ5/8vKKosmjOniFPTIYZYx1xVyj547DCzgKOfpqgPzCuIIYQolsKzc4wDc0h1b MXJjG/tQK4bshzPwG5WvgdLuuON9WquM8eyfYyu8v5mv5XIH9ltqcLRpJiL7xGMmgydM6 JMErilNIrj0Kfc8HMwZzrO5KQbS03FxbulqYxrejAk25rEoJFayCPWb5anyS+FqTdSNQu 2rHwnF8fn3RDyhbXwGABBEGS6mLAgxFOx/2GBOjNlD3qyuFkdzLtcppQb5eIUySjamfUB xagzvIDdS0DvKxjS2VjhSAkrV4Zx4UvY48zHtfYhZ3bHvF589yWcZLFxVSe37Ckj+sQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187484; 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=Sz0djjhriyrH60xNpbrxi3LZWnR6+lgMdW2pvEIFpms=; b=rg/tl0jpgbzHNH007ACHkqOb2Y7reZkUs3L4Kz6VKUzJUSvXo8sLE3UpJnCp+VV7gISu ZRsI1t3f2F3TmRv1FSG4AHqEbP45zxVWcPzTkWN2o2q9Gq3q03XdsZbd72T9oM1yf8oa6 d3XGE+OXv6Ip7Iot7mnPwVKjtWpMsGzxkMVGuh2ksPN2umpbsKz/i58nAL2oCz6Pln9wW IqS85XxsZaf6znS5yJXQULRsmKX6EjCXbNwKpHj6Drgbu+NC7oJ3mkVYlE6dnGeWISMN8 3O1XZqYZ/LCAPaPV0E6OmjVvAvW1zcrrqgcQ08ofw3OaZyp9rgotnHGJSnbK4Fsk3ag== 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=QEPMwX1B; 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 C65FA606A31C for ; Wed, 28 Oct 2026 11:38:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=QEPMwX1B Received: by smtp.kernel.org (Postfix) with ESMTPSA id 056761F01825; Wed, 28 Oct 2026 11:38:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187483; bh=Sz0djjhriyrH60xNpbrxi3LZWnR6+lgMdW2pvEIFpms=; h=From:To:Cc:Subject:Date:Reply-To; b=QEPMwX1BoRTBixbpWeqGBv4+IN3yTdV1PvJYZoSctn1nZo/WxGhA7DCjiI4cqf9r4 qR8kdu1d1TsD2vwLj0P59K1Mz3nf60jVlmN3myOqpP5hW05TMRiwyWc2N9kGVriOJQ AJLkoSFze/fNNBM+aD/7BXE+jzbT9kyhw2/KQLEE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99108: ntfs: fix FITRIM range alignment Date: Wed, 28 Oct 2026 11:34:55 +0100 Message-ID: <2026102853-CVE-2026-99108-218d@gregkh> X-Mailer: git-send-email 2.56.0 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=2721; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nrcEqD8o5mbH4qwqWwD3tgfFwMKp3BhKl/URC1FlH+k=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz599v4D1eKf5JAHv768Muxxir851Zrfr0LrgH3Ugr PyvT3BaRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkfCnD/Gong8sy6c0ex/T5 +A9uvlU6v2Y7I8M8pQz+4qL1jg8lmM2nGWiEl56ZeOgtAA== 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 FITRIM range alignment ntfs_trim_fs() aligns the start of a free extent up to the device discard granularity, but derives the discard length by aligning the original extent length down. When the free extent start is not discard-aligned, adding that length to the aligned start can extend the discard past the free extent and into allocated clusters. For example, with 4 KiB clusters and 32 KiB discard granularity, the free extent [4 KiB, 36 KiB) becomes the discard range [32 KiB, 64 KiB), so 28 KiB beyond the free extent may be discarded. Align the absolute end of the free extent down and derive the length from the two aligned endpoints. Skip extents that contain no full discard unit. Reproduced with a 4 KiB-cluster NTFS filesystem on scsi_debug configured for 32 KiB discard granularity and read-zero-after-trim. Before this change, FITRIM zeroed seven allocated 4 KiB clusters following an unaligned 32 KiB hole. With this change, the same data remains intact across FITRIM and remount. The Linux kernel CVE team has assigned CVE-2026-99108 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit 11ccc9107dc460de28af90fac1f42404d9802735 and fixed in 7.2.13 with commit 5e87da8ba8d3d647d89c754912e45c1f1a3bfc2e Issue introduced in 7.1 with commit 11ccc9107dc460de28af90fac1f42404d9802735 and fixed in 7.3 with commit 03c6ecc4b4b13a3901f207152451fdd2d82e40c4 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-99108 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/bitmap.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/5e87da8ba8d3d647d89c754912e45c1f1a3bfc2e https://git.kernel.org/stable/c/03c6ecc4b4b13a3901f207152451fdd2d82e40c4