Re: 4.7-rc7: use-after-free in proc_map_files_readdir

From: Dave Jones
Date: Tue Jul 19 2016 - 11:31:53 EST


On Tue, Jul 19, 2016 at 02:16:36PM +0300, Alexey Dobriyan wrote:
> > BUG: KASAN: use-after-free in proc_map_files_readdir+0x2e3/0x5a0 at addr ffff88044feb2044
>
> Just in case can you addr2line this address or post disassembly?

http://codemonkey.org.uk/junk/fs_proc_base.dis.txt

Which by my math, looks to be..

7253: 41 8b 87 84 00 00 00 mov 0x84(%r15),%eax
info.len = snprintf(info.name,

inlined from dir_emit_dots()

Dave