Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50181

virtio-gpu: fix a missing check to avoid NULL dereference

Description

In the Linux kernel, the following vulnerability has been resolved: virtio-gpu: fix a missing check to avoid NULL dereference 'cache_ent' could be set NULL inside virtio_gpu_cmd_get_capset() and it will lead to a NULL dereference by a lately use of it (i.e., ptr = cache_ent->caps_cache). Fix it with a NULL check. [ kraxel: minor codestyle fixup ]

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 to < 259773fc874258606c0121767a4a27466ff337ebaffected
  • 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 to < 39caef09666c1d8274abf9472c72bcac236dc5fbaffected
  • 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 to < adbdd21983fa292e53aec3eab97306b2961ea887affected
  • 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 to < 367882a5a9448b5e1ba756125308092d614cb96caffected
  • 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 to < bd63f11f4c3c46afec07d821f74736161ff6e526affected

Linux Linux

Default version status: affected

  • 4.4affected
  • 0 to < 4.4unaffected
  • 5.10.137 to ≤ 5.10.*unaffected
  • 5.15.61 to ≤ 5.15.*unaffected
  • 5.18.18 to ≤ 5.18.*unaffected
  • 5.19.2 to ≤ 5.19.*unaffected
  • 6.0 to ≤ *unaffected

References