bpf: verifier: Use copy_array for jmp_history
mainline inclusion from mainline-v5.14-rc1 commit 06ab6a50 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I932VT CVE: CVE-2023-52452 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=06ab6a505583 -------------------------------- Eliminate a couple needless kfree / kmalloc cycles by using copy_array for jmp_history. Signed-off-by:Lorenz Bauer <lmb@cloudflare.com> Signed-off-by:
Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210429134656.122225-3-lmb@cloudflare.com Signed-off-by:
Pu Lehui <pulehui@huawei.com>
Loading
Please sign in to comment