Bug 2589338 (CVE-2026-142801)

Summary: CVE-2026-142801 kernel: kernel: Use-after-free in MSM DRM driver via unsafe list iteration
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: akhatavk, aos-team-art-private, asdas, dpaolell, jdelft, jupierce, lgarciaa, mbiarnes, ppalepu, ppostler, prdhamdh, rhel-process-autobot, sghai, sidsharm, suppawar, vlaad, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the MSM Direct Rendering Manager (DRM) driver within the Linux kernel. A local attacker could trigger a use-after-free vulnerability during memory lock cleanup in the with_vm_locks() function due to unsafe list iteration. This flaw can lead to a Denial of Service (DoS) via a system crash or potentially allow arbitrary code execution with kernel-level privileges.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-12-03 05:08:47 UTC
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/