Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp83487rwi; Wed, 2 Nov 2022 09:33:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7uqEEAfrTtGkpiCeX13v8fFFmFes0j/yo1hDWcbEeUKg5vNpD484DFNWx3sH7+BmfmUWy0 X-Received: by 2002:a17:906:5dae:b0:78e:3109:36d1 with SMTP id n14-20020a1709065dae00b0078e310936d1mr24840376ejv.470.1667406785686; Wed, 02 Nov 2022 09:33:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667406785; cv=none; d=google.com; s=arc-20160816; b=gSAUMde7X7UTssNa1Nb4ttBNW6c+r7wQHKHwWEKWS5KCu3AqisQ4XcRVdI8x3HykEq 7Js79TMrR2PRB0whPqrqz3T+a0S4T77x2TAlZ2EeOhcisWzevF7O2Nb2Vhbxpl8NS6s6 H5lC0FMhSdLMo1yvfaKT9OFjy0CqAdYwQQrWzRUOmzK8Zm7jXnLCaYtC4gF3tnzV6C7C pb0oqYu/UzQKhwLPNa9SVk5RPmqWWxeyhQyuEbgq+wKA70k8SHXd+Zj4s7elIgEuWM+5 4LdYftfRyADY+nr4JIUbpOD1YHGw1TYKCgz1EnldQhxzwQ+WbgV6OKBwL8q/eVfKggOz jDww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=v+ywJILOxgaTRaKz8jv5LBD1kyOsIW3d1JJWxSSN7XY=; b=wEE2hJAIISOULvtJRFO07B2oydZw7l2ZTzBGk3+ZckFM0qSes2h7b+cNu3VnH4gaMK GawWcOkZpg/RtO2/yxMAEBjuGjvr7QhUPjI/rJl5CmNp4sMjUiwbyuMeAa/v9vUxqALN 2P3Ierl9LXD+/oF9p4xeOYWELuuHZ//6ForquFsHoEuW6Gd3LO06Vo33bhBOlasJS/n8 z4krg83lBfUosvST+8nc97HlepSGtBfRxFBRQPAyDFBaE0WsSu+Hn7toCyR8CM789MiJ GjDbd9ZW5B4tP3tp/GrUr8APuxFPAaSDhXSt4KWNRav2rMn+DTUZhpdQ7JTO6Q/4Q6xl F4yw== ARC-Authentication-Results: i=1; mx.google.com; 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 q21-20020aa7da95000000b004614fa1f99csi12898260eds.540.2022.11.02.09.32.38; Wed, 02 Nov 2022 09:33:05 -0700 (PDT) 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; 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 S231211AbiKBQEh (ORCPT + 98 others); Wed, 2 Nov 2022 12:04:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231163AbiKBQEU (ORCPT ); Wed, 2 Nov 2022 12:04:20 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11B222CE30 for ; Wed, 2 Nov 2022 09:03:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 83527B82386 for ; Wed, 2 Nov 2022 16:03:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 197AAC433D6; Wed, 2 Nov 2022 16:03:40 +0000 (UTC) Date: Wed, 2 Nov 2022 12:03:38 -0400 From: Steven Rostedt To: postix@posteo.eu Cc: 20221031144850.5522b036@rorschach.local.home, linux-kernel@vger.kernel.org, regressions@lists.linux.dev, tiwai@suse.de Subject: Re: [REGRESSION 6.0.x / 6.1.x] NULL dereferencing at tracing Message-ID: <20221102120338.254741f7@rorschach.local.home> In-Reply-To: <25d7e982-f959-d86c-a6e7-5efd1db1e75c@posteo.de> References: <71829e56-a13f-0462-37a7-a4d64c16f561@posteo.de> <25d7e982-f959-d86c-a6e7-5efd1db1e75c@posteo.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS 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 Wed, 2 Nov 2022 15:57:56 +0000 postix@posteo.eu wrote: > Hello everyone, > > I have added lot's of debug printk's to see what's happening and I found > that the "cpu" counter, which is used to access the buffer's array > elements (cpu_buffer = buffer->buffers[cpu]) in the ring_buffer_wake_waiters > function, exceeds the maximum number of total of total cores, namely in > my case 24, which means, it should only run from 0..23. However, upon > debugging, it runs up to 31, and thus causing a NULL pointer dereference > (&cpu_buffer->irq_work). > Could you add this patch. https://lore.kernel.org/all/20221101191009.1e7378c8@rorschach.local.home/ Thanks, -- Steve