Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DBBE626E718 for ; Wed, 22 Apr 2026 13:58:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866311; cv=none; b=B9x+ZWh3d4yPAJteTbHUrTx+ddLDCZvLXNDTktncgCybONkZXqI1lOo5JquYfBHFqejBzhys1U7zpakDB6VfqlRfF9ECxl2LJAgNPO3/ZtIuYrcQxttL8Z5F2LG3OPU4vjNudctmNj0OtB+YmM7uNhO9Lo+Mk2H1XGwQClqjAHU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866311; c=relaxed/simple; bh=isOSq7zUAJJmkaHYRResBe2I8nuLyZ04M2ZsaU8AeSo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kZH7NbNnZUvvVBlPLcLLDhhKTlBBWnkXiA9OPs+I+cWpawJZBIikMn5PuiMQbwe+H9N6I+sOm2BhXejnX3vYjirumxhlp3DGOuZSrqN4Ceq1FsbChG9P6Bg2ukvqIMv9Kw8etKLZk0HUdWvT0HAO1qqZY4Z0uCpJMDobyzYhXJw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0sorIKNT; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0sorIKNT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F477C19425; Wed, 22 Apr 2026 13:58:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776866311; bh=isOSq7zUAJJmkaHYRResBe2I8nuLyZ04M2ZsaU8AeSo=; h=From:To:Cc:Subject:Date:Reply-To:From; b=0sorIKNTmibmyUjQHjVGIyDFv0eR6YVTYUWHcmTMqt5atAMnwgzorkiANJWB6hj0o HuMMYwWRIWidKGfc5YRyJnRYJQfuipR8k4jHIXtBqMmqFDFvR7RtiyZvnt2nKkQxwU YWF8o9dLZuhkkFyy3rgPf0D3xagEHMJxBwYb3WM4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31529: cxl/region: Fix leakage in __construct_region() Date: Wed, 22 Apr 2026 15:55:15 +0200 Message-ID: <2026042214-CVE-2026-31529-f32e@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=1895; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fvaVyLUmLCJpgl42ihvYwtKSp7zC9EcyOmjv1frNltk=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkvLrNzMJ1++66DW2d5g/X+79MbPp8/5O+98abYHSnf3 mq22KCJHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR0wMMC47cPvd6j/1O60Lx CKmzknEz9lzorWCY7/x80S0d5qfnwqc4ij6rkrxW80CzBQA= 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 leakage in __construct_region() Failing the first sysfs_update_group() needs to explicitly kfree the resource as it is too early for cxl_region_iomem_release() to do so. The Linux kernel CVE team has assigned CVE-2026-31529 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit d6602e25819dea2c239972e98e09ba5db4aebd22 and fixed in 6.19.11 with commit f1b4741adf08b0063291ec1b0dfa9c3d55644933 Issue introduced in 6.19 with commit d6602e25819dea2c239972e98e09ba5db4aebd22 and fixed in 7.0 with commit 77b310bb7b5ff8c017524df83292e0242ba89791 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-31529 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/f1b4741adf08b0063291ec1b0dfa9c3d55644933 https://git.kernel.org/stable/c/77b310bb7b5ff8c017524df83292e0242ba89791