lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 28 Apr 2017 12:47:08 +0100
From:   Mark Rutland <mark.rutland@....com>
To:     linux-kernel@...r.kernel.org
Cc:     acme@...nel.org, alexander.shishkin@...ux.intel.com,
        ganapatrao.kulkarni@...ium.com, mark.rutland@....com
Subject: [PATCH 0/2] perf stat: fix segfault when closing events

Hi,

These patches fix a segfault seen in some cases when perf stat is exiting.

We don't balance opening/closing of events in all cases, and go out-of-bounds
when we close events. Full details in the patch 2 commit message.

Thanks,
Mark.

Mark Rutland (2):
  perf evsel: add per{cpu,thread} close helpers
  perf stat: balance opening/closing of events

 tools/perf/builtin-stat.c | 24 +++++++++++++++++++++++-
 tools/perf/util/evsel.c   | 26 ++++++++++++++++++++------
 tools/perf/util/evsel.h   |  4 ++++
 3 files changed, 47 insertions(+), 7 deletions(-)

-- 
1.9.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ