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 863B93815D2 for ; Sat, 15 Aug 2026 06:32:32 +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=1786775553; cv=none; b=UOsKzl/LIgXddkLAeUFY7fAHH23zbuYEa0sHe9WQvW2nEQ/jgkdgHMJCgUoff4Z3+RIlLXtV3hMq9ZF2f1CopN8OLUGtdVmB2NOHtj6P5K3jXJedN70bJegcQ0Yd2MoJ96lBVRWB8J1kowKa/PDHq42sZ3qHsTj7Mr0PiEO96iI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775553; c=relaxed/simple; bh=bASsbOUgfr4EYGNLNLfb9keZkQs8mXSDCUdWT5JWA7g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jM0kmt15pwUQNcfB+FmNSps7wBayfb06oOihDe6l0RzvR59hu7VhKbnEJvRhEElJuVoCglNTZr84IgYTHboNHZCf0+8G350/KibZGAG0QLLKLRPojCytGyO08UfAXGjddNT3dGe/07eiGibyDR7RKdeD7uztakYyXfXpH9kn+Jk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yN72a4kI; 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="yN72a4kI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD82F1F000E9; Sat, 15 Aug 2026 06:32:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775552; bh=h11sjV8mbCw49mIEtQ961YS3d1XPArf3nv1SgaiCFDc=; h=From:To:Cc:Subject:Date:Reply-To; b=yN72a4kIhQaKWjVToKaXkwEQwb/L+tnfGSIj88mLHoeMdCO46LJX6DEQ93b/gd+g8 DSqIFi5bQF7uBjgi/Xb6HIt0rOkK1uRzSKZy3i3xvT69uQUpZBnnAX8o/2LIM9Z3h6 EAOuvYHKz40rpP70uDYgl6ve5ippt5f0di/6aouQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74275: cxl/region: Fix out-of-bounds access in cxl_cancel_auto_attach() Date: Sat, 15 Aug 2026 15:10:02 +0900 Message-ID: <2026081545-CVE-2026-74275-f5c0@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=2164; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qgfitXLOWsiDwqJ3lx4S4DCsS0FsgaRMwjM8q/JFEDc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjKxasXNEU7nidgtuzdNuW7Bx/zMjzh3Jl65/z7KYq CPVX/aiI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYSLsww32fr6qbtzptX/Kl5 /2Vl33rN9aI3uhkWrP8na9DxudAwQMfywo2/vT/quPdyAQA= 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: cxl/region: Fix out-of-bounds access in cxl_cancel_auto_attach() In cxl_cancel_auto_attach(), it assumes cxled->pos is a valid index for accessing p->targets[]. However, cxled->pos can be set to negative errno in cxl_region_sort_targets() if cxl_calc_interleave_pos() fails. This causes the driver to use a negative index to access p->targets[], resulting in out-of-bounds access. Fix it by walking p->targets[] instead of using cxled->pos directly. The Linux kernel CVE team has assigned CVE-2026-74275 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit 87805c32e6ad7b5ce2d9f7f47e76081857a4a335 and fixed in 7.1.5 with commit 44b2397eb67b7f728640989a22d062e41f94ab64 Issue introduced in 7.1 with commit 87805c32e6ad7b5ce2d9f7f47e76081857a4a335 and fixed in 7.2-rc1 with commit cbda6a2c2bec2a5fb30a2ce85baeab15b5fc7db3 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-74275 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: drivers/cxl/core/region.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/44b2397eb67b7f728640989a22d062e41f94ab64 https://git.kernel.org/stable/c/cbda6a2c2bec2a5fb30a2ce85baeab15b5fc7db3