CVE-2021-47657

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
26/02/2025
Last modified:
01/10/2025

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11.20 (including) 5.12 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.12.3 (including) 5.15.32 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 5.16.18 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.17 (including) 5.17.1 (excluding)