{"id":"CVE-2026-142801","summary":"drm/msm: Fix vm_bo use-after-free in with_vm_locks()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm: Fix vm_bo use-after-free in with_vm_locks()\n\nThe unwind loop drops the vm_bo reference taken while locking before\nadvancing to the next entry.  drm_gpuvm_bo_put() may drop the last\nreference, removing and freeing the vm_bo, after which the plain list\niterator dereferences freed memory to advance.\n\nUse the safe iterator, which saves the next entry before the body runs.\n\nPatchwork: https://patchwork.freedesktop.org/patch/754331/","modified":"2026-12-03T05:00:43.191088427Z","published":"2026-12-03T03:11:31.007Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142801.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3bcce6db59400fb643348179cd1f2a22a274b0e5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81878aa1a2f551f51a3d3aef2a9509503ec34d8b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a1fe31028ad6ddad4fa0ee086317fc1b00fbada1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142801.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142801"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fe4952b5f27cca5d143d3de249562d4cc984c1d6"},{"fixed":"3bcce6db59400fb643348179cd1f2a22a274b0e5"},{"fixed":"a1fe31028ad6ddad4fa0ee086317fc1b00fbada1"},{"fixed":"81878aa1a2f551f51a3d3aef2a9509503ec34d8b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142801.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142801.json"}}],"schema_version":"1.9.2"}