In the Linux kernel, the following vulnerability has been resolved: drm/msm: Fix vm_bo use-after-free in with_vm_locks() The unwind loop drops the vm_bo reference taken while locking before advancing to the next entry. drm_gpuvm_bo_put() may drop the last reference, removing and freeing the vm_bo, 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/
https://git.kernel.org/stable/c/a1fe31028ad6ddad4fa0ee086317fc1b00fbada1
https://git.kernel.org/stable/c/81878aa1a2f551f51a3d3aef2a9509503ec34d8b
https://git.kernel.org/stable/c/3bcce6db59400fb643348179cd1f2a22a274b0e5