Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2021-47657

drm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free()

Description

In the Linux kernel, the following vulnerability has been resolved: drm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free() If virtio_gpu_object_shmem_init() fails (e.g. due to fault injection, as it happened in the bug report by syzbot), virtio_gpu_array_put_free() could be called with objs equal to NULL. Ensure that objs is not NULL in virtio_gpu_array_put_free(), or otherwise return from the function.

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

  • 377f8331d0565e6f71ba081c894029a92d0c7e77 to < b094fece3810c71ceee6f0921676cb65d4e68c5aaffected
  • 377f8331d0565e6f71ba081c894029a92d0c7e77 to < ac92b474eeeed75b8660374ba1d129a121c09da8affected
  • 377f8331d0565e6f71ba081c894029a92d0c7e77 to < abc9ad36df16e27ac1c665085157f1a082d39bacaffected
  • 377f8331d0565e6f71ba081c894029a92d0c7e77 to < 6b79f96f4a23846516e5e6e4dd37fc06f43a60ddaffected
  • 244dbb4abe123779ec30e7c6ca283a681aba5c94affected
  • 1016c0f62f73d5d2c3a5d1ad1e1fb0cdce1993aeaffected
  • 5.11.20 to < 5.12affected
  • 5.12.3 to < 5.13affected

Linux Linux

Default version status: affected

  • 5.13affected
  • 0 to < 5.13unaffected
  • 5.15.32 to ≤ 5.15.*unaffected
  • 5.16.18 to ≤ 5.16.*unaffected
  • 5.17.1 to ≤ 5.17.*unaffected
  • 5.18 to ≤ *unaffected

References