[lvc-project] [PATCH net] ipv6: Fix out-of-bounds access in ipv6_find_tlv()

Jiri Pirko jiri at resnulli.us
Tue May 23 16:26:30 MSK 2023


Tue, May 23, 2023 at 10:29:44AM CEST, Ilia.Gavrilov at infotecs.ru wrote:
>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: 3c73a0368e99 ("ipv6: Update ipv6 static library with newly needed functions")
>Signed-off-by: Gavrilov Ilia <Ilia.Gavrilov at infotecs.ru>

Reviewed-by: Jiri Pirko <jiri at nvidia.com>



More information about the lvc-project mailing list