Missing Release of Memory after Effective Lifetime
Several memory leaks were found in the virtio vhost-user GPU device (vhost-user-gpu) of QEMU in versions 4.1.0-rc0 before 6.0.1. They exist in "contrib/vhost-user-gpu/vhost-user-gpu.c" and "contrib/vhost-user-gpu/virgl.c" due to improper release of memory (i.e., free) after effective lifetime.
CWE-401 - Missing release of memory after effective lifetime (memory leak)
'Missing release of memory after effective lifetime (memory leak)' is a weakness that occurs when software doesn't effectively release allocated memory after it is used. If not addressed, this enables attackers to launch denial of service attacks (by crashing or hanging the program) or take advantage of other unexpected behavior resulting from low memory conditions.