CVE-2022-50842

published 30 Dec 2025 · updated 11 May 2026

drm/virtio: Check whether transferred 2D BO is shmem

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 36e133af33ea54193378b190cf92c47c12a43d34, Kernel 989164305b933af06d69bb91044dafbd01025371, Kernel e473216b42aa1fd9fc6b94b608b42c210c655908 and 2 more.

In the Linux kernel, the following vulnerability has been resolved: drm/virtio: Check whether transferred 2D BO is shmem Transferred 2D BO always must be a shmem BO. Add check for that to prevent NULL dereference if userspace passes a VRAM BO.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.7, >=f651c8b055423057d9f41525dfdc37b4796015d1 <36e133af33ea54193378b190cf92c47c12a43d34, >=f651c8b055423057d9f41525dfdc37b4796015d1 <989164305b933af06d69bb91044dafbd01025371, >=f651c8b055423057d9f41525dfdc37b4796015d1 <e473216b42aa1fd9fc6b94b608b42c210c655908, >=f651c8b055423057d9f41525dfdc37b4796015d1 <f122bcb34f1a4b02ef3d95058d8fd1316ea03785, >=f651c8b055423057d9f41525dfdc37b4796015d1 <f134f261d76ae3d5ecf68db642eaa746ceb84cfb36e133af33ea54193378b190cf92c47c12a43d34, 989164305b933af06d69bb91044dafbd01025371, e473216b42aa1fd9fc6b94b608b42c210c655908, f122bcb34f1a4b02ef3d95058d8fd1316ea03785, f134f261d76ae3d5ecf68db642eaa746ceb84cfb

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50842 severity on Zeptric[![CVE-2022-50842](https://zeptric.io/badge/cve/CVE-2022-50842.svg)](https://zeptric.io/cve/CVE-2022-50842)