Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1446689

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

From Al Viro <viro@ZenIV.linux.org.uk>
Newsgroups linux.kernel
Subject Re: 4.7-rc7: use-after-free in proc_map_files_readdir
Date 2016-07-19 21:40 +0200
Message-ID <rWJ22-86v-9@gated-at.bofh.it> (permalink)
References <rWBea-3l1-11@gated-at.bofh.it> <rWFhM-5LH-23@gated-at.bofh.it> <rWG4a-6iH-21@gated-at.bofh.it> <rWI5Y-7uZ-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: 4.7-rc7: use-after-free in proc_map_files_readdir Alexey Dobriyan <adobriyan@gmail.com> - 2016-07-19 13:20 +0200
  Re: 4.7-rc7: use-after-free in proc_map_files_readdir Dave Jones <davej@codemonkey.org.uk> - 2016-07-19 17:40 +0200
    Re: 4.7-rc7: use-after-free in proc_map_files_readdir Al Viro <viro@ZenIV.linux.org.uk> - 2016-07-19 18:30 +0200
      Re: 4.7-rc7: use-after-free in proc_map_files_readdir Dave Jones <davej@codemonkey.org.uk> - 2016-07-19 20:40 +0200
        Re: 4.7-rc7: use-after-free in proc_map_files_readdir Al Viro <viro@ZenIV.linux.org.uk> - 2016-07-19 21:40 +0200
          Re: 4.7-rc7: use-after-free in proc_map_files_readdir Dave Jones <davej@codemonkey.org.uk> - 2016-07-19 21:50 +0200
          Re: 4.7-rc7: use-after-free in proc_map_files_readdir Dave Jones <davej@codemonkey.org.uk> - 2016-07-20 15:20 +0200
    Re: 4.7-rc7: use-after-free in proc_map_files_readdir Alexey Dobriyan <adobriyan@gmail.com> - 2016-07-19 21:30 +0200

csiph-web