UnratedFix available
drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor().
Type: advisorySources: OSV
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.44, 6.16.4, 6.6.103
- CVEs
- CVE-2025-39679
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 08:21 UTC · Revision 1
Source evidence
drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor().
core-osv · Original sourcePublished 5 Sept 2025, 17:20 UTC
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.
osv:CVE-2025-39679
Kernel
Fixed versions: 6.6.103, 6.12.44, 6.16.4
Complete source record
{
"id": "72237d2479d8406a711ec91fbf2071ef17e3710a5cbfc36cb430c28b84828ac5",
"url": "https://osv.dev/vulnerability/CVE-2025-39679",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor().",
"summary": "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.",
"evidence": "osv:CVE-2025-39679",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.103",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.44",
"evidence": "/affected/1/ranges"
},
{
"value": "6.16.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-39679",
"aliases": [
"CVE-2025-39679"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.6.0"
},
{
"fixed": "6.6.103"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.44"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.16.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39679.json"
}
}
],
"modified": "2026-10-28T02:30:33.786614281Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/72553fe19317fe93cb8591c83095c446bc7fe292",
"https://git.kernel.org/stable/c/7d9110e3b35d08832661da1a1fc2d24455981a04",
"https://git.kernel.org/stable/c/bb8aeaa3191b617c6faf8ae937252e059673b7ea",
"https://git.kernel.org/stable/c/cabcb52d76d3d42f16c344a96e098dd9d18602f8",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39679.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-39679",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39679.json"
}
},
"related_cves": [
{
"value": "CVE-2025-39679",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 501102,
"published_at": "2025-09-05T17:20:45.357+00:00"
}