CVE-2022-50842

Source
https://cve.org/CVERecord?id=CVE-2022-50842
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50842.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50842
Downstream
Related
Published
2025-12-30T12:11:00.439Z
Modified
2026-03-12T03:26:55.806195Z
Summary
drm/virtio: Check whether transferred 2D BO is shmem
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50842.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f651c8b055423057d9f41525dfdc37b4796015d1
Fixed
f134f261d76ae3d5ecf68db642eaa746ceb84cfb
Fixed
f122bcb34f1a4b02ef3d95058d8fd1316ea03785
Fixed
989164305b933af06d69bb91044dafbd01025371
Fixed
36e133af33ea54193378b190cf92c47c12a43d34
Fixed
e473216b42aa1fd9fc6b94b608b42c210c655908

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50842.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.7.0
Fixed
5.10.150
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.75
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.19.17
Type
ECOSYSTEM
Events
Introduced
5.20.0
Fixed
6.0.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50842.json"