bpf: fix warning in ftrace_verify_code()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/22 patches 0 repliesNew
- v2 posting 1/22 patches 0 repliesSuperseded
- v11 patch 1 replySuperseded
Changes in v2 from the cover letter
Added an additional patch that fixes a build error by the clang compiler.
Patches in v2 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: Convert BPF_DISPATCHER to use static_call() (not ftrace)include/ kernel/ | +46 | 0 replies | |
| 2/2 | bpf: Add explicit cast to 'void *' for __BPF_DISPATCHER_UPDATE()kernel/ | +1 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Björn Töpel | Jiri Olsa | Yonghong Song |
|---|---|---|---|
| 1/2 | T-b A-b | T-b A-b | |
| 2/2 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 5.10.y 0/2] bpf: fix warning in ftrace_verify_code()
This bug was found by syzkaller.
The reproducer and the detailed warning log can be viewed here [1]
[1] https://lore.kernel.org/bpf/[email protected]/#t
Capability cap_sys_admin is required for reproduce and on kernels with panic_on_warn enabled it will cause the system to crash.
v2:
Added an additional patch that fixes a build error by the clang compiler.
To solve the problem, it is proposed to backport the following commits:
[PATCH v2 5.10.y 1/2] bpf: Convert BPF_DISPATCHER to use static_call() (not [PATCH v2 5.10.y 2/2] bpf: Add explicit cast to 'void *' for