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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150410102212.GF11182@pengutronix.de>
Date:	Fri, 10 Apr 2015 12:22:12 +0200
From:	Markus Pargmann <mpa@...gutronix.de>
To:	Ingo Flaschberger <ingo.flaschberger@...il.com>
Cc:	linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] w1: gpio: Fix problematic platform_data usage

Hi,

On Mon, Mar 09, 2015 at 11:18:58AM +0100, Markus Pargmann wrote:
> pdev->dev.platform_data should not be overwritten by a driver. This
> patch fixes this issue by not using platform_get_pdata to get pdata. The
> DT routine can then simply return a pdata struct with those information.
> 
> Without this patch the platform_data may be freed twice, by devres and
> the driver framework.
> 
> Reported-by: Ingo Flaschberger <ingo.flaschberger@...il.com>
> Cc: <stable@...r.kernel.org>
> Signed-off-by: Markus Pargmann <mpa@...gutronix.de>

Did you have time to test this? I would like to send this mainline but a
Tested-by of you would be nice.

Best Regards,

Markus

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ