Files
linux/drivers
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
..
2019-08-29 08:28:40 +02:00
2019-05-14 19:17:53 +02:00
2019-07-26 09:14:05 +02:00
2018-12-21 14:15:17 +01:00
2018-11-13 11:08:51 -08:00
2018-11-27 16:13:09 +01:00
2019-08-04 09:30:55 +02:00
2019-05-31 06:46:14 -07:00