CVE-2025-39679Published Sep 5, 2025 · Sep 5Updated Oct 28
drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor().
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's nvif_vmm_ctor() can leak memory when nvif_vmm_type is invalid because it returns an error without freeing args. The input does not specify whether an attacker can trigger this condition or what access or interaction would be required.
Engineers running the Linux kernel should check whether their version is affected; affected versions are not specified.