What’s Vulnerable › Vulnerabilities

CVE-2022-48899: drm/virtio: Fix GEM handle creation UAF

Description

In the Linux kernel, the following vulnerability has been resolved: drm/virtio: Fix GEM handle creation UAF Userspace can guess the handle value and try to race GEM object creation with handle close, resulting in a use-after-free if we dereference the object after dropping the handle's reference. For that reason, dropping the handle's reference must be done *after* we are done dereferencing the object.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.270, 5.10.164, 5.15.89, 5.4.229. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-48899 or the next vulnerability affects your stack