Files
linux/drivers/ata
Jens Axboe 2464dd7d29 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>
2023-05-15 14:20:52 +09:00
..
2016-09-06 12:38:17 -04:00
2017-11-21 09:23:22 +01:00
2014-03-11 08:30:53 -04:00
2015-09-10 17:02:04 -04:00
2008-01-23 05:24:15 -05:00
2023-05-15 11:22:47 +09:00
2015-11-30 10:02:49 -05:00
2007-07-02 10:17:42 -04:00