uprobes: fix fork() with the pending ret-probe(s)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 0 repliesNew
- v15 patches 16 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | uprobes: Change the callsite of uprobe_copy_process()kernel/ kernel/ | +9 | 0 replies | |
| 2/6 | uprobes: Introduce __create_xol_area()kernel/ | +25 | 0 replies | |
| 3/6 | uprobes: Teach __create_xol_area() to accept the predefined vaddrkernel/ | +12 | 0 replies | |
| 4/6 | uprobes: Change uprobe_copy_process() to dup return_instanceskernel/ | +43 | 0 replies | |
| 5/6 | uprobes: Change uprobe_copy_process() to dup xol_areakernel/ | +28 | 0 replies | |
| 6/6 | uprobes: Teach uprobe_copy_process() to handle CLONE_VFORKinclude/ kernel/ kernel/ | +11 | 0 replies |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Srikar Dronamraju |
|---|---|
| 1/6 | A-b |
| 2/6 | A-b |
| 3/6 | A-b |
| 4/6 | A-b |
| 5/6 | A-b |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/6] uprobes: fix fork() with the pending ret-probe(s)
Hello.
This series fixes the serious bug reported by Martin and David and cc's stable. See the changelog in 5/6.
The changes are minimal, I am sending v2 just in case before I ask to pull.
v2:
2/6: whitespace fix
4/6: update the changelog to explain why we do not cleanup
the child's stack instead
5/6: check area != NULL before dup xol_area
1-5: add the acks from Srikar. I assume he agrees with 6/6
as well.
Oleg.
include/linux/uprobes.h | 4 +- kernel/events/uprobes.c | 156 ++++++++++++++++++++++++++++++++++++----------- kernel/fork.c | 2 +- 3 files changed, 123 insertions(+), 39 deletions(-)