CVE-2025-39679

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

State
Published
Severity
Not scored
Published
Sep 5, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6b252cf42281045a9f803d2198023500cfa6ebd2 to before 72553fe19317fe93cb8591c83095c446bc7fe292Affected
  • 6b252cf42281045a9f803d2198023500cfa6ebd2 to before cabcb52d76d3d42f16c344a96e098dd9d18602f8Affected
  • 6b252cf42281045a9f803d2198023500cfa6ebd2 to before 7d9110e3b35d08832661da1a1fc2d24455981a04Affected
  • 6b252cf42281045a9f803d2198023500cfa6ebd2 to before bb8aeaa3191b617c6faf8ae937252e059673b7eaAffected
LinuxLinux
  • 6.6Affected
  • before 6.6Not affected
  • 6.6.103 through 6.6.*Not affected
  • 6.12.44 through 6.12.*Not affected
  • 6.16.4 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.