diff options
author | Anton Protopopov <[email protected]> | 2024-03-29 07:11:06 +0000 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-03-29 09:19:55 -0700 |
commit | 6dae957c8eef6eae5b386462767de97303235d5c (patch) | |
tree | 8f4fc7437c90ad0f729dee0bbeb214ccea6d794e /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 62248b22d01e96a4d669cde0d7005bd51ebf9e76 (diff) |
bpf: fix possible file descriptor leaks in verifier
The resolve_pseudo_ldimm64() function might have leaked file
descriptors when BPF_MAP_TYPE_ARENA was used in a program (some
error paths missed a corresponding fdput). Add missing fdputs.
v2:
remove unrelated changes from the fix
Fixes: 6082b6c328b5 ("bpf: Recognize addr_space_cast instruction in the verifier.")
Signed-off-by: Anton Protopopov <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Acked-by: Shung-Hsi Yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions