Files
linux/net
Gavrilov Ilia 04bf69e3de ipv6: Fix out-of-bounds access in ipv6_find_tlv()
commit 878ecb0897 upstream.

optlen is fetched without checking whether there is more than one byte to parse.
It can lead to out-of-bounds access.

Found by InfoTeCS on behalf of Linux Verification Center
(linuxtesting.org) with SVACE.

Fixes: c61a404325 ("[IPV6]: Find option offset by type.")
Signed-off-by: Gavrilov Ilia <Ilia.Gavrilov@infotecs.ru>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-30 12:42:14 +01:00
..
2022-04-27 13:39:46 +02:00
2023-03-22 13:27:10 +01:00
2019-12-05 09:21:30 +01:00
2023-05-17 11:13:24 +02:00
2021-06-30 08:48:13 -04:00