Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2642750ybl; Sun, 11 Aug 2019 05:59:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVYpPdwY27+aXFOEAzd7qtcQQk0IJy29nJVH+MZAJbGKv8Bv33D7Reo+xlccfYJrPMVczt X-Received: by 2002:a17:90a:8d0c:: with SMTP id c12mr18238601pjo.140.1565528369080; Sun, 11 Aug 2019 05:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565528369; cv=none; d=google.com; s=arc-20160816; b=W+8XWtEb/P0fumCnMQ0NYcM+A2VItZfSzTLsPkLO0G1cttHrlg/o3OrddEvjJy+GIU diIjPr/RPsp9puJAsC6IWqutj9rVFEzSnEfc0cajb44HCpKGdBocB5N5tSONjNdA8F4a RI341jagrFOCuLIBWLihycx39X51fa4sgxsA7FgzLHntPpeJe8lz+BjydeTo3Y+WcmOZ ROS5kAXmRL46gQzKO1ogfUjcNQDR22zqzbF2m4lvK7TbdHjyq1pd2kANhnbxqtyMlsZf EVxJum4a6RBriVhUSd9kHCdTCGQRqI9A28dtHcw8czKgEYhD0VCm61JGMzqEVHEefhMA GwOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=DqWdlbHNwsEl28qGzNELeT2a3vV/LQWwg+zrZdJd64U=; b=O3Z6jjnC/X3CUS/JT/apz3flDFqVUCZ7sE3gibiuGDBF8ZnRXKcoC0BNV5PlVAWAb7 WHLjeMvWPG1SBIjzbcNEVsQeDNQI1F9rSH1EA5wtfLMt4vrfkaSVBBcj2KqgNFJpNyla CwtZ97J2HvvnFJJhzKk1R+SPw8WBv27Wc5Bl85RzIWnetXYRJb3afkeZfpPpeM5o/7kg KEm5ii4dUYBu0UR5MlshWDWxHSp3EKn0YifBXJjKN8H29y0/QcZJPAdJ5iTaypViMtpg 9L5VrBpi3IT7w+mn51Ufc62az8RW5PkHgwHiNuHiZbFzUn6NUFIGKmEobXe0GNYFHV/U GT4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q18si52398538pgk.31.2019.08.11.05.59.12; Sun, 11 Aug 2019 05:59:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726460AbfHKM6g (ORCPT + 99 others); Sun, 11 Aug 2019 08:58:36 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:58704 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726070AbfHKM6f (ORCPT ); Sun, 11 Aug 2019 08:58:35 -0400 Received: from p200300ddd71876477e7a91fffec98e25.dip0.t-ipconnect.de ([2003:dd:d718:7647:7e7a:91ff:fec9:8e25]) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hwnQS-0000xO-SI; Sun, 11 Aug 2019 14:58:21 +0200 Date: Sun, 11 Aug 2019 14:58:15 +0200 (CEST) From: Thomas Gleixner To: Salvatore Bonaccorso cc: Paul Menzel , Jacob Pan , Len Brown , x86@kernel.org, LKML , linux-pm@vger.kernel.org, Steven Rostedt , Matthew Garrett Subject: Re: [Linux 5.2.x] /sys/kernel/debug/tracing/events/power/cpu_idle/id: BUG: kernel NULL pointer dereference, address: 0000000000000000 In-Reply-To: <20190811094630.GA18925@eldamar.local> Message-ID: References: <4b54ff1e-f18b-3c58-7caa-945a0775c24c@molgen.mpg.de> <01c7bc6b-dc6d-5eca-401a-8869e02f7c2a@molgen.mpg.de> <20190811094630.GA18925@eldamar.local> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Salvatore, On Sun, 11 Aug 2019, Salvatore Bonaccorso wrote: > On Sun, Aug 11, 2019 at 08:22:35AM +0200, Thomas Gleixner wrote: > > On Sat, 10 Aug 2019, Paul Menzel wrote: > > > For the record. It is also reproducible with Linux 5.2.6, and trying to print > > > the file contents with cat already fails. > > > > > > ``` > > > $ sudo ls -l /sys/kernel/debug/tracing/events/power/cpu_idle/id > > > -r--r--r-- 1 root root 0 Aug 10 23:05 > > > /sys/kernel/debug/tracing/events/power/cpu_idle/id > > > $ sudo cat /sys/kernel/debug/tracing/events/power/cpu_idle/id > > > Killed > > > ``` > > This seems to be related to https://bugs.debian.org/934304 (in > particular https://bugs.debian.org/934304#29). The mentioned patch > features/all/lockdown/0031-tracefs-Restrict-tracefs-when-the-kernel-is-locked-d.patch > is a backport of https://patchwork.kernel.org/patch/11069661/ with > only change that it is converted back to the non-LSM lockdown API. So that's a debian kernel specific issue? Thanks, tglx