Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1093517lqj; Mon, 3 Jun 2024 09:55:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXBDkFZcXHPk2CyT2bCQlqVw4p3egdnFbpopCyDOhvmSXR3HPKPmwG9vhRpcSzizXK8BRLjssMZl/aDmqGyDzwbWL7WyPZaA4vBuEzl+A== X-Google-Smtp-Source: AGHT+IHqxPbFrdr7kmAhis7fQQYezCVJWvpsG8bqDdMzqTmkiAu5yd8to5OoaDt2SYK35stNUx5g X-Received: by 2002:a05:6358:70b:b0:192:63da:a9ff with SMTP id e5c5f4694b2df-19b490d8863mr1320493355d.23.1717433700515; Mon, 03 Jun 2024 09:55:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717433700; cv=pass; d=google.com; s=arc-20160816; b=pxYPnYaIylKvnhh0iiQde5JB/YCXo7QK/bAZ9Q/6cmvFYn9mUL4mH0Pv6FGlBuCsPa yKCtRPPVSZqseObUz5199l5Nj9g9WuchpM2Qjx8w7nza//jtNhsEoS7sKbE/R01Jtf7n XZDXnBFk47gbnWLdlDaj2ya4Rl/yKpu7WQDPi2cI9K6ltWrNb2jLp0ozWdseOop/C3mK h+TXGco36S6H5c6B5SDHYGeg7zfldmC7gx6YIeXrsg+15wLVMj6d1gnoqMkS+H1hVVi7 Y4c5K/JrRX0CB07CEA1IfpzPie67doh4QaKzObYuQSbPIX4rwO607RJezwT+wTmHH4Mt jfjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=VfcFfPl6DzQuF6BImv7DyhUIKck0BlyAyHTdUvi/FU4=; fh=K81JXWWHJYMb2VD5+3kNH5MeMaLLbLy1hLeMb0mGDAM=; b=hmY7izvvZXLFRizd8jbD/ojyfJvYnLwUQoeV15YbSccUZZ66pkxGiT4nva9Mni4/4X BqntBaNaD81wVzlt9FKgReMOZash0GWnwu8I/32Lfr1avF5WtgZIGfzMBUSYfMop0b6M wDJm6v3A66fjnv1UJ9I7Ms/ncwiTBjpNVAaGFV/yGKxyl6Hh8LtZ/YevBTcJ37Omb8XO SbdVUusRxOGHPLnkpzUedP9qpuXYYOwhxYEjSTprGw51P+fXtDcRERaXbbVBqgynIf9z 7/sqBVjSpuOHwL4EgZq5T9Nme47PkWlJ/E04U4YaGdeNPDNK7gSQO3foUNAFCtLQqClR v71Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hgENSSJY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-8433-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8433-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35c830f81si6803791a12.784.2024.06.03.09.54.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 09:55:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8433-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hgENSSJY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-8433-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8433-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 87D70B22BD3 for ; Mon, 3 Jun 2024 16:53:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C95F13699A; Mon, 3 Jun 2024 16:53:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hgENSSJY" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E591C4A0A; Mon, 3 Jun 2024 16:53:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717433625; cv=none; b=TmQJC42cyE2XRemLe2d946EIw31Kuz/3F6xRIRk9Om3mF1Fp6oGNeinp8lEcCNJT7HBLehv1zpCFVM3eEQX6S5aeeb9uKn+w7YDOJXqTang8br6CR05mDJzlkTAJr4KpRA8H7JqR27uENQl/80F7e1/2+7pwzCV/BPAM94URUUQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717433625; c=relaxed/simple; bh=DyH3gpgi4qx6wflc8epTRwqQEEkxiiw8EGl6bIf3LLo=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=oBQkdZ8ww630HEM/aBw1+q6UaQX+BvazJE5Kn///E6FtTCYZlDAdJ33p1rZHLe6OoFX+80W2vwE39/SNRlD5/03i40xjtQRvoasdcSK1qb8Qi7nahggbRVyYMNsWbi3Ael4Go1dRxFApt8eyB9Rzdx4EYKUYTS9xeIrOzySV3Wg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hgENSSJY; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0CDF7C2BD10; Mon, 3 Jun 2024 16:53:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717433624; bh=DyH3gpgi4qx6wflc8epTRwqQEEkxiiw8EGl6bIf3LLo=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=hgENSSJYgdOnCETWiJY9P2q8PiNLuQHrp3hEsrHgzQ0pKYOsoy1fMSyxc5gUiT4/0 kt2eYRaUtxE9GsHNC7+/gjMM0RM/u6RQIc4eF9iHhxJ5BRAbWJKnpGqWAhezsLTw+C nHXjnjB8jNexooMWyr7gS8s8q3JJQbDN9FbF1QxQhhB+ulwxiYkY+MOpRzqxqZTgVl Gzcza1nHQ8D9zXVU0+IEe+vV2RFf9V9ARr6yffP4ZMcLvJWczK4XsWtjZTDzZ2vYr5 bflHiaCnK4DHzs3TI9dG5Li2FfJoUHV4VaIYbGmG1jLDDAvLrJYuHQ2KzTnq+/d0oV /DqEeWnb+bfJA== Date: Mon, 3 Jun 2024 11:53:42 -0500 From: Bjorn Helgaas To: Kalle Valo Cc: Dan Williams , Dave Jiang , Bjorn Helgaas , linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, regressions@lists.linux.dev, Jeff Johnson , linux-kernel@vger.kernel.org, linux-cxl@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [regression] BUG: KASAN: use-after-free in lockdep_register_key+0x755/0x8f0 Message-ID: <20240603165342.GA685076@bhelgaas> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87a5k5ukew.fsf@kernel.org> On Sat, Jun 01, 2024 at 11:39:03AM +0300, Kalle Valo wrote: > Kalle Valo writes: > > > Dan Williams writes: > > > >> Kalle Valo wrote: > >> [..] > >>> >> The proposed fix for that is here: > >>> >> > >>> >> http://lore.kernel.org/r/66560aa9dbedb_195e294b0@dwillia2-mobl3.amr.corp.intel.com.notmuch > >>> > > >>> > I get "Not Found" from that link, is there a typo? > >>> > >>> I found this fix from for-linus branch: > >>> > >>> # PCI: Fix missing lockdep annotation for pci_cfg_access_trylock()for-linus > >>> https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/commit/?h=for-linus&id=f941b9182c54a885a9d5d4cfd97af66873c98560 > >>> > >>> But at least that doesn't fix my crash. > >> > >> Sorry for the broken link I mistakenly used a message-id from an > >> internal thread with the intel.com reporter. However, it is moot now > >> because the new direction is to revert the lockdep infrastructure: > >> > >> https://lore.kernel.org/r/171711745834.1628941.5259278474013108507.stgit@dwillia2-xfh.jf.intel.com > >> > >> (that link works...) > > > > Thanks, that links works :) I did a quick test with the three patches > > and I didn't see any crashes anymore. But to be confident I need to run > > overnight tests, I'll provide my Tested-by after that. > > Ok, I'm now quite confident that the issues I saw are solved so: > > Tested-by: Kalle Valo Thanks for reporting the issue and testing the fix! Can you please respond with your Tested-by to the actual patch(es) you tested? Bjorn