Linux
drm/xe: Open-code GGTT MMIO access protection
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 919bb54e989c1edef87e9797be125c94c450fc65, < e2b424aadecb640f9e037b2891191cf8fd4c64cf
- >= 919bb54e989c1edef87e9797be125c94c450fc65, < 1e9e2640d870d4837bcfdc220cb2c99ae5ee119f
- >= 919bb54e989c1edef87e9797be125c94c450fc65, < 76326dc06d8793c2c81c31cc0115dbc348de2f88
- >= 919bb54e989c1edef87e9797be125c94c450fc65, < 01f2557aa684e514005541e71a3d01f4cd45c170
Fixed in e2b424aadecb640f9e037b2891191cf8fd4c64cf, 1e9e2640d870d4837bcfdc220cb2c99ae5ee119f, 76326dc06d8793c2c81c31cc0115dbc348de2f88, 01f2557aa684e514005541e71a3d01f4cd45c170
- 6.12
Fixed in 0, 6.12.78, 6.18.20, 6.19.10, 7.0
Mitigation
Upgrade Linux to e2b424aadecb640f9e037b2891191cf8fd4c64cf or 1e9e2640d870d4837bcfdc220cb2c99ae5ee119f or 76326dc06d8793c2c81c31cc0115dbc348de2f88 or 01f2557aa684e514005541e71a3d01f4cd45c170 or later.
Upgrade Linux to 0 or 6.12.78 or 6.18.20 or 6.19.10 or 7.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.