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 DA86E31E821 for ; Wed, 24 Jun 2026 16:37:28 +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=1782319050; cv=none; b=MnzilXtYboM0GygpG4uaGRHSMGEjXkgJKiW5mHCLSBZfzDJkyL/WtO9gewWXuLnKF6i8u7e22LwXW3Peq0oDpV5uSHlj6kz3jG3/SXC/+xIZvdhnvNfnpJir+to9uDWv2t4zrNrduw/IzHXrO+8ty9ZBa0ZjMPwkP4TaX9ePOIY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782319050; c=relaxed/simple; bh=/eFRT7XHE6C+z3w++HJIByRfSiSj/G6OjY24I0mSPdg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tqmoMz1dsdVpMHVonVoRs+eY5McVocHt1tLmv76VhtaDDxPADG3R/ulXFOUecAHpbncKuCc9B7ZUhmRwnnxyc9RZV+TD9+ypV6Ay3gJdxPnB/AuTA1yB5/sv8KPtZ+TWM6HN8t1B31vG+Y5q7anzvk+Nh/MSvn9cdzR+7BdO2wM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DUy21+h9; 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="DUy21+h9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3DAE1F000E9; Wed, 24 Jun 2026 16:37:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782319048; bh=0jaV/uRX2DUQMjuDByLOn2IF2+LCWsd8dK6IxqXowjY=; h=From:To:Cc:Subject:Date:Reply-To; b=DUy21+h9r2UTUwx0lIi/xER1xcEFLJ305lSd+7O8qlPCJCIksUcr/o+tHodPO/dWb gibcEagHA47zpHjMKimWJrN+oAAKX272uszglCEB/Z1njI32OLRxOnStLalN95giUL l67XXI3AdgdE003mDUrkF9TKtpwLfE8JdpjZbV1Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53027: fs/ntfs3: fix missing run load for vcn0 in attr_data_get_block_locked() Date: Wed, 24 Jun 2026 17:30:51 +0100 Message-ID: <2026062453-CVE-2026-53027-fbe3@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=3047; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hfy9ljqBwrjMNdfxQzpRjKZU2yWjqi0ZKQ4XtuJ/VKE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2bIw7S1I7Z2kUTHYV6J8uc/zol0+/f/7m0W3f8US5w mWD9OZDHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARDyWG2az26kEBQepWsu1N O5z+hbt84NoqzTBP7esk9aTl57x/PjM92hh9+HFqzfbJAA== 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 missing run load for vcn0 in attr_data_get_block_locked() When a compressed or sparse attribute has its clusters frame-aligned, vcn is rounded down to the frame start using cmask, which can result in vcn != vcn0. In this case, vcn and vcn0 may reside in different attribute segments. The code already handles the case where vcn is in a different segment by loading its runs before allocation. However, it fails to load runs for vcn0 when vcn0 resides in a different segment than vcn. This causes run_lookup_entry() to return SPARSE_LCN for vcn0 since its segment was never loaded into the in-memory run list, triggering the WARN_ON(1). Fix this by adding a missing check for vcn0 after the existing vcn segment check. If vcn0 falls outside the current segment range [svcn, evcn1), find and load the attribute segment containing vcn0 before performing the run lookup. The following scenario triggers the bug: attr_data_get_block_locked() vcn = vcn0 & cmask <- vcn != vcn0 after frame alignment load runs for vcn segment <- vcn0 segment not loaded! attr_allocate_clusters() <- allocation succeeds run_lookup_entry(vcn0) <- vcn0 not in run -> SPARSE_LCN WARN_ON(1) <- bug fires here! The Linux kernel CVE team has assigned CVE-2026-53027 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit c380b52f6c5702cc4bdda5e6d456d6c19a201a0b and fixed in 7.0.10 with commit 2b4ae1ce613ade8a7e118fba4a5a77cd23e97e54 Issue introduced in 6.2 with commit c380b52f6c5702cc4bdda5e6d456d6c19a201a0b and fixed in 7.1 with commit d7ea8495fd307b58f8867acd81a1b40075b1d3ba Issue introduced in 6.1.132 with commit 406a037d93b769bca248476bd14bbe548dc1ec35 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-53027 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/attrib.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/2b4ae1ce613ade8a7e118fba4a5a77cd23e97e54 https://git.kernel.org/stable/c/d7ea8495fd307b58f8867acd81a1b40075b1d3ba