CVE-2021-47657

published 26 Feb 2025 · updated 23 May 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6b79f96f4a23846516e5e6e4dd37fc06f43a60dd, Kernel abc9ad36df16e27ac1c665085157f1a082d39bac, Kernel ac92b474eeeed75b8660374ba1d129a121c09da8 and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=1016c0f62f73d5d2c3a5d1ad1e1fb0cdce1993ae, =244dbb4abe123779ec30e7c6ca283a681aba5c94, =5.13, >=377f8331d0565e6f71ba081c894029a92d0c7e77 <6b79f96f4a23846516e5e6e4dd37fc06f43a60dd, >=377f8331d0565e6f71ba081c894029a92d0c7e77 <abc9ad36df16e27ac1c665085157f1a082d39bac, >=377f8331d0565e6f71ba081c894029a92d0c7e77 <ac92b474eeeed75b8660374ba1d129a121c09da8, >=377f8331d0565e6f71ba081c894029a92d0c7e77 <b094fece3810c71ceee6f0921676cb65d4e68c5a, >=5.11.20 <5.12, >=5.12.3 <5.136b79f96f4a23846516e5e6e4dd37fc06f43a60dd, abc9ad36df16e27ac1c665085157f1a082d39bac, ac92b474eeeed75b8660374ba1d129a121c09da8, b094fece3810c71ceee6f0921676cb65d4e68c5a, 5.12, 5.13

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47657 severity on Zeptric[![CVE-2021-47657](https://zeptric.io/badge/cve/CVE-2021-47657.svg)](https://zeptric.io/cve/CVE-2021-47657)