Project

General

Profile

Bug #8375

Kernel memory leak in nvpair code

Added by Serapheim Dimitropoulos over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2017-06-12
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

In nvs_embedded(), when we return EINVAL due to reaching the recursion limit, we don't free the nvpriv_t that was allocated earlier in the function.

History

#1

Updated by Electric Monk over 2 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit 843c2111b160463f014d325560ad4b051711928e

commit  843c2111b160463f014d325560ad4b051711928e
Author: Matthew Ahrens <mahrens@delphix.com>
Date:   2017-06-13T20:08:07.000Z

    8375 Kernel memory leak in nvpair code
    Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Reviewed by: Prashanth Sreenivasa <pks@delphix.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF