On Tue, Apr 25, 2017 at 01:39:54PM +0200, Christoph Hellwig wrote: > The WRITE SAME to TRIM translation rewrites the DATA OUT buffer. While > the SCSI code accomodates for this by passing a read-writable buffer > userspace applications don't cater for this behavior. In fact it can > be used to rewrite e.g. a readonly file through mmap and should be > considered as a security fix. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > Cc: stable@xxxxxxxxxxxxxxx Applied to libata/for-4.12, assuming we aren't doing rc9. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html