summaryrefslogtreecommitdiff
path: root/include/linux/net.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2020-10-07 01:42:46 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-14 10:33:00 +0200
commit1317469fa05bc01da2da7fb78da51a51ed7a8a86 (patch)
tree363e276fccaae3217de7158dd7a1f684d967703e /include/linux/net.h
parent20f96fee81c632a8c5e9a0f055b0d5f26b62efef (diff)
macsec: avoid use-after-free in macsec_handle_frame()
commit c7cc9200e9b4a2ac172e990ef1975cd42975dad6 upstream. De-referencing skb after call to gro_cells_receive() is not allowed. We need to fetch skb->len earlier. Fixes: 5491e7c6b1a9 ("macsec: enable GRO and RPS on macsec devices") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Paolo Abeni <pabeni@redhat.com> Acked-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/net.h')
0 files changed, 0 insertions, 0 deletions