diff options
author | 2022-11-25 15:57:24 +0800 | |
---|---|---|
committer | 2022-11-28 18:09:00 -0800 | |
commit | 7e177d32442b7ed08a9fa61b61724abc548cb248 (patch) | |
tree | 66c082d234a0016ae7e5713ed713d62b22e49d21 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tipc: re-fetch skb cb after tipc_msg_validate (diff) | |
download | linux-rng-7e177d32442b7ed08a9fa61b61724abc548cb248.tar.xz linux-rng-7e177d32442b7ed08a9fa61b61724abc548cb248.zip |
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 <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20221125075724.27912-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions