linux/net/netfilter
Pablo Neira Ayuso f5623bd84f netfilter: nft_exthdr: check for IPv6 packet before further processing
[ Upstream commit cdd73cc545c0fb9b1a1f7b209f4f536e7990cff4 ]

ipv6_find_hdr() does not validate that this is an IPv6 packet. Add a
sanity check for calling ipv6_find_hdr() to make sure an IPv6 packet
is passed for parsing.

Fixes: 96518518cc41 ("netfilter: add nftables")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:21:02 +02:00
..
2017-12-16 16:25:46 +01:00
2016-10-20 19:59:59 +02:00
2015-09-24 09:34:41 +09:00
2015-05-14 13:00:27 +02:00
2016-09-22 03:13:26 -04:00