[PATCHv4-4.5 6/7] NVMe: Don't allow unsupported flags

Johannes Thumshirn jthumshirn at suse.de
Thu Feb 25 00:12:34 PST 2016


On Wed, Feb 24, 2016 at 09:15:57AM -0700, Keith Busch wrote:
> The command flags can change the meaning of other fields in the command
> that the driver is not prepared to handle. Specifically, the user could
> passthrough an SGL flag, causing the controller to misinterpret the PRP
> list the driver created, potentially corrupting memory or data.
> 
> Signed-off-by: Keith Busch <keith.busch at intel.com>
> Reviewed-by: Jon Derrick <jonathan.derrick at intel.com>

Reviewed-by: Johannes Thumshirn <jthumshirn at suse.de>

-- 
Johannes Thumshirn                                          Storage
jthumshirn at suse.de                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850



More information about the Linux-nvme mailing list