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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1439381729.357.0.camel@mattleach.net>
Date:	Wed, 12 Aug 2015 13:15:29 +0100
From:	Matthew Leach <matthew@...tleach.net>
To:	Jiri Kosina <jikos@...nel.org>
Cc:	linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
	Krzysztof Kozlowski <k.kozlowski@...sung.com>,
	Sebastian Reichel <sre@...nel.org>, stable@...r.kernel.org
Subject: Re: [PATCH] HID: hid-input: fix double-free in cleanup_battery

On Wed, 2015-08-12 at 15:16 +0200, Jiri Kosina wrote:
> On Wed, 12 Aug 2015, Matthew Leach wrote:
> 
> > The power supply layer has taken control of the power supply 
> objects
> > from the drivers to core, see [1].  As such, calling
> > power_supply_unregister is enough to free the power_supply device.
> > 
> > Remove the extra kfree's as the power_supply core will handle 
> freeing
> > the power_supply object for us.
> 
> Please see commit 0621809e37 ("HID: hid-input: Fix accessing freed 
> memory 
> during device disconnect") in Linus' tree.

Ah.  I missed that.  Sorry for the noise.
-- 
Matt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ