Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1146543lqj; Mon, 3 Jun 2024 11:29:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU1KTjAzv492K+Lfo/e0F4xFqMjFbnBPGIHHmAr8S7bRNuP+yLwZvTxFzvW7mhit1E36v2eqy48QuRp1timQPfLJoE3VNmu98HI4zU6qA== X-Google-Smtp-Source: AGHT+IF4FGham43upfgakckGLrTSNMkjMENJZHvNoQ+LXh6z01wXrNS6M8pXizr7HUkd72qfJzc6 X-Received: by 2002:a05:620a:6109:b0:794:a72f:b6f4 with SMTP id af79cd13be357-794f5c78ee2mr1016725385a.18.1717439397399; Mon, 03 Jun 2024 11:29:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717439397; cv=pass; d=google.com; s=arc-20160816; b=kpKJxrbERHCOFCjzodle9mTGxTcGEZx4zeYu/cye2jxb6zcDICeeX9C/2Y0btruBjX dtGMZY0Lo6sZwI3ukXNeiWyQHEsDYq4QPYq4SLmeRCtiDt5hebwTpFytB8N1/rH/MF6W r9zwIedGPEWUfNi1C0uDiYeeLNk085Ehx6/FWDu0+BHaUx+OZp18i6z4zxT3mnMFOV1K QBetwOxcj88Yipvilupooy5pOJm27mhQTo3u+Rsk4mcr3Z0pJYHl17JVv3rXx+oiZWhJ FHCjV+WB39SwLHvZ9NUMtV2j7+BG0/84RVxca58m8EiRgG+RpEbCSB2JJmnhRMw/VYk8 +vfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=qBqK7qVzVOEWqWp/RDeHo+jRXw1H5HRb0oMZlwFmfb4=; fh=bnLwHAmME0Gk24quuYXJL0ybE1Td6QwgYPH5du1Vfzw=; b=tjNuJaEBGuUCArOknNeppbglyUwq8BTK+psrqUxPKTVjDw7oVBzNaD7NGRSdmlcW0u g+s5/JJ1nIosWHdP+7UzmUiYkVkMOtTYu/C/xGGPcoqA3ZgRu2oD1jZj6K9F6CmlS8RK 29UsC1MlJVj0W41J4mGt7a9L/695GrIJYvkI6uMF+27GfzD8RwCs8ZJStbORzu8Qa55X sVgAlJYSiy+LPf1+c7Jo9Nvx02KZu0oeZ1wl6WL2rytpNJa/rk4udQ9z+U8T0UG2ddnV qvTTRxJfaII8EgEDSALQzBhj5teVbHnAWpqsoaVpqjhsdDRVrAW/REyAZdjQ1pO4n9Ra Qmvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OkZuV1eV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-8434-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8434-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794f3062f92si864581585a.241.2024.06.03.11.29.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 11:29:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8434-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OkZuV1eV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-8434-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8434-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 22CB41C2277B for ; Mon, 3 Jun 2024 18:29:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 274021384BD; Mon, 3 Jun 2024 18:29:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OkZuV1eV" 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 E2DF6132804; Mon, 3 Jun 2024 18:29:52 +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=1717439393; cv=none; b=gzwqarSgrj82kLq0M690jWVR8HoZdsJOazPJwPkbRfpqk477ReXQi0KcENemIvmnVwwz2Dhd7qRMmuGi3IDHMBN46XDySpbXD5wGvSnFdM3xVphvtUMjOu2lFKjKDFduMobZ6v6T+7qMf7jqEvc8eVDJHbskntfk1n9bwSDjl7I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717439393; c=relaxed/simple; bh=mNhvVNlm7lR5BWW0xTcHRwGUWRDr+XPiKpnaTJtSDTI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=reWDAwotov+xkrZ0wdw74Qk7bMJBlCg8vmnqM7p7YDPxO4z62vJqlGiLOtHTDjIN438CNIbTBLnm8C7n3PEBqssnYBwlQ5Pqil7K/3/YfsSIa9EZHU3FIGzAkVHeH93TjW++S8HPpMsdvKuVi1/bJMgbxnpQzVQubP4iK0ldZ68= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OkZuV1eV; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0ECD0C2BD10; Mon, 3 Jun 2024 18:29:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717439392; bh=mNhvVNlm7lR5BWW0xTcHRwGUWRDr+XPiKpnaTJtSDTI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=OkZuV1eVes1bmZwBJfIiWe1TuYU2eCulaWhDYbIQ6vzMFyaOAD8QPRxLbAyVHL9wa aOkkSIhSzuJEqQBog1tDRdXeLpG0m/VC1G9Om4eLmdkgUqTbgYBXSXgzzzezGrrF0L c2htHuvtT5if3G7uXQRjvkAhGsd9+9OwRi6wvWjUhRMoTbUvhi610iohydI++HjNHe LpcZh2FSschBweqG/H5aKQNvQCEM8ZB9Ic02r9Fb67jykDi82yuxpgetbw8D0rIp/V GTNZSGBtL1yRhYXTQypgCTgnc+OoLITtnoyQnItFbQw6FK/mcgi80sDmAmWTx7rS0H 9ignmGxUFxgZQ== From: Kalle Valo To: Bjorn Helgaas 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 References: <20240603165342.GA685076@bhelgaas> Date: Mon, 03 Jun 2024 21:29:47 +0300 In-Reply-To: <20240603165342.GA685076@bhelgaas> (Bjorn Helgaas's message of "Mon, 3 Jun 2024 11:53:42 -0500") Message-ID: <87wmn5ubfo.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Bjorn Helgaas writes: > 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? Not easily as I'm not subscribed to linux-pci list and I haven't researched how to import mbox files to my mailer :) So feel free to ignore my Tested-by tag in this case. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches