Skip to content

Fix stable-4.19 use-after-free bug

George Guo stable 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tracing: Remove unnecessary hist_data destroy in destroy_synth_var_refs()kernel/trace/trace_events_hist.c+2 -211 reply
2/2tracing: Remove unnecessary var destroy in onmax_destroy()kernel/trace/trace_events_hist.c+0 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH 4.19.y v3 0/2] Fix stable-4.19 use-after-free bug

1. About v3-0001-tracing-Remove-unnecessary-hist_data-destroy-in-d.patch:

The reason I write the changelog by myself is that no one found the bug at that time, then later the code was removed on upstream, but 4.19-stable has the bug.

2. About v3-0002-tracing-Remove-unnecessary-var-destroy-in-onmax_d.patch

I also write the changelog by myself is that the upstream api is changed. refs commits:
466f4528fbc6 ("tracing: Generalize hist trigger onmax and save action") ff9d31d0d466 ("tracing: Remove unnecessary var_ref destroy in track_data_destroy()")

George Guo (2):
tracing: Remove unnecessary hist_data destroy in
destroy_synth_var_refs()
tracing: Remove unnecessary var destroy in onmax_destroy()

 kernel/trace/trace_events_hist.c | 27 ++-------------------------
 1 file changed, 2 insertions(+), 25 deletions(-)
Signature · 1 line
2.34.1