diff options
author | Eric Dumazet <edumazet@google.com> | 2020-10-07 11:42:46 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-08 22:21:08 +0300 |
commit | c7cc9200e9b4a2ac172e990ef1975cd42975dad6 (patch) | |
tree | d086a5359881325cddb35adc80a654e90afa8618 /lib/debugobjects.c | |
parent | 47dda78671a3d5cee3fb2229e37997d2ac8a3b54 (diff) | |
download | linux-c7cc9200e9b4a2ac172e990ef1975cd42975dad6.tar.xz |
macsec: avoid use-after-free in macsec_handle_frame()
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>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions