From mboxrd@z Thu Jan 1 00:00:00 1970 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 95A53380FCD for ; Sat, 15 Aug 2026 06:32:23 +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=1786775544; cv=none; b=SgGDSZ3lxyVEX62Zvbr4PJ5uF20o8WDf2i9EpvItKkr5yFr44VRlRzUwk+1LTh/aqdeBDc6auOHvF9Auiv1JXC8HNva8sKEmoIuOKFDqWU0XjjR1DUOUNjQ1uSwjhBVD9KPxq9f4U750nOSgT6pLIjttOqOOENP36/RpjlLVjKw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775544; c=relaxed/simple; bh=zdhOlulFjb4Hy9e5R2PSpkL5XNPmKyu/CGDLYvi18QY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NzBRHL+hyHdfVBhE61JGQ5uneJ0W3q3FjGDB0umPAjWakbzTTWPAuoFfs3WmqFL/hMl0FeiLE+jr3Kz6qDiDuuukI9mhfSRE7ko+xIw5ucblJq0SWNa5c4PvaKsRFFKXoSO6piwBZnS/4JhCTonXZnYR7uwMknYm9jq8FGq7k0Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hRqFNJfs; 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="hRqFNJfs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E97D21F000E9; Sat, 15 Aug 2026 06:32:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775543; bh=lP+fOsKCjmPDNDXHtj764bAPXN+bL6N+t9ZismfZudY=; h=From:To:Cc:Subject:Date:Reply-To; b=hRqFNJfstF+Qf25ZY1FI9h3ouIylGJt556vHeRuaSP21iQU43v0Z7n85u4WE8Uh39 0xQHD935fTBYBQ7rTK9GsuNch/Mvnqg1do8+wvt2wTWEG13KFJ+UrnWYA/nLz1r8mu fMry/HFisTC8b59RZWbDeGfREJTc44JLQskOnLbg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74272: cxl/region: Resolve region deletion races Date: Sat, 15 Aug 2026 15:09:59 +0900 Message-ID: <2026081544-CVE-2026-74272-eb1a@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=2746; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pLb/wwAvJ6lWfSIIE3ilrieylZq5DQK/tdD7VY5HQL0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjCwNP964d3Qu/R04K9rfalpAqWjcpRaFFRE5xVUyB fulH7J2xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwERmKzHMj5ip43bB0txA6sb1 Wesd/UXu9QerMsyz/WvQsTP6SlGop4brNMa+01diH64DAA== 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: Resolve region deletion races Sungwoo noticed that the sysfs trigger to delete a region may try to delete a region multiple times. It also has no exclusion relative to the kernel releasing the region via CXL root device teardown. Instead of installing new cxl root devres actions per region, use the existing root decoder unregistration event to remove all remaining regions. An xarray of regions replaces a devres list of regions. This handles 3 separate issues with the old approach: 1/ sysfs users racing to delete the same region: no longer possible now that the regions_lock is held over the lookup and deletion. 2/ multiple actions triggering deletion of the same region: solved by erasing regions while holding @regions_lock, and only proceeding on successful erasure. 3/ userspace racing devres_release_all() to trigger the devres not found warning: solved by sysfs unregistration not requiring a release action The Linux kernel CVE team has assigned CVE-2026-74272 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 779dd20cfb56c510f89877cca45529fa9f8bc450 and fixed in 7.1.5 with commit be44c1c04f85d7b7ac1c597a30b443bbd346acbd Issue introduced in 6.0 with commit 779dd20cfb56c510f89877cca45529fa9f8bc450 and fixed in 7.2-rc1 with commit 4dd86ca99ffcc413cbf79063fd9956ef54e0ca91 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-74272 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/core.h drivers/cxl/core/port.c drivers/cxl/core/region.c drivers/cxl/cxl.h 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/be44c1c04f85d7b7ac1c597a30b443bbd346acbd https://git.kernel.org/stable/c/4dd86ca99ffcc413cbf79063fd9956ef54e0ca91