Re: [PATCH] sg, bsg: mitigate read/write abuse, block uaccess in release

From: Christoph Hellwig
Date: Wed Jul 11 2018 - 02:33:29 EST


On Tue, Jul 10, 2018 at 01:53:02PM -0700, Jann Horn wrote:
> With the error messages like in my sg patch or like with Linus'
> proposed patch (https://lore.kernel.org/lkml/CA+55aFwg-2GP4ASTdd1pusmZkF7c8AN9febVDCaioDxzYJSLfw@xxxxxxxxxxxxxx/)
> applied?

I guess we should follows Linus' suggestions.

Note that he also seems to agree with me to just remove the read/write
interface. Compared to sg bsg really is unused for the read/write
interface. But lets get your fix in first..