[PATCH bpf,v2,0/2] bpf: fix incorrect name check pass logic in btf_name_valid_section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Jeongjun Park (2):
  bpf: add check for invalid name in btf_name_valid_section()
  selftest/bpf : Add a selftest test case to check for incorrect names

  kernel/bpf/btf.c                             |  4 ++-
  tools/testing/selftests/bpf/prog_tests/btf.c | 34 ++++++++++++++++++++
  2 files changed, 37 insertions(+), 1 deletion(-)




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux