1. Home
  2. Vulnerabilities
  3. CVE-2022-50842

CVE-2022-50842

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

Published 30 Dec 2025 · modified 17 Jun 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 15/100

Summary

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 products and versions

Linux (1 line(s))
Linux
ProductVersionsFixed inSource
Linux 5.7 — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)

How this data is obtained and calculated