CVE-2022-50842
Not scored
drm/virtio: Check whether transferred 2D BO is shmem
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.
Exploit probability
0.2%
Published
December 30, 2025
Required by
Not available
Last source change
August 12, 2026
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2022-50842
View original source
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/36e133af33ea54193378b190cf92c47c12a43d34
- https://git.kernel.org/stable/c/989164305b933af06d69bb91044dafbd01025371
- https://git.kernel.org/stable/c/e473216b42aa1fd9fc6b94b608b42c210c655908
- https://git.kernel.org/stable/c/f122bcb34f1a4b02ef3d95058d8fd1316ea03785
- https://git.kernel.org/stable/c/f134f261d76ae3d5ecf68db642eaa746ceb84cfb
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50842.json
- https://nvd.nist.gov/vuln/detail/CVE-2022-50842