summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorEduard Zingerman <eddyz87@gmail.com>2025-07-18 15:20:59 -0700
committerAndrii Nakryiko <andrii@kernel.org>2025-07-18 17:12:50 -0700
commit42be23e8f2dcb100cb9944b2b54b6bf41aff943d (patch)
tree7c53180214088b4c4f362b3fbff8ce7117fc0d8b /scripts/lib/kdoc/kdoc_re.py
parentbeb1097ec8bdf15e2fed3301920a719e0dd2250a (diff)
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 <eddyz87@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20250718222059.281526-1-eddyz87@gmail.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions