Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933842AbcKOSSJ convert rfc822-to-8bit (ORCPT ); Tue, 15 Nov 2016 13:18:09 -0500 Received: from mga02.intel.com ([134.134.136.20]:47502 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932110AbcKOSSH (ORCPT ); Tue, 15 Nov 2016 13:18:07 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,495,1473145200"; d="scan'208";a="31648154" From: "Liang, Kan" To: Vince Weaver CC: Peter Zijlstra , "linux-kernel@vger.kernel.org" , Ingo Molnar , "Arnaldo Carvalho de Melo" , "davej@codemonkey.org.uk" , "dvyukov@google.com" , Stephane Eranian Subject: RE: perf: fuzzer KASAN slab-out-of-bounds in snb_uncore_imc_event_del Thread-Topic: perf: fuzzer KASAN slab-out-of-bounds in snb_uncore_imc_event_del Thread-Index: AQHSPxWB0DPNSwBXtUqA0AWmqeHb66DZBgaAgACH/ICAALYycP//hcqAgACQokA= Date: Tue, 15 Nov 2016 18:18:02 +0000 Message-ID: <37D7C6CF3E00A74B8858931C1DB2F07750CA0000@SHSMSX103.ccr.corp.intel.com> References: <20161115140413.GK3142@twins.programming.kicks-ass.net> <37D7C6CF3E00A74B8858931C1DB2F07750C9FF81@SHSMSX103.ccr.corp.intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWJkMzgxYTYtMTE0OC00M2E1LWFhNmYtNTFhYjFiZTRkNmVkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Ilk1NXhVMGJGVnQ2MGJ4XC9xT2hNXC9GeWhoNDVJS0d1MFYwbGh6VUtXSHUzTT0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1131 Lines: 38 > -----Original Message----- > From: Vince Weaver [mailto:vincent.weaver@maine.edu] > Sent: Tuesday, November 15, 2016 12:39 PM > To: Liang, Kan > Cc: Peter Zijlstra ; Vince Weaver > ; linux-kernel@vger.kernel.org; Ingo Molnar > ; Arnaldo Carvalho de Melo ; > davej@codemonkey.org.uk; dvyukov@google.com; Stephane Eranian > > Subject: RE: perf: fuzzer KASAN slab-out-of-bounds in > snb_uncore_imc_event_del > > On Tue, 15 Nov 2016, Liang, Kan wrote: > > > For client IMC, there is no generic counters. > > Current implementation defines its own fixed free running counters. > > event_list and n_events are unused. > > I think we can just remove them. > > > > Vince, could you please try the patch as below? > > > > With this patch I have not been able to trigger the imc/uncore issue. > > Or at least I used to be able to trigger it within 5 minutes, now I go longer > (maybe 10 minutes) before hitting an unrelated issue. > Thanks a lot for the test. I will submit the patch then. Thanks, Kan