Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-39679

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 6b252cf42281045a9f803d2198023500cfa6ebd2 to < 72553fe19317fe93cb8591c83095c446bc7fe292affected
  • 6b252cf42281045a9f803d2198023500cfa6ebd2 to < cabcb52d76d3d42f16c344a96e098dd9d18602f8affected
  • 6b252cf42281045a9f803d2198023500cfa6ebd2 to < 7d9110e3b35d08832661da1a1fc2d24455981a04affected
  • 6b252cf42281045a9f803d2198023500cfa6ebd2 to < bb8aeaa3191b617c6faf8ae937252e059673b7eaaffected

Linux Linux

Default version status: affected

  • 6.6affected
  • 0 to < 6.6unaffected
  • 6.6.103 to ≤ 6.6.*unaffected
  • 6.12.44 to ≤ 6.12.*unaffected
  • 6.16.4 to ≤ 6.16.*unaffected
  • 6.17 to ≤ *unaffected

References