CVE-2021-47657

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

18 Mar 2025, 18:50

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
CWE CWE-476
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/virtio: Asegúrese de que objs no sea NULL en virtio_gpu_array_put_free() Si virtio_gpu_object_shmem_init() falla (por ejemplo, debido a la inyección de fallos, como sucedió en el informe de error de syzbot), se podría llamar a virtio_gpu_array_put_free() con objs igual a NULL. Asegúrese de que objs no sea NULL en virtio_gpu_array_put_free() o, de lo contrario, regrese de la función.
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
References () https://git.kernel.org/stable/c/6b79f96f4a23846516e5e6e4dd37fc06f43a60dd - () https://git.kernel.org/stable/c/6b79f96f4a23846516e5e6e4dd37fc06f43a60dd - Patch
References () https://git.kernel.org/stable/c/abc9ad36df16e27ac1c665085157f1a082d39bac - () https://git.kernel.org/stable/c/abc9ad36df16e27ac1c665085157f1a082d39bac - Patch
References () https://git.kernel.org/stable/c/ac92b474eeeed75b8660374ba1d129a121c09da8 - () https://git.kernel.org/stable/c/ac92b474eeeed75b8660374ba1d129a121c09da8 - Patch
References () https://git.kernel.org/stable/c/b094fece3810c71ceee6f0921676cb65d4e68c5a - () https://git.kernel.org/stable/c/b094fece3810c71ceee6f0921676cb65d4e68c5a - Patch

26 Feb 2025, 06:37

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-26 06:37

Updated : 2025-03-18 18:50


NVD link : CVE-2021-47657

Mitre link : CVE-2021-47657

CVE.ORG link : CVE-2021-47657


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference