]> www.infradead.org Git - nvme.git/commit
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)
commit5390f315fc8c9b9f48105a0d88b56bc59fa2b3e0
tree324cbb6757e625a5079894ce62f9c0e4bc0f4eb9
parentb408473ea01b2e499d23503e2bf898416da9d7ac
parent743070894724bf5ee0b2c77a28f838f6244d19bd
Merge branch 'bpf-fix-incorrect-name-check-pass-logic-in-btf_name_valid_section'

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>