From: Pu Lehui <pulehui@huawei.com>
Fixes for bpf_jit_free identified by Sashiko, as previously noted in [0].
Link: https://lore.kernel.org/bpf/28ba19a4-b487-49fd-bbba-04410acdb113@iogearbox.net/ [0]
Pu Lehui (4):
bpf, arm64: Fix memory leak in bpf_jit_free
LoongArch: BPF: Fix memory leak in bpf_jit_free
riscv, bpf: Adjust bpf_func to account for CFI offset in bpf_jit_free
bpf: Fix double-free RO header in bpf_jit_free
arch/arm64/net/bpf_jit_comp.c | 3 ++-
arch/loongarch/net/bpf_jit.c | 3 ++-
arch/powerpc/net/bpf_jit_comp.c | 4 +++-
arch/riscv/net/bpf_jit_core.c | 3 ++-
arch/x86/net/bpf_jit_comp.c | 2 +-
kernel/bpf/core.c | 5 ++---
6 files changed, 12 insertions(+), 8 deletions(-)
--
2.34.1