Bug 1892313

Summary: winbindd memory leak on wbinfo -u with security=ADS [rhel-7.9.z]
Product: Red Hat Enterprise Linux 7 Reporter: Andreas Schneider <asn>
Component: sambaAssignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact: sssd-qe <sssd-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.9CC: asn, dkarpele, gdeschner, iboukris, jarrpa, jreznik, tscherf
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.10.16-8.el7_9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 11:18:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andreas Schneider 2020-10-28 13:18:13 UTC
Description of problem:

On user enumeration with wbinfo -u when winbind cache expired in query_user_list() 'res' is not freed before returning, causing the leak.

Comment 2 Andreas Schneider 2020-10-30 09:50:58 UTC
This is a simple patch to fix a memory leak in winbind and should fix the issues the customer describe that winbind is running out of memory after some time.

Comment 10 errata-xmlrpc 2020-12-15 11:18:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: samba security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:5439