Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2327336pxu; Mon, 7 Dec 2020 03:54:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwzh8x7Oc91E+w3lB7IyE/LQho87jwve8QqgkwrO+8UiSmRcYi+4kOr+jAC0o9BM5dDBv1L X-Received: by 2002:a50:ee11:: with SMTP id g17mr10644605eds.259.1607342043670; Mon, 07 Dec 2020 03:54:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607342043; cv=none; d=google.com; s=arc-20160816; b=oA/s8wjZ6IluIqUjPBCZ+qVgi9wpPWtmnRwbr9C4uR/nAW4Z5hw3p1W/PuH/gpu3I5 N65fnjJJsVrBdiTeEIn2bseSYx0iHjLna5tyu+nMrO6e70xqgeC6PUamtml2saewF1gc H11bYuZLfocA/BhIOmdDK68CffyETqOVNVrDXTHxYg47ENo2W5/gr987qWy3L0Crhbhv BG5YfPySY9bJKR0ObdZ4rbeWiC9LauhF5Ywcs+ve0HB18Cvu428qfFxPBQlh5G/3ljyD 1Dx7+qPniN8Df0V4gjO+QvNKrds1qx+aKTXeBn1EfDI389BDHOkHH4SAYU0g64QzwHnJ Vnmw== 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=Tg95pwKVfQPUA8PWvLFZbteHSebozu5OxDajnVjWT7Q=; b=gie67MNuNr2qkayQfirhj6fHagAtmFU4gK9Pjpg6zsqjehnnjNGBh0JUwc8P21xi+t TgUNGpikDWqL3npw6KeJmwZuuJqjSAo+HumGek439L4yeocQVNsP4CR6KV5LJ0SBVKwk 9rYjBaM/65K2+Hs9h0LX0V8xRlJSrgdBw8CqSIonIBvF9Ps1mo950t/FhwYFNyx8yPZ2 EqyMtoxZPF2uYMo+43aWcuiUJUS9OuknvfDgQtWzYcDBHQ3EJMEtVzc/IogxpXrew7Qi 5feLb/rbpqmTmcF8kOINORZbdzKxy+96at/9lBl5g90ejZWyjU7q4PnmFAW4Lim0zQVM 32dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=u1zSahYW; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gn21si1323127ejc.565.2020.12.07.03.53.40; Mon, 07 Dec 2020 03:54:03 -0800 (PST) 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=@infradead.org header.s=casper.20170209 header.b=u1zSahYW; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726830AbgLGLwP (ORCPT + 99 others); Mon, 7 Dec 2020 06:52:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726712AbgLGLwP (ORCPT ); Mon, 7 Dec 2020 06:52:15 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44DC4C0613D2; Mon, 7 Dec 2020 03:51:35 -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=Tg95pwKVfQPUA8PWvLFZbteHSebozu5OxDajnVjWT7Q=; b=u1zSahYWjFBIP5IjABN49An1Lw Ih6LRN0GYM8r8c4EgAJe5wiBDgjqi8sbVf179ZZCyjOKoSmfmbx5AexCoBLGSC0acL/ZrdoG+KhWg 5NC11Ug4yLcTlqyAcAGKZOmNEEphtUMSxLpIuPUdtAHLnqlZhe0/s2wE4AOD8oSERNWikv1IVrSKp ArrkBcC9fY0cDmnNtx3f15fswRylgYxDVeR6tVybb+buu+yvDdW6OTI9JqGpya83wgA0mHakERdSJ T/EhHLeVsQn7w5Nk6IvrPt0sZaDxJuYxcyOXLwHXhzH+yrwlnhxItdXWed9Odgv3fcFAL2KN+facw p4btqyRw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmF2z-0000Ii-Rc; Mon, 07 Dec 2020 11:51:18 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 0F7AB303DA0; Mon, 7 Dec 2020 12:51:16 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id E9D9E2081295B; Mon, 7 Dec 2020 12:51:15 +0100 (CET) Date: Mon, 7 Dec 2020 12:51:15 +0100 From: Peter Zijlstra To: Naresh Kamboju Cc: open list , linux-usb@vger.kernel.org, lkft-triage@lists.linaro.org, rcu@vger.kernel.org, kasan-dev , Greg Kroah-Hartman , "Paul E. McKenney" , Marco Elver , Ingo Molnar , Will Deacon , Lee Jones , Thierry Reding , mathias.nyman@linux.intel.com, Qian Cai Subject: Re: BUG: KCSAN: data-race in mutex_spin_on_owner+0xef/0x1b0 Message-ID: <20201207115115.GL3040@hirez.programming.kicks-ass.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 04, 2020 at 11:51:39PM +0530, Naresh Kamboju wrote: > LKFT started testing KCSAN enabled kernel from the linux next tree. > Here we have found BUG: KCSAN: data-race in mutex_spin_on_owner > and several more KCSAN BUGs. > > This report is from an x86_64 machine clang-11 linux next 20201201. > Since we are running for the first time we do not call this regression. > > [ 4.745161] usbcore: registered new interface driver cdc_ether > [ 4.751281] ================================================================== > [ 4.756653] usbcore: registered new interface driver net1080 > [ 4.752139] BUG: KCSAN: data-race in mutex_spin_on_owner+0xef/0x1b0 At the very least run your splat through ./scripts/decode_stacktrace.sh It's impossible to know what the thing is complaining about. I suspect this is one of those known KCSAN 'bugs' where it can't tell a load+cmp0 is perfectly fine.