]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Merge branch 'bpf-fix-incorrect-name-check-pass-logic-in-btf_name_valid_section'
authorAlexei Starovoitov <ast@kernel.org>
Wed, 4 Sep 2024 18:56:34 +0000 (11:56 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 4 Sep 2024 19:35:04 +0000 (12:35 -0700)
Jeongjun Park says:

====================
bpf: fix incorrect name check pass logic in btf_name_valid_section

This patch was written to fix an issue where btf_name_valid_section() would
not properly check names with certain conditions and would throw an OOB vuln.
And selftest was added to verify this patch.
====================

Link: https://lore.kernel.org/r/20240831054525.364353-1-aha310510@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

Trivial merge