summaryrefslogtreecommitdiff
path: root/mm
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 09:48:15 +0200
commit925d7af7a7cedf453bef429df4ac3737d1604f24 (patch)
treeff3f89cf8fc883548b7b2d40aafdffb63235a137 /mm
parent03170ea7eb98ac6cc334f7225e8f30e5cc7ddf18 (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 'mm')
0 files changed, 0 insertions, 0 deletions