bpf: Fix an issue in bpf_iter_task
Status from this message: This series was applied to bpf/bpf.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesApplied 2/2
- v13 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- Correct the fixes tag (Chuyi)
Patches in v2 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: Fix an issue due to uninitialized bpf_iter_taskkernel/ | +2 | 3 replies | Applied |
| 2/2 | selftests/bpf: Add negtive test cases for task itertools/ tools/ | +12 | 0 replies | Applied |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Yonghong Song | Oleg Nesterov |
|---|---|---|
| 1/2 | A-b | A-b |
| 2/2 |
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/2] bpf: Fix an issue in bpf_iter_task
The uninitialized bpf_iter_task variable poses a risk of triggering a kernel panic. To fix this potential issue, it's imperative to ensure proper initialization of the variable. This problem surfaced during the implementation phase of the bits iterator [0].
[0]. https://lwn.net/ml/bpf/CALOAHbDJWHOB+viBz6SUqdeF+Nkxmh4gLZo5Ad_keQXjBWHAsQ@mail.gmail.com
v1->v2:
- Correct the fixes tag (Chuyi)
Yafang Shao (2):
bpf: Fix an issue due to uninitialized bpf_iter_task selftests/bpf: Add negtive test cases for task iter
kernel/bpf/task_iter.c | 2 ++ tools/testing/selftests/bpf/prog_tests/iters.c | 1 + tools/testing/selftests/bpf/progs/iters_task.c | 12 +++++++++++- 3 files changed, 14 insertions(+), 1 deletion(-)
Signature · 1 line
2.39.1