CVE-2026-142801: drm/msm: Fix vm_bo use-after-free in with_vm_locks()
In the Linux kernel, the following vulnerability has been resolved:
drm/msm: Fix vmbo use-after-free in withvmlocks()
The unwind loop drops the vmbo reference taken while locking before advancing to the next entry. drmgpuvmboput() may drop the last reference, removing and freeing the vmbo, after which the plain list iterator dereferences freed memory to advance.
Use the safe iterator, which saves the next entry before the body runs.
Patchwork: https://patchwork.freedesktop.org/patch/754331/
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the unwind loop in drm/msm with_vm_locks(), use the safe iterator, which saves the next list entry before the loop body runs.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems running the Linux kernel with the drm/msm graphics driver are the relevant population. The issue is in GPU virtual-memory buffer-object lock unwind handling, so exposure requires use of that driver path.
What condition triggers the use-after-free?
The condition occurs when the lock-acquisition unwind loop releases a vm_bo reference that is also the last reference. That release can remove and free the object before the non-safe list iterator advances to the next entry.
How can this be mitigated if an update cannot be applied immediately?
The provided information does not identify a configuration workaround. Reducing or avoiding use of the affected drm/msm GPU driver path is the only mitigation implied by the affected component information.