CVE-2026-23466
JSON

7.8high

drm/xe: Open-code GGTT MMIO access protection

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.11% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drm/xe: Open-code GGTT MMIO access protection GGTT MMIO access is currently protected by hotplug (drm_dev_enter), which works correctly when the driver loads successfully and is later unbound or unloaded. However, if driver load fails, this protection is insufficient because drm_dev_unplug() is never called. Additionally, devm release functions cannot guarantee that all BOs with GGTT mappings are destroyed before the GGTT MMIO region is removed, as some BOs may be freed asynchronously by worker threads. To address this, introduce an open-coded flag, protected by the GGTT lock, that guards GGTT MMIO access. The flag is cleared during the dev_fini_ggtt devm release function to ensure MMIO access is disabled once teardown begins. (cherry picked from commit 4f3a998a173b4325c2efd90bdadc6ccd3ad9a431)

Affected

Product or packageVersionsReported by
Linux Linuxfrom 919bb54e989c1edef87e9797be125c94c450fc65 before e2b424aadecb640f9e037b2891191cf8fd4c64cf, from 919bb54e989c1edef87e9797be125c94c450fc65 before 1e9e2640d870d4837bcfdc220cb2c99ae5ee119f, from 919bb54e989c1edef87e9797be125c94c450fc65 before 76326dc06d8793c2c81c31cc0115dbc348de2f88, from 919bb54e989c1edef87e9797be125c94c450fc65 before 01f2557aa684e514005541e71a3d01f4cd45c170, 6.12
Not affected: before 6.12, from 6.12.78 up to 6.12.*, from 6.18.20 up to 6.18.*, from 6.19.10 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.12 before 6.12.78, from 6.13 before 6.18.20, from 6.19 before 6.19.10, 7.0NVD

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: drm/xe: Open-code GGTT MMIO access protection GGTT MMIO access is currently protected by hotplug (drm_dev_enter), which works correctly when the driver loads successfully and is later unbound or unloaded. However, if driver load fails, this protection is insufficient because drm_dev_unplug() is never called. Additionally, devm release functions cannot guarantee that all BOs with GGTT mappings are destroyed before the GGTT MMIO region is removed, as some BOs may be freed asynchronously by worker threads. To address this, introduce an open-coded flag, protected by the GGTT lock, that guards GGTT MMIO access. The flag is cleared during the dev_fini_ggtt devm release function to ensure MMIO access is disabled once teardown begins. (cherry picked from commit 4f3a998a173b4325c2efd90bdadc6ccd3ad9a431)

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/xe: Implementación directa de la protección de acceso MMIO de GGTT El acceso MMIO de GGTT está actualmente protegido por hotplug (drm_dev_enter), lo que funciona correctamente cuando el controlador se carga con éxito y luego se desvincula o descarga. Sin embargo, si la carga del controlador falla, esta protección es insuficiente porque drm_dev_unplug() nunca se llama. Además, las funciones de liberación de devm no pueden garantizar que todos los BOs con mapeos de GGTT sean destruidos antes de que se elimine la región MMIO de GGTT, ya que algunos BOs pueden ser liberados asincrónicamente por hilos de trabajo. Para abordar esto, se introduce un indicador de codificación directa, protegido por el bloqueo de GGTT, que protege el acceso MMIO de GGTT. El indicador se borra durante la función de liberación de devm dev_fini_ggtt para asegurar que el acceso MMIO se deshabilite una vez que comienza el desmantelamiento. (seleccionado de la confirmación 4f3a998a173b4325c2efd90bdadc6ccd3ad9a431)

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23466 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-23466 changed 2026-10-19Public domain