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 C9D8240314D for ; Wed, 27 May 2026 12:38:13 +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=1779885496; cv=none; b=N7r5+Txz+eWRCdN3ShtazZDkDr+AapKH9MExN7pNGC0wDRIgmw4ruxPBvkdW5tP5Tl47u1fsN7d4OQWM29u+yEkE7XPfv5RvocCE31ate51ngp1avkoaOavtC7UxHg4tVx1eVV/P6lnyh4giNC6Su7RHB7Hw2dBCSSdJuI3AfJY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779885496; c=relaxed/simple; bh=fmf8aEMeapGRHX8WdncXsel07XVqTBtuJ83wolO6EFg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kdceTdm3o+vuCRyvF0/fJXf8bS1zKhl74r9QjMCOZMn5fXUXd6aYHWIUyUewFRiCCOvFnJxFK3b7nQw8hkZgvA16njueJHgLjx8AJJSypEq2+K0oFf2TjEWtrMrbOKXYd4pW2RxjU11hIS+lu6Prphkz2KwMHp/brbuXKuJXKNA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RbPmgsoh; 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="RbPmgsoh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 656251F000E9; Wed, 27 May 2026 12:38:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779885493; bh=NTCldrcXtjlu+SiEZ/H+Bu2uRsf7XsRF9pgmall9CjQ=; h=From:To:Cc:Subject:Date:Reply-To; b=RbPmgsohT3uB4t4m63nayXPcsjnHkAnm1O3OcsBej6ttDTmb4m3lLM74iWBRc87kh Cgat3H4tvwxh2WQDtCzY8P49aBZ1QvO5T+UxoOd+IKgW6kBlNwcoHOH22N3UeGgNF/ 4w1Upb5Z85T732ya0E5HS52QgpDTkW5GYr4QRTio= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71311: fs/ntfs3: Initialize new folios before use Date: Wed, 27 May 2026 14:23:16 +0200 Message-ID: <2026052715-CVE-2025-71311-0a09@gregkh> X-Mailer: git-send-email 2.54.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=2550; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tme1QNuGMQMewRbK4mBXJYgPJoEG1V7yPnmx8dMxClk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlij4yVboee5n74d8LBdZnG1V2Hllf4Jv0wXKjq4apVr ipm66zdEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABP5X8qwYMsCjqK55R27np64 5FvoktkduGG3CMMcbuvL7l+uRH4O8Z70Nf5st6H5xzR9AA== 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: Initialize new folios before use KMSAN reports an uninitialized value in longest_match_std(), invoked from ntfs_compress_write(). When new folios are allocated without being marked uptodate and ni_read_frame() is skipped because the caller expects the frame to be completely overwritten, some reserved folios may remain only partially filled, leaving the rest memory uninitialized. The Linux kernel CVE team has assigned CVE-2025-71311 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 and fixed in 6.12.75 with commit dd6c81527d097b3b0bf5a15c2fdc9657d045144c Issue introduced in 6.11 with commit 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 and fixed in 6.18.14 with commit 5a30cc03bde169ad558695b26da6ea7e55f6194a Issue introduced in 6.11 with commit 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 and fixed in 6.19.4 with commit 41d79f8e2a36622d148719bf7c18b46ac1264284 Issue introduced in 6.11 with commit 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 and fixed in 7.0 with commit f223ebffa185cc8da934333c5a31ff2d4f992dc9 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-2025-71311 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/file.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/dd6c81527d097b3b0bf5a15c2fdc9657d045144c https://git.kernel.org/stable/c/5a30cc03bde169ad558695b26da6ea7e55f6194a https://git.kernel.org/stable/c/41d79f8e2a36622d148719bf7c18b46ac1264284 https://git.kernel.org/stable/c/f223ebffa185cc8da934333c5a31ff2d4f992dc9