CVE-2025-39679 is a medium severity vulnerability in the Linux kernel's drm/nouveau/nvif component. It involves a potential memory leak in the nvif_vmm_ctor() function when an invalid nvif_vmm_type is encountered. The issue occurs because the function returns an error without freeing allocated arguments, leading to resource leakage. This flaw has been fixed by properly setting the error return value and ensuring cleanup is performed.