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 4E2933CC30F for ; Wed, 27 May 2026 12:20:42 +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=1779884443; cv=none; b=sEgXxbv5AbagsPyuFJo0WbOxqW2hcMuMZ0ihhKe6KL4fDGUql2WoOVqlHGOMRiAC6ZBOgUmVEWM13KS8LSVPiokSBT9+cQdlXtLbJvzlgVsdyBH97cMRZpm7KqTxx/OxHlvf6AWge5+3GMjN0UOunaDYPS7CpUKM9TOqv75YsQY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884443; c=relaxed/simple; bh=mabzW/ZqFAb7Rx+sMKUJvQDlD5Gx+Hek1rDTZXv8yyA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=F/bTaOfvMUz40yK7gypgKmXYLYE0W/MjGKw1yVQ6PwROqoz1Fsr6HqIUvc4hVlYTlD3lk/ezE8GJLjy+MZtTGHhXsgR1UvCps4OxG5mmkXh3SUdymNLBv/hIMf4GQwhZbbokQUelo6hsFm78Dt2tNUzCd4KdzNFQiKVODefygls= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ilN8zQYI; 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="ilN8zQYI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49FA61F000E9; Wed, 27 May 2026 12:20:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884441; bh=HbnKVJn/W1SSO8N8Q73QgXuqebfRPT9G0K7uACpn10M=; h=From:To:Cc:Subject:Date:Reply-To; b=ilN8zQYIGIYT3w4g6/AuK7C7wIpzYW4hn6PJSqaUy9Wy6gGOgu1ws9Id7Jtr4+boq e5YJPXtIGPy8xZo87Leo/IO58DWbZUvidsdu1S0bJJtjKMQ6dHJ7v6q/z19q6lEkzr 2jBjujIgekd9iYg2eMGEGTl6BRGxjIHjrUZuJJjU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45864: fs/ntfs3: prevent infinite loops caused by the next valid being the same Date: Wed, 27 May 2026 14:18:26 +0200 Message-ID: <2026052711-CVE-2026-45864-96c6@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=3589; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dnxBCMLN6RdOZZwfK4EwwUBfT6PrZ7sZlVXXehxbnGc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliD5nZFBTMT2vcs2c8cqV59/V/b/5+N3d/kMCTxGwYW LlDbcrkjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZgI2waGudL8Nyae/WLywLe3 7cXz1Ru1K+dlSDDMZj9o82Rj1CFx4Zv1G/ZPTX3OdlnfEQA= 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: prevent infinite loops caused by the next valid being the same When processing valid within the range [valid : pos), if valid cannot be retrieved correctly, for example, if the retrieved valid value is always the same, this can trigger a potential infinite loop, similar to the hung problem reported by syzbot [1]. Adding a check for the valid value within the loop body, and terminating the loop and returning -EINVAL if the value is the same as the current value, can prevent this. [1] INFO: task syz.4.21:6056 blocked for more than 143 seconds. Call Trace: rwbase_write_lock+0x14f/0x750 kernel/locking/rwbase_rt.c:244 inode_lock include/linux/fs.h:1027 [inline] ntfs_file_write_iter+0xe6/0x870 fs/ntfs3/file.c:1284 The Linux kernel CVE team has assigned CVE-2026-45864 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 4342306f0f0d5ff4315a204d315c1b51b914fca5 and fixed in 5.15.202 with commit 50c822fcb36768f1fb356f05b02a2248ef81936d Issue introduced in 5.15 with commit 4342306f0f0d5ff4315a204d315c1b51b914fca5 and fixed in 6.1.165 with commit 6d93239b4fc479f7c0a412dd196ec0ca2672d14a Issue introduced in 5.15 with commit 4342306f0f0d5ff4315a204d315c1b51b914fca5 and fixed in 6.6.128 with commit 71c8b966ec56e13c02388c1312910588bb49be7a Issue introduced in 5.15 with commit 4342306f0f0d5ff4315a204d315c1b51b914fca5 and fixed in 6.12.75 with commit b97e371e5d1c13d722335d46eb8bc1a22b272a0e Issue introduced in 5.15 with commit 4342306f0f0d5ff4315a204d315c1b51b914fca5 and fixed in 6.18.14 with commit 4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4 Issue introduced in 5.15 with commit 4342306f0f0d5ff4315a204d315c1b51b914fca5 and fixed in 6.19.4 with commit a47a2bb9aa6455d5cee1045814a60c749309c92b Issue introduced in 5.15 with commit 4342306f0f0d5ff4315a204d315c1b51b914fca5 and fixed in 7.0 with commit 27b75ca4e51e3e4554dc85dbf1a0246c66106fd3 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-45864 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/50c822fcb36768f1fb356f05b02a2248ef81936d https://git.kernel.org/stable/c/6d93239b4fc479f7c0a412dd196ec0ca2672d14a https://git.kernel.org/stable/c/71c8b966ec56e13c02388c1312910588bb49be7a https://git.kernel.org/stable/c/b97e371e5d1c13d722335d46eb8bc1a22b272a0e https://git.kernel.org/stable/c/4bf3bafb8e0635ed93e3cd4156dcbcc0fb960cb4 https://git.kernel.org/stable/c/a47a2bb9aa6455d5cee1045814a60c749309c92b https://git.kernel.org/stable/c/27b75ca4e51e3e4554dc85dbf1a0246c66106fd3