What’s Vulnerable › Vulnerabilities

CVE-2025-39679: drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor().

Description

In the Linux kernel, the following vulnerability has been resolved: drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor(). When the nvif_vmm_type is invalid, we will return error directly without freeing the args in nvif_vmm_ctor(), which leading a memory leak. Fix it by setting the ret -EINVAL and goto done.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.44, 6.16.4, 6.6.103. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-39679 or the next vulnerability affects your stack