Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp658276rwj; Thu, 22 Dec 2022 12:49:48 -0800 (PST) X-Google-Smtp-Source: AMrXdXuDusurdDlu9gnKTLg7kwLbOnA/B0yRj1YLuJduZmT0nMpRsOp8Sw67oRU73xSKGg6D0MrD X-Received: by 2002:a17:906:1d4a:b0:81a:c653:4a06 with SMTP id o10-20020a1709061d4a00b0081ac6534a06mr9345685ejh.66.1671742188176; Thu, 22 Dec 2022 12:49:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671742188; cv=none; d=google.com; s=arc-20160816; b=zNgh1s56ow1x77hnjQAP45XpyIay4ZIqGA1hVCxkSyutpjZ7D8GDZilDwrlp9MHid8 LD9FJZa1wWaqSRbtFPTardl8aWEL5f/TnrMUJgH6HDJPR4KnC6PCeQP1LQKqwDjLXEro wHPUSw9WdCEd6wB9QJrI890UyERN80X8ka0CLtOvjGMf3wzkFQ9+fdgExVKlJ8Naou9o EInWJ1hyW8QFi7q3HrG8WDD48Of0JBurM90Cj29B9Y+6k8rbDViG0g9rmcwPY6knCCvk CKEn5Z2kZ0ylbwYxxzR9qo/grGBqVSMWw9MP+3lPj3C0E2H+u0uSvmnfOteMyc9Vq8zD nAJg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0BYO2kAW7k52H9OS5slY/sSBgV7L3Xl29geQCdlNEks=; b=EeRYkfWdWxjli6ySdmtQJqz5OD5dnVkuhK6AsSGDSY/lsJhWxPFIgKaeXYJgaqYWQd OY5VpA14TtwUn4I8nHodyjSXZpUZJwNZgFU8giq7zHEnqTEarMyU7Ob5OfcXP3L1oNyj L37/ipDhOTglgzvLQSda4pgfdDYeb6ReXOhhmqeBHdJ/oGQJG+DKGSefrA1agKqYZfxv 65d2G/JLoQlD8r5wXAk+2i9Vx73Te2hGmvTLoRtuVcWhMCmFL29MJqojIh9qFM1ZaLnG LXiA8slU/CumECAuuXdUOGEUc/LNx57nPLhRH/zCyLnwn/alp7aneQ0glqDTsbRthDPg MJFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=M2P8NEN0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be4-20020a1709070a4400b007c189b2939fsi1204844ejc.482.2022.12.22.12.49.31; Thu, 22 Dec 2022 12:49:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=M2P8NEN0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230127AbiLVUUT (ORCPT + 69 others); Thu, 22 Dec 2022 15:20:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229504AbiLVUUR (ORCPT ); Thu, 22 Dec 2022 15:20:17 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5966120B7 for ; Thu, 22 Dec 2022 12:20:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=0BYO2kAW7k52H9OS5slY/sSBgV7L3Xl29geQCdlNEks=; b=M2P8NEN072hQHBBVUn3H4XCKIO DkIrfyJPf5IeKHaWKBgq+M8hWRm+zVKuJ9ioRzGW2gZOel6C31y07fAYnB3lI7UOHhLQHHJHBC2Ly 3XF9WaYQT1Q7S1RpneCCImI/NkSmNm88b4CFW3yr6OKnWwGinxIltowgnabDSEcKa35lFtGCadAT6 mSa3xG8OYNV+piQcR6ToRiDrEtqVs8dVfJHcH5XKaE2xl1YbAi9Mfw7Xg2xvhlTVWUyho7bWvWfCa a5n4K9U0VJsA+eX3XzUUPi1xgSXbGQr+ISgJ7dyMj2w7UrftCv76HNhZ9P1eZK1WN5EizM3WfGtUc hnuN0V5g==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1p8S2w-003vJh-KK; Thu, 22 Dec 2022 20:20:06 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 107273003D2; Thu, 22 Dec 2022 21:19:54 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id EC9272098A270; Thu, 22 Dec 2022 21:19:53 +0100 (CET) Date: Thu, 22 Dec 2022 21:19:53 +0100 From: Peter Zijlstra To: Alexander Potapenko Cc: Sanan Hasanov , "mingo@redhat.com" , "will@kernel.org" , "longman@redhat.com" , "boqun.feng@gmail.com" , "linux-kernel@vger.kernel.org" , "contact@pgazz.com" , Paul Gazzillo , "syzkaller@googlegroups.com" Subject: Re: Syzkaller found a bug: KASAN: use-after-free Write in put_pmu_ctx Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 22, 2022 at 07:11:38PM +0100, Alexander Potapenko wrote: > On Thu, Dec 22, 2022 at 6:40 PM Sanan Hasanov > wrote: > > > > Good day, dear maintainers, > > Hi Sanan, > > > Config file: https://drive.google.com/file/d/1JutR21cgcf28flJVyLqDniNyrExMsSn_/view?usp=sharing > > > > Reproducer file: https://drive.google.com/file/d/1X31x8w4ULrtP_YnkD7_RCyW7FlwGewMR/view?usp=sharing > > Any chance you can build with debug info enabled (CONFIG_DEBUG_INFO=y)? > Then you'll be able to generate file:line information for the report > (probably your syzkaller instance will do that for you, otherwise you > can always use scripts/decode_stacktrace.sh) Ok use Google before posting.... https://lkml.kernel.org/r/000000000000a20a2e05f029c577@google.com