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 695F138E8BB for ; Fri, 4 Sep 2026 17:22:05 +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=1788542526; cv=none; b=Zy3RA2KhkWv+P/FcolTSpY5kKVwBtnXyv04Z86kZjQ2/oy0MRUVK9zsBpuLXA506TdsDYmWijS/J5pY/MzYerYO76sl9k60rVWkB6k7ECqpZEI5MVUZqmVddESXniDirc3meiO0wdcbpv8/yneqYpsi1y/mjhH7LNUeVq7cr5Ac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788542526; c=relaxed/simple; bh=IuEGKo7PR2dtovJBVoVwBjsJiBQdunclTGAPPP0m7Xo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BkdBLP0MVy8ubLSqgBEw+ViO2Yq/PnCfFs7ZXXAfpYDaJ5RvgNK2IEQobx6W8hlP2Fb6LSrsIZ/vQpwj68h7+1z3oSaPbeshF1Ki2o9EhX9NryHc/2svJkcBtLRgBytTYdvZEYLYqAmFWiSp5rtvVlrZ5WfMQz5Y0cUH48x5ftI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sA+bftPL; 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="sA+bftPL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABA591F00A3D; Fri, 4 Sep 2026 17:22:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788542525; bh=EnkGEXCSchUpDgmSB7Gsd9lc+tZBNx9KzcoviBdBQ4o=; h=From:To:Cc:Subject:Date:Reply-To; b=sA+bftPLFGb+9srz0u5EtgYbg5ZHu8sRlKKRUFTjGd4NsBjxgC5H2Mn9MPFfeOQgf 8RYZyKYO8n3yxwTrS4cdtKzFH8lzSEEJ7JfPSAIulWWUc8hP/7HOxOes+PtmeM4PNZ lT1kFvjtFKZ0t2Z7f1QD5CxYlQAC1OM4IM2gJ42U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80903: drm/xe/oa: Fix sync entry leak on OA config emit failure Date: Fri, 4 Sep 2026 19:17:34 +0200 Message-ID: <2026090433-CVE-2026-80903-df54@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=2975; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=flEpDyv8EFLqPtBY0MMflrEQ+HR8baBF4rY9ZuoNuqI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmz/uqmvt2yNGFuzdMuj+Af1yT1E7n+Su3pLXNYNGvvh 4j0+U/4O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAikcsZFiw1/Ze77+DPj4JH BJb8dmTn/H05KJhhwdbyF2z89RFJgq++H1LXuFNj2/xtLQA= 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/oa: Fix sync entry leak on OA config emit failure xe_oa_emit_oa_config() releases the sync entries and the syncs array only on its success path. When it fails before the point of no return (fence allocation, config buffer allocation or batch submission), it returns without touching stream->syncs. The stream open path handles such failures in the caller, but xe_oa_config_locked() propagates the error without any cleanup, so the syncs array and the fence references held by the parsed entries are leaked. The next config ioctl overwrites stream->syncs, making the memory unreachable for good. Clean up the parsed syncs when xe_oa_emit_oa_config() fails, matching the cleanup done by the stream open error path. (cherry picked from commit 8af97b3da2cfce04e6b457c6eb17ed3c1daf912b) The Linux kernel CVE team has assigned CVE-2026-80903 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.18 with commit f0ab9cd205d852a9024b73c71c8d8b217a04e8f0 and fixed in 6.12.105 with commit fcf7943b0a38568c547d7b5702de1d8190480616 Issue introduced in 6.13 with commit 9920c8b88c5cf2e44f4ff508dd3c0c96e4364db0 and fixed in 6.18.46 with commit 948f346fe36e1d02353c3d61b1f6b66c6af91996 Issue introduced in 6.13 with commit 9920c8b88c5cf2e44f4ff508dd3c0c96e4364db0 and fixed in 7.1.10 with commit 027150e24e173a5dffe7f5ab3a6600618f634da2 Issue introduced in 6.13 with commit 9920c8b88c5cf2e44f4ff508dd3c0c96e4364db0 and fixed in 7.2 with commit 8d33c4987cd162527375a3905017ae129ba7c3fe 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-80903 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_oa.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/fcf7943b0a38568c547d7b5702de1d8190480616 https://git.kernel.org/stable/c/948f346fe36e1d02353c3d61b1f6b66c6af91996 https://git.kernel.org/stable/c/027150e24e173a5dffe7f5ab3a6600618f634da2 https://git.kernel.org/stable/c/8d33c4987cd162527375a3905017ae129ba7c3fe