Files
linux/drivers/ata
Jens Axboe 3ca013cd63 libata: add SG safety checks in SFF pio transfers
[ Upstream commit 752ead4449 ]

Abort processing of a command if we run out of mapped data in the
SG list. This should never happen, but a previous bug caused it to
be possible. Play it safe and attempt to abort nicely if we don't
have more SG segments left.

Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-29 08:28:45 +02:00
..
2018-01-08 06:15:41 -08:00
2018-06-12 16:19:22 -07:00
2019-02-12 19:47:08 +01:00