From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751913AbcGSTr3 (ORCPT ); Tue, 19 Jul 2016 15:47:29 -0400 Received: from arcturus.aphlor.org ([188.246.204.175]:41682 "EHLO arcturus.aphlor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751708AbcGSTr1 (ORCPT ); Tue, 19 Jul 2016 15:47:27 -0400 Date: Tue, 19 Jul 2016 15:47:24 -0400 From: Dave Jones To: Al Viro Cc: Alexey Dobriyan , Linux Kernel Subject: Re: 4.7-rc7: use-after-free in proc_map_files_readdir Message-ID: <20160719194724.GA27721@codemonkey.org.uk> Mail-Followup-To: Dave Jones , Al Viro , Alexey Dobriyan , Linux Kernel References: <20160719153145.GA11224@codemonkey.org.uk> <20160719162036.GG2356@ZenIV.linux.org.uk> <20160719183327.GA22621@codemonkey.org.uk> <20160719193857.GI2356@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160719193857.GI2356@ZenIV.linux.org.uk> User-Agent: Mutt/1.6.0 (2016-04-01) X-Spam-Flag: skipped (authorised relay user) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 19, 2016 at 08:38:57PM +0100, Al Viro wrote: > On Tue, Jul 19, 2016 at 02:33:27PM -0400, Dave Jones wrote: > > > Could you dump the relevant part of vmlinux objdump, rather than whatever > > > you've used on base.o? Having relocations resolved makes it much easier > > > to figure out... Or just dump that vmlinux on anonftp somewhere... > > > > http://codemonkey.org.uk/junk/vmlinux.gz > > OK, it's actually about fetching ->f_mode in > info.mode = vma->vm_file->f_mode; > > %r15 points contains vma->vm_file at that point, and 0x84 is the offset of > f_mode in struct file on your config from hell (due to spinlock_t size > exploding on lockdep et.al.) > > Interesting... Do you have a reproducer for that? Will give it another run when I get home. Machine is locked up for unknown reasons right now.. Dave