CVE-2021-47657
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47657 affects the Linux kernel's DRM (Direct Rendering Manager) Virtio GPU driver. The vulnerability was discovered when virtiogpuobjectshmeminit() fails, causing virtiogpuarrayputfree() to be called with objs equal to NULL, which could lead to a NULL pointer dereference. This issue was disclosed and patched in February 2025 (NVD).

Technical details

The vulnerability exists in the virtio GPU driver's memory management code. Specifically, in the virtiogpuarrayputfree() function, there was no check to ensure that the objs parameter was not NULL before attempting to access its members. This could occur when virtiogpuobjectshmeminit() fails, for example due to fault injection as reported by syzbot (Kernel Commit).

Impact

If exploited, this vulnerability could lead to a NULL pointer dereference in the Linux kernel's DRM Virtio GPU driver, potentially causing a system crash or denial of service condition (NVD).

Mitigation and workarounds

The issue has been fixed by adding a NULL pointer check in the virtiogpuarrayputfree() function. The patch ensures that if objs is NULL, the function returns immediately before attempting to access any members (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-hwe-6.14
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-azure-fde-6.14
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-tools-libs-devel
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management