CVE-2021-47657

MediumCVSS 5.5/10Last modified Jun 17, 2026

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.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 377f8331d0565e6f71ba081c894029a92d0c7e77, < b094fece3810c71ceee6f0921676cb65d4e68c5a; >= 377f8331d0565e6f71ba081c894029a92d0c7e77, < ac92b474eeeed75b8660374ba1d129a121c09da8; >= 377f8331d0565e6f71ba081c894029a92d0c7e77, < abc9ad36df16e27ac1c665085157f1a082d39bac; >= 377f8331d0565e6f71ba081c894029a92d0c7e77, < 6b79f96f4a23846516e5e6e4dd37fc06f43a60dd; 244dbb4abe123779ec30e7c6ca283a681aba5c94; 1016c0f62f73d5d2c3a5d1ad1e1fb0cdce1993ae; >= 5.11.20, < 5.12; >= 5.12.3, < 5.13
LinuxLinux5.13

References

Timeline

Published
Feb 26, 2025
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-476585.5In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: fix a potential gpu_metrics_table memory leak Memory is alCVE-2021-476595.5In the Linux kernel, the following vulnerability has been resolved: drm/plane: Move range check for format_count earlier While the check fCVE-2021-476605.5In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replaCVE-2021-476627.5Due to missing authorization an unauthenticated remote attacker can cause a DoS attack by connecting via HTTPS and triggering the shutdown bCVE-2021-476638.1Due to improper JSON Web Tokens implementation an unauthenticated remote attacker can guess a valid session ID and therefore impersonate a uCVE-2021-476645.3Due to improper authentication mechanism an unauthenticated remote attacker can enumerate valid usernames.CVE-2021-4766710.0An OS command injection vulnerability in lib/NSSDropoff.php in ZendTo 5.24-3 through 6.x before 6.10-7 allows unauthenticated remote attackeCVE-2021-476688.8In the Linux kernel, the following vulnerability has been resolved: can: dev: can_restart: fix use after free bug After calling netif_rx_nCVE-2021-476697.8In the Linux kernel, the following vulnerability has been resolved: can: vxcan: vxcan_xmit: fix use after free bug After calling netif_rx_CVE-2021-476708.8In the Linux kernel, the following vulnerability has been resolved: can: peak_usb: fix use after free bugs After calling peak_usb_netif_rxCVE-2021-476713.3In the Linux kernel, the following vulnerability has been resolved: can: etas_es58x: es58x_rx_err_msg(): fix memory leak in error path In CVE-2021-476885.7In WhiteBeam 0.2.0 through 0.2.1 before 0.2.2, a user with local access to a server can bypass the allow-list functionality because a file c