In the Linux kernel, the following vulnerability has been resolved:
drm/nouveau/nvif: Fix potential memory leak in nvifvmmctor().
When the nvifvmmtype is invalid, we will return error directly without freeing the args in nvifvmmctor(), which leading a memory leak. Fix it by setting the ret -EINVAL and goto done.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39679.json"
}[
{
"digest": {
"length": 1598.0,
"function_hash": "290612315824145672614121716604827908911"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-39679-1189caf8",
"target": {
"function": "nvif_vmm_ctor",
"file": "drivers/gpu/drm/nouveau/nvif/vmm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cabcb52d76d3d42f16c344a96e098dd9d18602f8"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"250808697624696241817632887665002796839",
"314311392658020062367301000025094589565",
"100890239781293230607301407251627366067",
"243090179107672739742879152559149118082"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-39679-36d3856e",
"target": {
"file": "drivers/gpu/drm/nouveau/nvif/vmm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cabcb52d76d3d42f16c344a96e098dd9d18602f8"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39679.json"