CVE-2021-47657: drm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free()
In the Linux kernel, the following vulnerability has been resolved:
drm/virtio: Ensure that objs is not NULL in virtiogpuarrayputfree()
If virtiogpuobjectshmeminit() fails (e.g. due to fault injection, as it happened in the bug report by syzbot), virtiogpuarrayputfree() could be called with objs equal to NULL.
Ensure that objs is not NULL in virtiogpuarrayputfree(), or otherwise return from the function.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In virtio_gpu_array_put_free(), ensure objs is not NULL; otherwise return from the function.
Event History
Frequently Asked Questions
What is the severity of CVE-2021-47657?
CVE-2021-47657 has been classified with a severity rating of medium, indicating a moderate risk of exploitation.
How do I fix CVE-2021-47657?
To remediate CVE-2021-47657, update the Linux kernel to a version that is higher than 5.17.1.
Which Linux kernel versions are affected by CVE-2021-47657?
CVE-2021-47657 affects Linux kernel versions ranging from 5.11.20 to 5.17.1.
What type of vulnerability is CVE-2021-47657?
CVE-2021-47657 is a memory management vulnerability in the Linux kernel affecting the virtio GPU driver.
Can CVE-2021-47657 be exploited remotely?
CVE-2021-47657 requires local access to the system, thus it is not considered a remote exploit.