
Cloud Vulnerability DB
A community-led vulnerabilities database
A use-after-free vulnerability (CVE-2022-1280) was discovered in the Linux kernel's DRM (Direct Rendering Manager) component, specifically in the drmleaseheld function within drivers/gpu/drm/drmlease.c. The vulnerability was reported on March 30, 2022, and publicly disclosed on April 12, 2022. This issue affects Linux kernel versions from 4.15rc1 onwards, as this was when the DRM lease infrastructure was introduced (NVD, [Bugzilla](https://bugzilla.redhat.com/showbug.cgi?id=2071022)).
The vulnerability stems from a race condition where drmsetmasterioctl can free an old fpriv->master in drmnewsetmaster, while drmmodegetresources holds a freed fpriv->master in drmleaseheld due to the absence of proper locking mechanisms. The issue was addressed through four upstream patches that added locked versions of drmiscurrentmaster and implemented proper serialization of drmfile.master with a new spinlock (Openwall, [Bugzilla](https://bugzilla.redhat.com/showbug.cgi?id=2071022)).
The vulnerability could lead to use-after-free conditions in the Linux kernel's DRM subsystem, potentially resulting in system crashes or privilege escalation. The issue affects systems running Linux kernels with the DRM lease infrastructure enabled (NVD).
The vulnerability was fixed in Linux kernel 5.15-rc1 through four patches that implement proper locking mechanisms. These patches include adding a locked version of drmiscurrentmaster, serializing drmfile.master with a new spinlock, protecting drmmaster pointers in drmlease.c, and using the lookup lock in drmiscurrentmaster. Red Hat has addressed this issue in Red Hat Enterprise Linux 9 through security advisories RHSA-2022:7933 and RHSA-2022:8267 ([Bugzilla](https://bugzilla.redhat.com/showbug.cgi?id=2071022)).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."