Files
twx-linux/net/ipv4
Gilad Ben-Yossef ffa6332b8d IPsec: do not ignore crypto err in ah4 input
[ Upstream commit ebd89a2d06 ]

ah4 input processing uses the asynchronous hash crypto API which
supplies an error code as part of the operation completion but
the error code was being ignored.

Treat a crypto API error indication as a verification failure.

While a crypto API reported error would almost certainly result
in a memcpy of the digest failing anyway and thus the security
risk seems minor, performing a memory compare on what might be
uninitialized memory is wrong.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-15 17:13:10 +01:00
..
2017-06-14 13:16:19 +02:00
2017-06-17 06:39:35 +02:00
2016-11-15 07:46:38 +01:00
2016-11-15 07:46:38 +01:00
2017-07-05 14:37:14 +02:00
2017-02-26 11:07:50 +01:00
…
…
2015-10-21 07:00:48 -07:00
2017-04-30 05:49:29 +02:00
…
2017-08-30 10:19:19 +02:00
…
…
2017-03-22 12:04:17 +01:00
2017-05-14 13:32:58 +02:00
2015-10-21 07:00:53 -07:00
…
…