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 53AB330216D for ; Tue, 13 Jan 2026 15:32:19 +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=1768318339; cv=none; b=Biwpr4Z3cckkOpSxiKWhcJxhH9zsih28pdLqXGqfqz1/KL9mvjCocNkwkTggHPLuDGtdOtyc4gzPSdF50fTqpP/Ayak3CTTRsGt4ccDbrPjb+oVLtcSS3/7454JviCIQbkER8y/GCdSsPXpynlYHa5e9O+SXWrEzt0GebheQ/9k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318339; c=relaxed/simple; bh=2+t4xrlvpfX/dSGRwrcpK1b2ivlraSIJrPDEqGJClvk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Lvma5GGAjNrsm5h9PrW2PBAY3QCUh5jgXotswdAqPn1oXuzdQ8S7MOUjcVUOG4gWqUnrp6HQArQ1/t1200V1u0Pbu0bqHV7oqLtZOdtMofXthX/YaW84heLlZL0GA0hu8O4jSxFDgbBjaj7Pnb5lXzVsDzW3v+U7+Sd/uhKt418= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KcOBOjDC; 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="KcOBOjDC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4312C116C6; Tue, 13 Jan 2026 15:32:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318339; bh=2+t4xrlvpfX/dSGRwrcpK1b2ivlraSIJrPDEqGJClvk=; h=From:To:Cc:Subject:Date:Reply-To:From; b=KcOBOjDCPHqea+Ist3IMdtaJT5LVcBvpgRNN3VC1/vXqIB5D0EAZ5iUi8MUd4J7oT ed4yLhwUu6QfSsmckYqhPO9xVAVWGLsPyaGOeSrtj+jPDt73Wb6CnhEaEUH/g9pWDc /NNiPmkRGgbSMipxCWnNmDzpvawGAT4zm2QLq1Bw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71076: drm/xe/oa: Limit num_syncs to prevent oversized allocations Date: Tue, 13 Jan 2026 16:31:34 +0100 Message-ID: <2026011326-CVE-2025-71076-19ff@gregkh> X-Mailer: git-send-email 2.52.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=2411; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ly5UxugnZ22iW2PW5m14BEtjKtf5+ZPPycRQehRzX08=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpqX5/6jp/b72d0W0pbs3l+8v3s2eamHGcU2PyI4W/m xkmuC3tiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIloMTEs2DIx5ZG0RfbC79xC wnIljPETS089YZgrcPzxGbnvl/Ivvph/LmV9ldHlDy8fAwA= 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: Limit num_syncs to prevent oversized allocations The OA open parameters did not validate num_syncs, allowing userspace to pass arbitrarily large values, potentially leading to excessive allocations. Add check to ensure that num_syncs does not exceed DRM_XE_MAX_SYNCS, returning -EINVAL when the limit is violated. v2: use XE_IOCTL_DBG() and drop duplicated check. (Ashutosh) (cherry picked from commit e057b2d2b8d815df3858a87dffafa2af37e5945b) The Linux kernel CVE team has assigned CVE-2025-71076 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.17 with commit 803d418b73387fda392ddd83eace757ac25cf15d and fixed in 6.12.64 with commit b963636331fb4f3f598d80492e2fa834757198eb Issue introduced in 6.13 with commit c8507a25cebd179db935dd266a33c51bef1b1e80 and fixed in 6.18.3 with commit 338849090ee610ff6d11e5e90857d2c27a4121ab Issue introduced in 6.13 with commit c8507a25cebd179db935dd266a33c51bef1b1e80 and fixed in 6.19-rc2 with commit f8dd66bfb4e184c71bd26418a00546ebe7f5c17a 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-2025-71076 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/b963636331fb4f3f598d80492e2fa834757198eb https://git.kernel.org/stable/c/338849090ee610ff6d11e5e90857d2c27a4121ab https://git.kernel.org/stable/c/f8dd66bfb4e184c71bd26418a00546ebe7f5c17a