[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1mv7qvy8j.fsf@oracle.com>
Date: Thu, 27 Jul 2017 08:51:56 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Johannes Thumshirn <jthumshirn@...e.de>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Jason L Tibbitts III <tibbs@...h.uh.edu>,
Doug Gilbert <dgilbert@...erlog.com>,
Linux Kernel Mailinglist <linux-kernel@...r.kernel.org>,
Linux SCSI Mailinglist <linux-scsi@...r.kernel.org>,
Hannes Reinecke <hare@...e.de>, stable@...r.kernel.org
Subject: Re: [PATCH] scsi: sg: only check for dxfer_len greater than 256M
Johannes,
> Don't make any assumptions on the sg_io_hdr_t::dxfer_direction or the
> sg_io_hdr_t::dxferp in order to determine if it is a valid
> request. The only way we can check for bad requests is by checking if
> the length exceeds 256M.
Applied to 4.13/scsi-fixes. Thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists