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 A85953BC695 for ; Fri, 3 Apr 2026 13:28:16 +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=1775222896; cv=none; b=VJCszQ/MAA2chmk0dv0UMr3KSIyxck+5sy375aEDKSiw3g+K9fN6EHrZUKq5z40vjTdqxGo+vc9QaaaAfYw7OFGNBV9v9Y57tLpcx5ipSzTtlPIvC97soFcCv3/ovoPClW6Dvg6vda6OYGK2VNwQ/IogKQJwSZSSScmZdN6j/a8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775222896; c=relaxed/simple; bh=osvEXoXlaXE1PYx6S9KLOUWzUJj/UytdETsI9YcGwGQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EGDEQluY2CoqgnUSYrl7jyB7Kx8FANmYsl8g3/IrOk6rvrOfBnjewI4g+ABCgokMJhSUPH1XMLkKmjETjt5zNquvH1vNySfi9E92NDzg7566GfPHD1lhP42RWKf9zoW/0e72V/i+svTchCbmGh0szm+wst9RpiZ3pKTIF+0/ZlY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=11Z6YnUc; 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="11Z6YnUc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBCB0C2BCB1; Fri, 3 Apr 2026 13:28:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775222896; bh=osvEXoXlaXE1PYx6S9KLOUWzUJj/UytdETsI9YcGwGQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=11Z6YnUc+QWJIlY0T7gSkPm/2KUtqK+BzzRIv9jQVJrYmA+E3s6pnSJRBKptPI9RA l47tZPyKZjqzMdDrUfI0BdQT8Wa5ajciU0qzOoVaZiPIyHqnrucujcrXvGxXgcxD8C hI9KSSYtxVSx2DL5q9EfUoMg35dz2AK7Qi5QJpuw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23418: drm/xe/reg_sr: Fix leak on xa_store failure Date: Fri, 3 Apr 2026 15:28:02 +0200 Message-ID: <2026040301-CVE-2026-23418-3cf7@gregkh> X-Mailer: git-send-email 2.53.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=2190; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FaahtxN7TZ+/F7ZG1lwB3unz4HEhXGaPc8jAmrKlcWY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnnDyQuf7HEZ9cmq4fzHOynHZRZvWSO0qmn+v2bjYUf/ RDr+8u3uSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmcnsywzxtXn7L166eJrl5 0ZdXloZNYynKWsMw3/19To7rvh+btnic36r/qeayzszL6wE= 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: drm/xe/reg_sr: Fix leak on xa_store failure Free the newly allocated entry when xa_store() fails to avoid a memory leak on the error path. v2: use goto fail_free. (Bala) (cherry picked from commit 6bc6fec71ac45f52db609af4e62bdb96b9f5fadb) The Linux kernel CVE team has assigned CVE-2026-23418 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit e5283bd4dfecbd3335f43b62a68e24dae23f59e4 and fixed in 6.18.17 with commit 05e3f01974d09d1b746dedf4144f708b5033e76f Issue introduced in 6.14 with commit e5283bd4dfecbd3335f43b62a68e24dae23f59e4 and fixed in 6.19.7 with commit 4f461da14c7b226d1c4c179ae69956ccb8e134e2 Issue introduced in 6.14 with commit e5283bd4dfecbd3335f43b62a68e24dae23f59e4 and fixed in 7.0-rc3 with commit 3091723785def05ebfe6a50866f87a044ae314ba 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-23418 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/gpu/drm/xe/xe_reg_sr.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/05e3f01974d09d1b746dedf4144f708b5033e76f https://git.kernel.org/stable/c/4f461da14c7b226d1c4c179ae69956ccb8e134e2 https://git.kernel.org/stable/c/3091723785def05ebfe6a50866f87a044ae314ba