From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] sg, bsg: mitigate read/write abuse, block uaccess in release Date: Thu, 21 Jun 2018 05:40:36 -0700 Message-ID: <20180621124036.GA6348@infradead.org> References: <20180615152335.208202-1-jannh@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20180615152335.208202-1-jannh@google.com> Sender: linux-kernel-owner@vger.kernel.org To: Jann Horn Cc: Jens Axboe , FUJITA Tomonori , Doug Gilbert , "James E.J. Bottomley" , "Martin K. Petersen" , linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Al Viro , kernel-hardening@lists.openwall.com, security@kernel.org List-Id: linux-scsi@vger.kernel.org Can you resend a patch for the sg driver alone? Also I think we just want the scsi_safe_file_access code inside sg itself, it really has nothing to do with the reset of the contents in scsi_cmnd.h