[PATCH 4.17 10/56] scsi: sg: mitigate read/write abuse