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.
[
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1598.0,
"function_hash": "290612315824145672614121716604827908911"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cabcb52d76d3d42f16c344a96e098dd9d18602f8",
"target": {
"file": "drivers/gpu/drm/nouveau/nvif/vmm.c",
"function": "nvif_vmm_ctor"
},
"id": "CVE-2025-39679-1189caf8"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"250808697624696241817632887665002796839",
"314311392658020062367301000025094589565",
"100890239781293230607301407251627366067",
"243090179107672739742879152559149118082"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cabcb52d76d3d42f16c344a96e098dd9d18602f8",
"target": {
"file": "drivers/gpu/drm/nouveau/nvif/vmm.c"
},
"id": "CVE-2025-39679-36d3856e"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1598.0,
"function_hash": "290612315824145672614121716604827908911"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72553fe19317fe93cb8591c83095c446bc7fe292",
"target": {
"file": "drivers/gpu/drm/nouveau/nvif/vmm.c",
"function": "nvif_vmm_ctor"
},
"id": "CVE-2025-39679-6e2e3504"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"250808697624696241817632887665002796839",
"314311392658020062367301000025094589565",
"100890239781293230607301407251627366067",
"243090179107672739742879152559149118082"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72553fe19317fe93cb8591c83095c446bc7fe292",
"target": {
"file": "drivers/gpu/drm/nouveau/nvif/vmm.c"
},
"id": "CVE-2025-39679-d7f624d0"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1598.0,
"function_hash": "290612315824145672614121716604827908911"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d9110e3b35d08832661da1a1fc2d24455981a04",
"target": {
"file": "drivers/gpu/drm/nouveau/nvif/vmm.c",
"function": "nvif_vmm_ctor"
},
"id": "CVE-2025-39679-e38e4625"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"250808697624696241817632887665002796839",
"314311392658020062367301000025094589565",
"100890239781293230607301407251627366067",
"243090179107672739742879152559149118082"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d9110e3b35d08832661da1a1fc2d24455981a04",
"target": {
"file": "drivers/gpu/drm/nouveau/nvif/vmm.c"
},
"id": "CVE-2025-39679-f98d4806"
}
]