CVE-2022-48887 drm/vmwgfx: Remove rcu locks from user resources
A race condition in the vmwgfx driver allows local attackers to crash the system by submitting command buffers from multiple threads.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-48887?
CVE-2022-48887 is a high-severity vulnerability in Linux kernel, published on 21 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
drm/vmwgfx: Remove rcu locks from user resources
User resource lookups used rcu to avoid two extra atomics. Unfortunately the rcu paths were buggy and it was easy to make the driver crash by submitting command buffers from two different threads. Because the lookups never show up in performance profiles replace them with a regular spin lock which fixes the races in accesses to those shared resources.
Fixes kernel oops'es in IGT's vmwgfx execution_buffer stress test and seen crashes with apps using shared resources.
Which versions are affected by CVE-2022-48887?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-48887?
Apply the vendor's patch.
Is CVE-2022-48887 being exploited?
There is no known exploitation of CVE-2022-48887 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-48771, DEBIAN-CVE-2022-48887, GHSA-w8v8-pp27-rwcg, ROOT-OS-DEBIAN-11-CVE-2022-48887, ROOT-OS-UBUNTU-2204-CVE-2022-48887, UBUNTU-CVE-2022-48887.