linux/drivers/nvme/host
Keith Busch 63088ec7c8 NVMe: Don't allow unsupported flags
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@intel.com>
Reviewed-by: Jon Derrick <jonathan.derrick@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-03-03 14:42:50 -07:00
..
core.c NVMe: Don't allow unsupported flags 2016-03-03 14:42:50 -07:00
Kconfig nvme: fix Kconfig description for BLK_DEV_NVME_SCSI 2016-02-09 10:21:22 -07:00
lightnvm.c lightnvm: check overflow and correct mlc pairs 2016-02-04 09:19:45 -07:00
Makefile Merge branch 'for-4.5/nvme' of git://git.kernel.dk/linux-block 2016-01-21 19:58:02 -08:00
nvme.h NVMe: Move error handling to failed reset handler 2016-03-03 14:42:50 -07:00
pci.c NVMe: Move error handling to failed reset handler 2016-03-03 14:42:50 -07:00
scsi.c nvme: move chardev and sysfs interface to common code 2015-12-01 10:59:40 -07:00