Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1611108pxb; Mon, 11 Oct 2021 09:27:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlgJ3w6FU08CNU6pX8S8o1NnFIkWvF5R7ZQutOwqONeUqcMoZgd9QNiRFUyHKlk9ggcsCE X-Received: by 2002:a17:90a:5d8c:: with SMTP id t12mr29077668pji.98.1633969622894; Mon, 11 Oct 2021 09:27:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633969622; cv=none; d=google.com; s=arc-20160816; b=wXV07+13ksPeUpD0jARoSMnTLa1lXdXgYzdTUQ8vqPeClebIWIFfqAN655fM1wqGTD VettlJBAJFDel7Jd4ZDmbmeI+FkAZPIKk9YZ9crCQ2Ot11SS1WnMcjM7W97p/axOgj+P fsE8ysGCTWMpncBKT051SAx2920vNzt0upOkYYFBlHduJCVC4dqjS0gOBBEsqLb7jbYc ATGR/SQ54v+rniLrz2Bs8xqtGlzdlINmPD4uplBXfju5oP/BfBT78jKnnO6cqZLGdKAw SbNO1tps0t/bwEEMX5HO0CLQkKZo7Et9sg60dijIgynfWWt8UJ3fR15y8TaDovkuho0F /7IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DTDmXntOGSA3Xd4P+y4+zBs6FGtMnqAxNvN3gSTquro=; b=g03DK4pyHv/ND6IcIYYqhc6Xuby1aqDo3obvMo90jd1jE63lS3pcNPjSwlOPVCtfrH Xz4Bx1mvL7Ei9crdyNJeiCblR8H7it3CoZqD+FLnqUfHoRf/hNrDndsfgv7QdEfVyo7Y OETtxatTXwFMINTIzlDU9yq7jMRKYsPUSYhOoP7J8IY1e7vy5z4qFbRs/mRkHnsuO9Ja U8gUOTugC1B/3Uwee34OsPDtu7YrWYrvoLsWpzaDMvFsUcnMW6X8dEIPRQZIHhbhtgzC A0Owo2jaAS9n20/gCSLkaMqweMn9cRFjdw/24YtFXSt6qXgH3qm44qA86mM6y5mUTbY7 pROA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qRVoTKYk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q15si12846952plx.191.2021.10.11.09.26.49; Mon, 11 Oct 2021 09:27:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qRVoTKYk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236772AbhJKNJU (ORCPT + 99 others); Mon, 11 Oct 2021 09:09:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235410AbhJKNJT (ORCPT ); Mon, 11 Oct 2021 09:09:19 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5973CC061570 for ; Mon, 11 Oct 2021 06:07:19 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id v17so55981973wrv.9 for ; Mon, 11 Oct 2021 06:07:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=DTDmXntOGSA3Xd4P+y4+zBs6FGtMnqAxNvN3gSTquro=; b=qRVoTKYkKnql0wxTeybXAvUaagl9ZnkCJxXwOQacOJjXWqCh3jCC6DYWUKOtXsHVeW onObDNZ1r62xm7Xvvp5UJGapqN4RejjVbAIlSdWV1/JfyoK/UE71JxyjkJCbFtbLt4fU SDPbWhaLNML8641Az4DsgUUTV4/kj3DvPSt/YBuKcDpAemGIoe6Y3F3bHQl2HtMnOlMq g+io2Ij6ocFztU2UxCq8+8GWJZr54GEhcl1orbS23XBrLQZ2Be1IQehNE/kLPYPA8BLX PJfICI9ll8HLygYsuhH/6doVt1Wc4oZa5q5VAoGIg1FeF9Gyl58xwg7h8WCqoiLMm4n3 HjEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=DTDmXntOGSA3Xd4P+y4+zBs6FGtMnqAxNvN3gSTquro=; b=x/k62aBoryeZVJyYJxstJXYzwxxeVYBqGdzzMMHoh4UEWGKqNxINRTx7WsT8h9PjvK g/FutLDqAGHByM+USH4fVZhdlw9MpjT9XTbbAL4Zv8vA5icpTS97yG4lzmeRDfXn9v6a NZmpchRdE06ROGs1msHVPs6MAWTFc2FEJigzjkHoB3peh1HG5/3RU05qSREjyudgDQ8x oL7qSqDSfnRRF2PmmTznbmlgYqimtxjSYzwRkcq9AlYjtIhQAN4xi3I4oxpy5LtbnX9F 5AgY881LpjUP4K2Vlq8XbNQ+z3zDnA3iBA/+IlZcPIhWmB31AuArTMz3f8ZBwRK15dNF sz7Q== X-Gm-Message-State: AOAM5312A5rRKMKakgBvvvTehx0FZJUKEBtN4HSiJVqtJdJ0TFUAL//L 1/kixGzJlXl+rYSWzu8hovyevQ== X-Received: by 2002:adf:bd8a:: with SMTP id l10mr24179774wrh.159.1633957637860; Mon, 11 Oct 2021 06:07:17 -0700 (PDT) Received: from google.com ([95.148.6.175]) by smtp.gmail.com with ESMTPSA id d24sm7514801wmb.35.2021.10.11.06.07.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Oct 2021 06:07:17 -0700 (PDT) Date: Mon, 11 Oct 2021 14:07:15 +0100 From: Lee Jones To: Andi Kleen Cc: Josh Poimboeuf , Peter Zijlstra , syzbot , bp@alien8.de, hpa@zytor.com, inglorion@google.com, linux-kernel@vger.kernel.org, mingo@redhat.com, syzkaller-bugs@googlegroups.com, tglx@linutronix.de, x86@kernel.org, Andy Lutomirski , Steven Rostedt , tkjos@google.com Subject: Re: [syzbot] KASAN: stack-out-of-bounds Read in profile_pc Message-ID: References: <00000000000030293b05c39afd6f@google.com> <20210602230054.vyqama2q3koc4bpo@treble> <527ad07e-eec2-a211-03e7-afafe5196100@linux.intel.com> <20210603133914.j2aeadmvhncnlk5q@treble> <0b71d4f9-f707-3d39-c358-7c06c5689a9d@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0b71d4f9-f707-3d39-c358-7c06c5689a9d@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 03 Jun 2021, Andi Kleen wrote: > > > True, ftrace does have function profiling (function_profile_enabled). > > > > Steve, is there a way to enable that on the kernel cmdline? > > That's not really comparable. function profiling has a lot more overhead. > Also there is various code which has ftrace instrumentation disabled. > > I don't think why you want to kill the old profiler. It's rarely used, but > when you need it usually works. It's always good to have simple fall backs. > And it's not that it's a lot of difficult code. sysbot is still sending out reports on this: https://syzkaller.appspot.com/bug?id=00c965d957410afc0d40cac5343064e0a98b9ecd Are you guys still planning on sending out a fix? Is there anything I can do to help? -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog