In the Linux kernel, the following vulnerability has been resolved:
drm/vmwgfx: fix a memleak in vmwgmridmangetnode
When idaallocmax fails, resources allocated before should be freed, including *res allocated by kmalloc and ttmresourceinit.