aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2016-02-24 16:15:57 +0000
committerJens Axboe <[email protected]>2016-03-03 21:42:50 +0000
commit63088ec7c8eadfe08b96127a41b385ec9742dace (patch)
treebf9ced59312fab61bec342bb406b2367c74040b1 /fs/fs-writeback.c
parentNVMe: Move error handling to failed reset handler (diff)
downloadkernel-63088ec7c8eadfe08b96127a41b385ec9742dace.tar.gz
kernel-63088ec7c8eadfe08b96127a41b385ec9742dace.zip
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 <[email protected]> Reviewed-by: Jon Derrick <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions