diff options
| author | YueHaibing <[email protected]> | 2022-11-25 15:57:24 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-11-28 18:09:00 -0800 |
| commit | 7e177d32442b7ed08a9fa61b61724abc548cb248 (patch) | |
| tree | 66c082d234a0016ae7e5713ed713d62b22e49d21 /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
| parent | 3067bc61fcfe3081bf4807ce65560f499e895e77 (diff) | |
net: hsr: Fix potential use-after-free
The skb is delivered to netif_rx() which may free it, after calling this,
dereferencing skb may trigger use-after-free.
Fixes: f421436a591d ("net/hsr: Add support for the High-availability Seamless Redundancy protocol (HSRv0)")
Signed-off-by: YueHaibing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions