oss-sec mailing list archives

Re: CVE request - Linux kernel: VFAT slab-based buffer overflow


From: Yves-Alexis Perez <corsac () debian org>
Date: Thu, 28 Feb 2013 07:57:30 +0100

On mer., 2013-02-27 at 15:57 -0800, Greg KH wrote:
- not letting kernel dereference userspace pointers (and PMAP is
not 
  available everywhere, unfortunately)

What do you mean by this?

This looks like PaX KERNEXEC/UDEREF (which uses segmentation on i386 and
code instrumentation through gcc plugins on x86_64). 

On Ivy Bridge processors you have SMEP which will also prevent ring0 to
execute code from unprivileged pages and on Haswell there will be SMAP
which tries to prevent ring0 to access ring3 pages read/write when not
needed (outside of copy_{to,from}_user for example but there are
others).

But, as Jiri said, this is not available everywhere so people with more
ancient hardware can't benefit from those extensions.

Regards,
-- 
Yves-Alexis

Attachment: signature.asc
Description: This is a digitally signed message part


Current thread: