From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DC28C4332F for ; Sun, 12 Nov 2023 12:14:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231406AbjKLMOi (ORCPT ); Sun, 12 Nov 2023 07:14:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjKLMOg (ORCPT ); Sun, 12 Nov 2023 07:14:36 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AF982D57 for ; Sun, 12 Nov 2023 04:14:33 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28A8AC433C8; Sun, 12 Nov 2023 12:14:32 +0000 (UTC) Date: Sun, 12 Nov 2023 07:14:39 -0500 From: Steven Rostedt To: Milian Wolff Cc: akaher@vmware.com, akpm@linux-foundation.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, mark.rutland@arm.com, mhiramat@kernel.org Subject: Re: NULL pointer dereference regression when running `chmod -R root:tracing /sys/kernel/debug/tracing` Message-ID: <20231112071439.188bcf4e@gandalf.local.home> In-Reply-To: <20231112104158.6638-1-milian.wolff@kdab.com> References: <20231105160139.660634360@goodmis.org> <20231112104158.6638-1-milian.wolff@kdab.com> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 12 Nov 2023 11:41:58 +0100 Milian Wolff wrote: > Hey all, > > this patch seems to have introduced a kernel bug causing > a NULL pointer dereference when one runs: > > sudo chown -R root:tracing /sys/kernel/debug/tracing/ > > See the archlinux bug report I created initially for some more information: > https://bugs.archlinux.org/task/80230 > > With 6.6.1 and 9aaee3eebc91dd9ccebf6b6bc8a5f59d04ef718b reverted, > the above `chmod` command works. With a normal 6.6.1 build, or re-applying > the patch again, the command fails and `dmesg` shows: Thanks for the report. I'll work on it on my way to Plumbers. -- Steve