CVE-2026-31479
drm/xe: always keep track of remap prev/next
Description
In the Linux kernel, the following vulnerability has been resolved: drm/xe: always keep track of remap prev/next During 3D workload, user is reporting hitting: [ 413.361679] WARNING: drivers/gpu/drm/xe/xe_vm.c:1217 at vm_bind_ioctl_ops_unwind+0x1e2/0x2e0 [xe], CPU#7: vkd3d_queue/9925 [ 413.361944] CPU: 7 UID: 1000 PID: 9925 Comm: vkd3d_queue Kdump: loaded Not tainted 7.0.0-070000rc3-generic #202603090038 PREEMPT(lazy) [ 413.361949] RIP: 0010:vm_bind_ioctl_ops_unwind+0x1e2/0x2e0 [xe] [ 413.362074] RSP: 0018:ffffd4c25c3df930 EFLAGS: 00010282 [ 413.362077] RAX: 0000000000000000 RBX: ffff8f3ee817ed10 RCX: 0000000000000000 [ 413.362078] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 413.362079] RBP: ffffd4c25c3df980 R08: 0000000000000000 R09: 0000000000000000 [ 413.362081] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8f41fbf99380 [ 413.362082] R13: ffff8f3ee817e968 R14: 00000000ffffffef R15: ffff8f43d00bd380 [ 413.362083] FS: 00000001040ff6c0(0000) GS:ffff8f4696d89000(0000) knlGS:00000000330b0000 [ 413.362085] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 [ 413.362086] CR2: 00007ddfc4747000 CR3: 00000002e6262005 CR4: 0000000000f72ef0 [ 413.362088] PKRU: 55555554 [ 413.362089] Call Trace: [ 413.362092] <TASK> [ 413.362096] xe_vm_bind_ioctl+0xa9a/0xc60 [xe] Which seems to hint that the vma we are re-inserting for the ops unwind is either invalid or overlapping with something already inserted in the vm. It shouldn't be invalid since this is a re-insertion, so must have worked before. Leaving the likely culprit as something already placed where we want to insert the vma. Following from that, for the case where we do something like a rebind in the middle of a vma, and one or both mapped ends are already compatible, we skip doing the rebind of those vma and set next/prev to NULL. As well as then adjust the original unmap va range, to avoid unmapping the ends. However, if we trigger the unwind path, we end up with three va, with the two ends never being removed and the original va range in the middle still being the shrunken size. If this occurs, one failure mode is when another unwind op needs to interact with that range, which can happen with a vector of binds. For example, if we need to re-insert something in place of the original va. In this case the va is still the shrunken version, so when removing it and then doing a re-insert it can overlap with the ends, which were never removed, triggering a warning like above, plus leaving the vm in a bad state. With that, we need two things here: 1) Stop nuking the prev/next tracking for the skip cases. Instead relying on checking for skip prev/next, where needed. That way on the unwind path, we now correctly remove both ends. 2) Undo the unmap va shrinkage, on the unwind path. With the two ends now removed the unmap va should expand back to the original size again, before re-insertion. v2: - Update the explanation in the commit message, based on an actual IGT of triggering this issue, rather than conjecture. - Also undo the unmap shrinkage, for the skip case. With the two ends now removed, the original unmap va range should expand back to the original range. v3: - Track the old start/range separately. vma_size/start() uses the va info directly. (cherry picked from commit aec6969f75afbf4e01fd5fb5850ed3e9c27043ac)
INFO
Published Date :
April 22, 2026, 2:16 p.m.
Last Modified :
Nov. 11, 2026, 11:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the latest version.
- Apply the specific patch for drm/xe driver.
- Recompile and install the kernel.
- Reboot the system.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-31479.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-31479 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-31479
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-31479 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-31479 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/xe: siempre mantener un registro de prev/next de reasignación Durante una carga de trabajo 3D, el usuario informa que se encuentra con: [ 413.361679] WARNING: drivers/gpu/drm/xe/xe_vm.c:1217 at vm_bind_ioctl_ops_unwind+0x1e2/0x2e0 [xe], CPU#7: vkd3d_queue/9925 [ 413.361944] CPU: 7 UID: 1000 PID: 9925 Comm: vkd3d_queue Kdump: loaded Not tainted 7.0.0-070000rc3-generic #202603090038 PREEMPT(lazy) [ 413.361949] RIP: 0010:vm_bind_ioctl_ops_unwind+0x1e2/0x2e0 [xe] [ 413.362074] RSP: 0018:ffffd4c25c3df930 EFLAGS: 00010282 [ 413.362077] RAX: 0000000000000000 RBX: ffff8f3ee817ed10 RCX: 0000000000000000 [ 413.362078] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 413.362079] RBP: ffffd4c25c3df980 R08: 0000000000000000 R09: 0000000000000000 [ 413.362081] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8f41fbf99380 [ 413.362082] R13: ffff8f3ee817e968 R14: 00000000ffffffef R15: ffff8f43d00bd380 [ 413.362083] FS: 00000001040ff6c0(0000) GS:ffff8f4696d89000(0000) knlGS:00000000330b0000 [ 413.362085] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 [ 413.362086] CR2: 00007ddfc4747000 CR3: 00000002e6262005 CR4: 0000000000f72ef0 [ 413.362088] PKRU: 55555554 [ 413.362089] Call Trace: [ 413.362092] [TASK] [ 413.362096] xe_vm_bind_ioctl+0xa9a/0xc60 [xe] Lo que parece sugerir que el vma que estamos reinsertando para el desenrollado de operaciones es inválido o se superpone con algo ya insertado en la vm. No debería ser inválido ya que esto es una reinserción, por lo que debe haber funcionado antes. Dejando al culpable probable como algo ya colocado donde queremos insertar el vma. A partir de eso, para el caso en el que hacemos algo como un rebind en medio de un vma, y uno o ambos extremos mapeados ya son compatibles, omitimos hacer el rebind de esos vma y establecemos next/prev en NULL. Así como luego ajustamos el rango va de desmapeo original, para evitar desmapear los extremos. Sin embargo, si activamos la ruta de desenrollado, terminamos con tres va, con los dos extremos nunca siendo eliminados y el rango va original en el medio aún siendo del tamaño reducido. Si esto ocurre, un modo de fallo es cuando otra operación de desenrollado necesita interactuar con ese rango, lo que puede ocurrir con un vector de enlaces. Por ejemplo, si necesitamos reinsertar algo en lugar del va original. En este caso, el va sigue siendo la versión reducida, por lo que al eliminarlo y luego hacer una reinserción puede superponerse con los extremos, que nunca fueron eliminados, lo que activa una advertencia como la anterior, además de dejar la vm en un estado defectuoso. Con eso, necesitamos dos cosas aquí: 1) Dejar de anular el seguimiento de prev/next para los casos de omisión. En su lugar, confiar en la verificación de skip prev/next, donde sea necesario. De esa manera, en la ruta de desenrollado, ahora eliminamos correctamente ambos extremos. 2) Deshacer la reducción del va de desmapeo, en la ruta de desenrollado. Con los dos extremos ahora eliminados, el va de desmapeo debería expandirse de nuevo al tamaño original, antes de la reinserción. v2: - Actualizar la explicación en el mensaje de commit, basada en una IGT real que activa este problema, en lugar de conjeturas. - También deshacer la reducción del desmapeo, para el caso de omisión. Con los dos extremos ahora eliminados, el rango va de desmapeo original debería expandirse de nuevo al rango original. v3: - Rastrear el inicio/rango antiguo por separado. vma_size/start() utiliza la información del va directamente. (seleccionado de la confirmación aec6969f75afbf4e01fd5fb5850ed3e9c27043ac) -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 19, 2026
Action Type Old Value New Value Added CWE CWE-662 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 16, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/5eda8001ebb5269755608d678dd1f3928ab077c9 Added Reference https://git.kernel.org/stable/c/bfe9e314d7574d1c5c851972e7aee342733819d2 Added Reference https://git.kernel.org/stable/c/ccd41f110c608b3cc347b9be881c3e72cd634b2b Added Reference https://git.kernel.org/stable/c/e6ba1749549e87b83c0c4885d84b543687c3740e Removed Reference https://git.kernel.org/stable/c/5eda8001ebb5269755608d678dd1f3928ab077c9 Removed Reference https://git.kernel.org/stable/c/bfe9e314d7574d1c5c851972e7aee342733819d2 Removed Reference https://git.kernel.org/stable/c/ccd41f110c608b3cc347b9be881c3e72cd634b2b Removed Reference https://git.kernel.org/stable/c/e6ba1749549e87b83c0c4885d84b543687c3740e Removed Reference Type https://git.kernel.org/stable/c/5eda8001ebb5269755608d678dd1f3928ab077c9 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/bfe9e314d7574d1c5c851972e7aee342733819d2 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/ccd41f110c608b3cc347b9be881c3e72cd634b2b Types: Patch Removed Reference Type https://git.kernel.org/stable/c/e6ba1749549e87b83c0c4885d84b543687c3740e Types: Patch -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 16, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-31479', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:10:03.706925Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '8f33b4f054fc29a4774d8d10116ef460faeb84a8', 'lessThan': 'ccd41f110c608b3cc347b9be881c3e72cd634b2b', 'versionType': 'git'}, {'status': 'affected', 'version': '8f33b4f054fc29a4774d8d10116ef460faeb84a8', 'lessThan': '5eda8001ebb5269755608d678dd1f3928ab077c9', 'versionType': 'git'}, {'status': 'affected', 'version': '8f33b4f054fc29a4774d8d10116ef460faeb84a8', 'lessThan': 'e6ba1749549e87b83c0c4885d84b543687c3740e', 'versionType': 'git'}, {'status': 'affected', 'version': '8f33b4f054fc29a4774d8d10116ef460faeb84a8', 'lessThan': 'bfe9e314d7574d1c5c851972e7aee342733819d2', 'versionType': 'git'}], 'programFiles': ['drivers/gpu/drm/xe/xe_pt.c', 'drivers/gpu/drm/xe/xe_vm.c', 'drivers/gpu/drm/xe/xe_vm_types.h'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.8'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.8', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.80', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.21', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.11', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/xe/xe_pt.c', 'drivers/gpu/drm/xe/xe_vm.c', 'drivers/gpu/drm/xe/xe_vm_types.h'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
Apr. 27, 2026
Action Type Old Value New Value Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.8:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.21 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.8.1 up to (excluding) 6.12.80 Added Reference Type kernel.org: https://git.kernel.org/stable/c/5eda8001ebb5269755608d678dd1f3928ab077c9 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/bfe9e314d7574d1c5c851972e7aee342733819d2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ccd41f110c608b3cc347b9be881c3e72cd634b2b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e6ba1749549e87b83c0c4885d84b543687c3740e Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 27, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 22, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: drm/xe: always keep track of remap prev/next During 3D workload, user is reporting hitting: [ 413.361679] WARNING: drivers/gpu/drm/xe/xe_vm.c:1217 at vm_bind_ioctl_ops_unwind+0x1e2/0x2e0 [xe], CPU#7: vkd3d_queue/9925 [ 413.361944] CPU: 7 UID: 1000 PID: 9925 Comm: vkd3d_queue Kdump: loaded Not tainted 7.0.0-070000rc3-generic #202603090038 PREEMPT(lazy) [ 413.361949] RIP: 0010:vm_bind_ioctl_ops_unwind+0x1e2/0x2e0 [xe] [ 413.362074] RSP: 0018:ffffd4c25c3df930 EFLAGS: 00010282 [ 413.362077] RAX: 0000000000000000 RBX: ffff8f3ee817ed10 RCX: 0000000000000000 [ 413.362078] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 413.362079] RBP: ffffd4c25c3df980 R08: 0000000000000000 R09: 0000000000000000 [ 413.362081] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8f41fbf99380 [ 413.362082] R13: ffff8f3ee817e968 R14: 00000000ffffffef R15: ffff8f43d00bd380 [ 413.362083] FS: 00000001040ff6c0(0000) GS:ffff8f4696d89000(0000) knlGS:00000000330b0000 [ 413.362085] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 [ 413.362086] CR2: 00007ddfc4747000 CR3: 00000002e6262005 CR4: 0000000000f72ef0 [ 413.362088] PKRU: 55555554 [ 413.362089] Call Trace: [ 413.362092] <TASK> [ 413.362096] xe_vm_bind_ioctl+0xa9a/0xc60 [xe] Which seems to hint that the vma we are re-inserting for the ops unwind is either invalid or overlapping with something already inserted in the vm. It shouldn't be invalid since this is a re-insertion, so must have worked before. Leaving the likely culprit as something already placed where we want to insert the vma. Following from that, for the case where we do something like a rebind in the middle of a vma, and one or both mapped ends are already compatible, we skip doing the rebind of those vma and set next/prev to NULL. As well as then adjust the original unmap va range, to avoid unmapping the ends. However, if we trigger the unwind path, we end up with three va, with the two ends never being removed and the original va range in the middle still being the shrunken size. If this occurs, one failure mode is when another unwind op needs to interact with that range, which can happen with a vector of binds. For example, if we need to re-insert something in place of the original va. In this case the va is still the shrunken version, so when removing it and then doing a re-insert it can overlap with the ends, which were never removed, triggering a warning like above, plus leaving the vm in a bad state. With that, we need two things here: 1) Stop nuking the prev/next tracking for the skip cases. Instead relying on checking for skip prev/next, where needed. That way on the unwind path, we now correctly remove both ends. 2) Undo the unmap va shrinkage, on the unwind path. With the two ends now removed the unmap va should expand back to the original size again, before re-insertion. v2: - Update the explanation in the commit message, based on an actual IGT of triggering this issue, rather than conjecture. - Also undo the unmap shrinkage, for the skip case. With the two ends now removed, the original unmap va range should expand back to the original range. v3: - Track the old start/range separately. vma_size/start() uses the va info directly. (cherry picked from commit aec6969f75afbf4e01fd5fb5850ed3e9c27043ac) Added Reference https://git.kernel.org/stable/c/5eda8001ebb5269755608d678dd1f3928ab077c9 Added Reference https://git.kernel.org/stable/c/bfe9e314d7574d1c5c851972e7aee342733819d2 Added Reference https://git.kernel.org/stable/c/ccd41f110c608b3cc347b9be881c3e72cd634b2b Added Reference https://git.kernel.org/stable/c/e6ba1749549e87b83c0c4885d84b543687c3740e