CVE-2026-31784: drm/xe/pxp: Clear restart flag in pxp_start after jumping back
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/xe/pxp: Clear restart flag in pxp_start after jumping back
If we don't clear the flag we'll keep jumping back at the beginning of the function once we reach the end.
(cherry picked from commit 0850ec7bb2459602351639dccf7a68a03c9d1ee0)
The Linux kernel CVE team has assigned CVE-2026-31784 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.17 with commit ccd3c6820a9024bcb68c249b644b5e42f0f7b9d2 and fixed in 6.18.22 with commit 9e962e68a9d26135af67c423767c0983d9ad94c3 Issue introduced in 6.17 with commit ccd3c6820a9024bcb68c249b644b5e42f0f7b9d2 and fixed in 6.19.12 with commit 400ee45f80480c05c3fa673967f25faab8323753 Issue introduced in 6.17 with commit ccd3c6820a9024bcb68c249b644b5e42f0f7b9d2 and fixed in 7.0 with commit 76903b2057c8677c2c006e87fede15f496555dc0
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-31784
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_pxp.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/9e962e68a9d26135af67c423767c0983d9ad94c3 https://git.kernel.org/stable/c/400ee45f80480c05c3fa673967f25faab8323753 https://git.kernel.org/stable/c/76903b2057c8677c2c006e87fede15f496555dc0