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 E142A361668 for ; Sat, 15 Aug 2026 06:15:57 +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=1786774559; cv=none; b=GuzRuzJn/Eb8PVmvcHPZaJVznEBScj5Z7G6Olp50JN+UkzFoZzdlPpalyAf/emDs3S4un0UfmOzUp7dcJ6dVwBXLJ/UshHA1CKmyOAoPx7mQEapHxT8pTCGac/rTRrqzLJCGrJ/79EIiAgRrJ4TK8dS9uYlmt16BGAONmlfbbNw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774559; c=relaxed/simple; bh=DiL5zi6zxe/u7hmIlG9yeI0aDrYmW/YWfEjgpasInL0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WtZpGD1ykr1NexiFyK0O3GKdVZL8iPgM5KQNpffB5JNEBIwmreM2qB5ScnLLN5CL8t5c2RSF619y9FPbfk4MHC0KWanMohKMYtz3HfYtkqoR+3mFVXGQzvNtPaHTBsRGuy3wL30X8Sb+PyH0l5+PIF6/MHmZGiOF2TkKgJDYgpI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CKqw39oR; 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="CKqw39oR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F26F51F000E9; Sat, 15 Aug 2026 06:15:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774557; bh=eVcnHnIdErmpYC78Bz6EhFEuYYCOFAIomcZHI1B52CY=; h=From:To:Cc:Subject:Date:Reply-To; b=CKqw39oRSWsPaHOuWkvBCdKFGRS/24wA66hyZhI4L8CUJ1bNdBw5TKLCfr8/dFw54 kl74b3ZCqfjwSxrvBsq0l8IY24rAGzh1CC+oWb6oC/T+hHKZJDKUS6en120uvZ2Oxl Do0h92sHP4CQgyTziU0YRcy2RRC4bbwHUU0vykjM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72195: fs/ntfs3: bound attr_off in UpdateResidentValue against data_off Date: Sat, 15 Aug 2026 15:04:34 +0900 Message-ID: <2026081542-CVE-2026-72195-1892@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=4042; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jXPoNPLTkH7qc1hmOpFa9PDITtUS7aBpkbRj/FQdQUo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDMc8GSfbVe/u/uDQLhHJvFOVXcH9+LPw6muK6Y+fi 5ie//G4I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaSx8owP7/h7q1wXy7uMiHG C6wLFOq42nffYphfJFZk+lCESy/m4xzTzc7XZz5vmfYFAA== 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: bound attr_off in UpdateResidentValue against data_off In do_action()'s UpdateResidentValue case (fslog.c:3307), lrh->attr_off and lrh->redo_len come from the on-disk LRH. When they satisfy aoff + dlen < attr->res.data_off, the assignment attr->res.data_size = cpu_to_le32(aoff + dlen - data_off); underflows to ~4 GiB (e.g. 0xFFFFFFF9 when aoff=0x10, dlen=1, data_off=0x18). Subsequent code that reads attr->res.data_size to walk the resident attribute payload would then read up to 4 GiB past the 1024-byte MFT record allocation. The existing mi_enum_attr() defense in fs/ntfs3/record.c:287 catches the corrupted data_size on the next attribute walk and fails the mount, but only on the path that walks all attributes. A read site that picks an attribute by name and reads its data_size without re-validating is not covered. Validate aoff against data_off and asize at the source. Reproduced under UML+KASAN on mainline 8d90b09e6741 via pr_warn-only probe: with aoff=0x10 and data_off=0x18, the post-assignment data_size is 0xfffffff9 (mount then fails at -22 from mi_enum_attr). [almaz.alexandrovich@paragon-software.com: clang-formatted the changes] The Linux kernel CVE team has assigned CVE-2026-72195 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 5.15.212 with commit ab8761676d638c5be170aaf91b7ffdd451236616 Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 6.1.178 with commit 53c12f178f584dc5f836ffe2782138a6e9348ed9 Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 6.6.145 with commit 546518468e6c9ea469669eef78f8cc380ad6e2ca Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 6.12.97 with commit 97758fd9756b5f09e9ddc6a5f6a569041acc8421 Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 6.18.40 with commit 50b5e83384e7fed3d11d18b79ff350e9d6d89861 Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 7.1.5 with commit a89c66674283a0293c0f266dc57087a6114371a3 Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 7.2-rc1 with commit d1570c48f49a693974d000251030370ee2e83539 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-72195 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/fslog.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/ab8761676d638c5be170aaf91b7ffdd451236616 https://git.kernel.org/stable/c/53c12f178f584dc5f836ffe2782138a6e9348ed9 https://git.kernel.org/stable/c/546518468e6c9ea469669eef78f8cc380ad6e2ca https://git.kernel.org/stable/c/97758fd9756b5f09e9ddc6a5f6a569041acc8421 https://git.kernel.org/stable/c/50b5e83384e7fed3d11d18b79ff350e9d6d89861 https://git.kernel.org/stable/c/a89c66674283a0293c0f266dc57087a6114371a3 https://git.kernel.org/stable/c/d1570c48f49a693974d000251030370ee2e83539