diff options
| author | Jian Shen <shenjian15@huawei.com> | 2021-03-29 06:57:46 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-29 23:21:00 +0300 |
| commit | 64ff58fa3bfcf26bc893ea425a0553b561ca5298 (patch) | |
| tree | d5fdab67efce2d1e2d8b5ea5431935c34b3b1598 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 989f7178b06666ec23ada614b2047c21d85b2a0a (diff) | |
| download | linux-64ff58fa3bfcf26bc893ea425a0553b561ca5298.tar.xz | |
net: hns3: fix use-after-free issue for hclge_add_fd_entry_common()
When new rule state is TO_ADD or ACTIVE, and there is already a
rule with same location in the fd_rule_list, the new rule will
be freed after modifying the old rule. It may cause user-after-free
issue when access rule again in hclge_add_fd_entry_common().
Fixes: fc4243b8de8b ("net: hns3: refactor flow director configuration")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
