{"id":"CVE-2025-39679","summary":"drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor().","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor().\n\nWhen the nvif_vmm_type is invalid, we will return error directly\nwithout freeing the args in nvif_vmm_ctor(), which leading a memory\nleak. Fix it by setting the ret -EINVAL and goto done.","modified":"2026-04-16T04:33:19.237593215Z","published":"2025-09-05T17:20:45.357Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39679.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/72553fe19317fe93cb8591c83095c446bc7fe292"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7d9110e3b35d08832661da1a1fc2d24455981a04"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb8aeaa3191b617c6faf8ae937252e059673b7ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cabcb52d76d3d42f16c344a96e098dd9d18602f8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39679.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39679"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6b252cf42281045a9f803d2198023500cfa6ebd2"},{"fixed":"72553fe19317fe93cb8591c83095c446bc7fe292"},{"fixed":"cabcb52d76d3d42f16c344a96e098dd9d18602f8"},{"fixed":"7d9110e3b35d08832661da1a1fc2d24455981a04"},{"fixed":"bb8aeaa3191b617c6faf8ae937252e059673b7ea"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39679.json"}}],"schema_version":"1.7.5"}