diff options
| author | Eric Dumazet <[email protected]> | 2020-10-07 08:42:46 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-10-08 19:21:08 +0000 |
| commit | c7cc9200e9b4a2ac172e990ef1975cd42975dad6 (patch) | |
| tree | d086a5359881325cddb35adc80a654e90afa8618 /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | r8169: consider that PHY reset may still be in progress after applying firmware (diff) | |
| download | kernel-c7cc9200e9b4a2ac172e990ef1975cd42975dad6.tar.gz kernel-c7cc9200e9b4a2ac172e990ef1975cd42975dad6.zip | |
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 <[email protected]>
Cc: Paolo Abeni <[email protected]>
Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions
