CVE-2022-50842

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

State
Published
Severity
Not scored
Published
Dec 30, 2025
Updated
May 11, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f651c8b055423057d9f41525dfdc37b4796015d1 to before f134f261d76ae3d5ecf68db642eaa746ceb84cfbAffected
  • f651c8b055423057d9f41525dfdc37b4796015d1 to before f122bcb34f1a4b02ef3d95058d8fd1316ea03785Affected
  • f651c8b055423057d9f41525dfdc37b4796015d1 to before 989164305b933af06d69bb91044dafbd01025371Affected
  • f651c8b055423057d9f41525dfdc37b4796015d1 to before 36e133af33ea54193378b190cf92c47c12a43d34Affected
  • f651c8b055423057d9f41525dfdc37b4796015d1 to before e473216b42aa1fd9fc6b94b608b42c210c655908Affected
LinuxLinux
  • 5.7Affected
  • before 5.7Not affected
  • 5.10.150 through 5.10.*Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.