libbpf ELF sanity checking improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 0 repliesNew
- v15 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- address Yonghong's feedback.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | libbpf: detect corrupted ELF symbols sectiontools/ | +1 | 0 replies | |
| 2/5 | libbpf: improve sanity checking during BTF fix uptools/ | +2 | 0 replies | |
| 3/5 | libbpf: validate that .BTF and .BTF.ext sections contain datatools/ | +4 | 0 replies | |
| 4/5 | libbpf: fix section counting logictools/ | +4 | 0 replies | |
| 5/5 | libbpf: improve ELF relo sanitizationtools/ | +19 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Yonghong Song |
|---|---|
| 1/5 | A-b |
| 2/5 | A-b |
| 3/5 | A-b |
| 4/5 | A-b |
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 bpf-next 0/5] libbpf ELF sanity checking improvements
Few patches fixing various issues discovered by oss-fuzz project fuzzing bpf_object__open() call. Fixes are mostly focused around additional simple sanity checks of ELF format: symbols, relos, etc.
v1->v2:
- address Yonghong's feedback.
Andrii Nakryiko (5):
libbpf: detect corrupted ELF symbols section
libbpf: improve sanity checking during BTF fix up
libbpf: validate that .BTF and .BTF.ext sections contain data
libbpf: fix section counting logic
libbpf: improve ELF relo sanitization
tools/lib/bpf/libbpf.c | 43 +++++++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 13 deletions(-)
Signature · 1 line
2.30.2