lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 28 May 2020 11:08:55 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     wu000273@....edu
Cc:     kjlu@....edu, j.vosburgh@...il.com, vfalico@...il.com,
        andy@...yhouse.net, kuba@...nel.org, sfeldma@...ulusnetworks.com,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] bonding: Fix reference count leak in
 bond_sysfs_slave_add.

From: wu000273@....edu
Date: Wed, 27 May 2020 22:10:29 -0500

> From: Qiushi Wu <wu000273@....edu>
> 
> kobject_init_and_add() takes reference even when it fails.
> If this function returns an error, kobject_put() must be called to
> properly clean up the memory associated with the object. Previous
> commit "b8eb718348b8" fixed a similar problem.
> 
> Fixes: 07699f9a7c8d ("bonding: add sysfs /slave dir for bond slave devices.")
> Signed-off-by: Qiushi Wu <wu000273@....edu>

Applied and queued up for -stable, thanks.

Powered by blists - more mailing lists