Two memory leaks in the v3dsubmitclioctl() function in drivers/gpu/drm/v3d/v3dgem.c in the Linux kernel before 5.3.11 allow attackers to cause a denial of service (memory consumption) by triggering kcalloc() or v3djobinit() failures, aka CID-29cd13cfd762.