Files
linux/net
Muhammad Usama Anjum 928e812bf9 net: ipv6: check for validity before dereferencing cfg->fc_nlinfo.nlh
commit 864db232dc upstream.

nlh is being checked for validtity two times when it is dereferenced in
this function. Check for validity again when updating the flags through
nlh pointer to make the dereferencing safe.

CC: <stable@vger.kernel.org>
Addresses-Coverity: ("NULL pointer dereference")
Signed-off-by: Muhammad Usama Anjum <musamaanjum@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-16 10:51:30 +09:00
..
2015-03-02 16:43:41 -05:00
2023-05-15 12:38:05 +09:00
2023-05-15 16:07:59 +09:00
2023-05-16 08:30:10 +09:00
2023-05-15 12:05:35 +09:00
2023-05-16 10:49:32 +09:00
2023-05-16 10:35:24 +09:00