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] [day] [month] [year] [list]
Message-ID: <20160105131505.GA32528@debian>
Date:	Tue, 5 Jan 2016 14:15:05 +0100
From:	Rabin Vincent <rabin@....in>
To:	Mathieu Poirier <mathieu.poirier@...aro.org>
Cc:	Greg KH <gregkh@...uxfoundation.org>,
	Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
	Al Grant <al.grant@....com>, linux-doc@...r.kernel.org,
	fainelli@...adcom.com,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"Jeremiassen, Tor" <tor@...com>, Mike Leach <mike.leach@....com>,
	Chunyan Zhang <zhang.chunyan@...aro.org>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH V7 02/24] coresight: associating path with session rather
 than tracer

On Mon, Jan 04, 2016 at 11:24:14AM -0700, Mathieu Poirier wrote:
> On 20 December 2015 at 08:29, Rabin Vincent <rabin@....in> wrote:
> > This patch introduces a use-after-free/double kfree() if the sink is
> > disabled after the source.
> >
> > With this command sequence:
> >
> > # echo 1 > /sys/bus/coresight/devices/54162000.etb/enable_sink
> > # echo 1 > /sys/bus/coresight/devices/5414c000.ptm/enable_source
> > ...
> > # echo 0 > /sys/bus/coresight/devices/54162000.etb/enable_sink
> > # echo 0 > /sys/bus/coresight/devices/5414c000.ptm/enable_source
> 
> Can you send me the full suite of commands to get to this result? I
> simply can't trigger the trace you are collecting on your side.  I
> have the following SLUB debugging settings - can you double check
> yours as well?

The command sequence is exactly as mentioned above.  The kernel is
v4.4rc-8 + all your patches from this thread + the OMAP coresight patch
I mentioned earlier.

The .config and the entire log is attached.  There seems to be also a
lockdep warning for the second command which I missed earlier.

View attachment ".config" of type "text/plain" (72272 bytes)

View attachment "log.txt" of type "text/plain" (26899 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ