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 5563D3DCDB5 for ; Fri, 24 Apr 2026 14:34:04 +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=1777041244; cv=none; b=b1r9oOBrASn0QjNC6GMedR0R65pYDw440f/mRJnYG3UqU8uqIuU7x6tDAI1Vi/U3fTx9JRXnpJWQWI1gaTh7OyIc218UoQvgC+SSUBCfmN203i+XEA84IJKSZheeWcEaCwNGcq2MavKFhX7veA6YWvv/ttTw2qU8j5S99DEP2QY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041244; c=relaxed/simple; bh=A4LiXFyxt3+JehJS/s5SjANCk3ioTxAtzNhHgJBSylg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GEbu2qS+aikCwHl3Otky2qjmOXlYMieL+NvgefRjrcGbMa3etAJZxw9jfx6xAnCyJw0vHysaooOYqw9ZoPMxmxgzEm1hWkZOJwvEr9qdU7BV9CJlT8jslRpQwrHf9phuK1iKgcVEQPG8wOiT7s/WAgUppS0PkXBWswthrvv4ZHc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=w0C17Cr+; 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="w0C17Cr+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDE3AC19425; Fri, 24 Apr 2026 14:34:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041244; bh=A4LiXFyxt3+JehJS/s5SjANCk3ioTxAtzNhHgJBSylg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=w0C17Cr+9lqa/aReXnxIGlYlF3IZgc0xtUjo5x5AMMRZA7Yy1O0ncKwY822KOpTMY T8YO37a/un+4nklD19uJRG/Cn+2R3IwOXP0AUd6vHk3PQV6Y0zamm68r4hrExjeggn GJaDNpMhoHq2FCxRmUV+YbSWsg/8fiqRi9rpXTqI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31547: drm/xe: Fix missing runtime PM reference in ccs_mode_store Date: Fri, 24 Apr 2026 16:33:30 +0200 Message-ID: <2026042425-CVE-2026-31547-639e@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=2493; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aUlren1R/ZWspaY7iuJinXkGXOd6mMLKewUU3oSFFJA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmv600buk7+kTKaYHMxYMOa20kMKcYH1J9YHfP13r3mt K/0tpVnOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi818xzJVJj5i4sOLVr7el bDoXV0m9Y2mYUscwP1rD7458VJ/EbP8l5x5MuqSyef7/dQA= 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: Fix missing runtime PM reference in ccs_mode_store ccs_mode_store() calls xe_gt_reset() which internally invokes xe_pm_runtime_get_noresume(). That function requires the caller to already hold an outer runtime PM reference and warns if none is held: [46.891177] xe 0000:03:00.0: [drm] Missing outer runtime PM protection [46.891178] WARNING: drivers/gpu/drm/xe/xe_pm.c:885 at xe_pm_runtime_get_noresume+0x8b/0xc0 Fix this by protecting xe_gt_reset() with the scope-based guard(xe_pm_runtime)(xe), which is the preferred form when the reference lifetime matches a single scope. v2: - Use scope-based guard(xe_pm_runtime)(xe) (Shuicheng) - Update commit message accordingly (cherry picked from commit 7937ea733f79b3f25e802a0c8360bf7423856f36) The Linux kernel CVE team has assigned CVE-2026-31547 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 480b358e7d8ef69fd8f1b0cad6e07c7d70a36ee4 and fixed in 6.19.10 with commit c409ecce9adcf815e86bc2f68834982e5a9c4e76 Issue introduced in 6.19 with commit 480b358e7d8ef69fd8f1b0cad6e07c7d70a36ee4 and fixed in 7.0 with commit 65d046b2d8e0d6d855379a981869005fd6b6a41b 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-31547 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_gt_ccs_mode.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/c409ecce9adcf815e86bc2f68834982e5a9c4e76 https://git.kernel.org/stable/c/65d046b2d8e0d6d855379a981869005fd6b6a41b