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

Christoph Hellwig
2018-07-11T06:33:28Z

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@mail.gmail.com/)
> 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..