aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorEduard Zingerman <[email protected]>2025-07-18 22:20:59 +0000
committerAndrii Nakryiko <[email protected]>2025-07-19 00:12:50 +0000
commit42be23e8f2dcb100cb9944b2b54b6bf41aff943d (patch)
tree7c53180214088b4c4f362b3fbff8ce7117fc0d8b /lib/crypto/mpi/mpi-sub-ui.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf after rc6 (diff)
downloadkernel-42be23e8f2dcb100cb9944b2b54b6bf41aff943d.tar.gz
kernel-42be23e8f2dcb100cb9944b2b54b6bf41aff943d.zip
libbpf: Verify that arena map exists when adding arena relocations
Fuzzer reported a memory access error in bpf_program__record_reloc() that happens when: - ".addr_space.1" section exists - there is a relocation referencing this section - there are no arena maps defined in BTF. Sanity checks for maps existence are already present in bpf_program__record_reloc(), hence this commit adds another one. [1] https://github.com/libbpf/libbpf/actions/runs/16375110681/job/46272998064 Signed-off-by: Eduard Zingerman <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions