Skip to content

perf: event->cpu checking fixes

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf: find_get_context: fix the per-cpu-counter checkkernel/perf_event.c+1 -11 reply
2/2perf: validate cpu early in perf_event_alloc()kernel/perf_event.c+6 -41 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPeter Zijlstra
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] perf: event->cpu checking fixes
Quoted 2 lines · Peter Zijlstra

Wasn't this sorted by: 8882135bcd332f294df5455747ea43ba9e6f77ad?

No. This commit only answers my 3rd question, 1-2 are still waiting ;)

Quoted 5 lines
Quoted 3 lines

I am reading perf_event.c, but all I found so far is a couple of trivial methods to crash the kernel via sys_perf_event_open(), will report tomorrow...

Ow, that's not too pretty..

Fortunately, this is trivial. Probably 2.6.37 needs these fixes too.

Oleg.