CVE-2022-1280: Use After Free
A use-after-free vulnerability was found in drmleaseheld in drivers/gpu/drm/drmlease.c in the Linux kernel due to a race problem. This flaw allows a local user privilege attacker to cause a denial of service (DoS) or a kernel information leak.
Other sources
The root cause of this race is that drmsetmasterioctl can free an old fpriv->master in drmnewsetmaster, while drmmodegetresources holds a freed fpriv->master in drmleaseheld due to the absence of proper lock.
References:
https://www.openwall.com/lists/oss-security/2022/04/12/3
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:4.18.0-425.3.1.el8 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:5.14.0-162.6.1.el9_1 - Upgrade
Upgrade
redhat/kernel-rtto a version that resolves this vulnerability.Fixed in 0:5.14.0-162.6.1.rt21.168.el9_1 - Upgrade
Upgrade
redhat/Linux kernelto a version that resolves this vulnerability.Fixed in 5.15 - Upgrade
Upgrade
ubuntu/linux-azure-fde-5.15to a version that resolves this vulnerability.Fixed in 5.15.0-1114.123~20.04.1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.15.3-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2022-1280?
CVE-2022-1280 has a severity rating of medium due to its potential for denial of service and kernel information leak.
How do I fix CVE-2022-1280?
To fix CVE-2022-1280, update the Linux kernel to one of the remedied versions specified, such as 0:4.18.0-425.3.1.el8 or 0:5.14.0-162.6.1.el9_1.
What causes the CVE-2022-1280 vulnerability?
The CVE-2022-1280 vulnerability is caused by a use-after-free flaw resulting from a race condition in the drm_lease_held function.
Can CVE-2022-1280 be exploited remotely?
CVE-2022-1280 can only be exploited by a local user, indicating it does not present a remote attack vector.
Which systems are affected by CVE-2022-1280?
CVE-2022-1280 affects various versions of the Linux kernel, specifically those before the patched versions provided by Red Hat.