Re: Using x86 segments against NULL pointer deference exploit

From: H. Peter Anvin
Date: Mon Nov 09 2009 - 01:31:12 EST


On 11/06/2009 12:35 PM, matthieu castet wrote:
>
> May be the sane way should be to forbid mapping page 0, and make run
> application needing page 0 in a
> emulator. After all it is for special case [1] :
> - Win16 binary for wine
> - upstream version of dosemu and qemu have workaround
>
> But some distro still set mmap_min_addr to 0 (ubuntu+wine, ...) :(
>

Don't Do That, Then[TM].

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/