[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 Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux