CVE Database›Document archive›CVE-2025-39679

CVE-2025-39679

kernel: drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor()

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · September 5, 2025

Updated · June 30, 2026

Description

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.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified