diff options
author | YueHaibing <[email protected]> | 2022-12-03 17:29:41 +0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2022-12-06 12:37:25 +0100 |
commit | 5a5a3e564de6a8db987410c5c2f4748d50ea82b8 (patch) | |
tree | c88407590067e0177c2d62aa225eaf1460b6af0e /lib/mpi/mpi-mod.c | |
parent | 7b8232bdb1789a257de3129a9bb08c69b93a17db (diff) |
ravb: Fix potential use-after-free in ravb_rx_gbeth()
The skb is delivered to napi_gro_receive() which may free it, after calling this,
dereferencing skb may trigger use-after-free.
Fixes: 1c59eb678cbd ("ravb: Fillup ravb_rx_gbeth() stub")
Signed-off-by: YueHaibing <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions