Re: get rid of the address_space override in setsockopt v2

From: Al Viro
Date: Mon Jul 27 2020 - 09:49:16 EST


On Mon, Jul 27, 2020 at 09:51:45AM +0000, David Laight wrote:

> I'm sure there is code that processes options in chunks.
> This probably means it is possible to put a chunk boundary
> at the end of userspace and continue processing the very start
> of kernel memory.
>
> At best this faults on the kernel copy code and crashes the system.

Really? Care to provide some details, or is it another of your "I can't
be possibly arsed to check what I'm saying, but it stands for reason
that..." specials?