Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1564039 > unrolled thread
| Started by | Krister Johansen <kjlx@templeofstupid.com> |
|---|---|
| First post | 2017-01-21 02:50 +0100 |
| Last post | 2017-01-21 02:50 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v3 perf/core] perf script: fix a use after free crash. Krister Johansen <kjlx@templeofstupid.com> - 2017-01-21 02:50 +0100
| From | Krister Johansen <kjlx@templeofstupid.com> |
|---|---|
| Date | 2017-01-21 02:50 +0100 |
| Subject | Re: [PATCH v3 perf/core] perf script: fix a use after free crash. |
| Message-ID | <t1SYx-6ok-1@gated-at.bofh.it> |
Hey Arnaldo, On Thu, Jan 05, 2017 at 10:23:31PM -0800, Krister Johansen wrote: > If dso__load_kcore frees all of the existing maps, but one has already > been attached to a callchain cursor node, then we can get a SIGSEGV in > any function that happens to try to use this invalid cursor. Use the > existing map refcount mechanism to forestall cleanup of a map until the > cursor iterates past the node. It's been a couple of weeks since I sent you the v3 of this patch. Last time I fiddled with it, I was able to reproduce your 'perf top' core, and was able to verify that the latest patch I sent out could survive running 'perf top' through the course of a full kernel build. Is there anything else I can do to help with this one? Thanks, -K
Back to top | Article view | linux.kernel
csiph-web