Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp432379pxf; Thu, 8 Apr 2021 06:13:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKH7FJFB8wywlnTXtgsUJqCuSUMCsrnufT7pieOOyKyWdatltQLClJ9uTIep8anZMC2ZlW X-Received: by 2002:a5d:58f2:: with SMTP id f18mr11160017wrd.7.1617887619935; Thu, 08 Apr 2021 06:13:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617887619; cv=none; d=google.com; s=arc-20160816; b=MaLd9aMnYbIVmXvmcCiZ5q/cseIkBSTcvTiekn8/ullxMD53HhUSyJeouUUh5GV872 KeXXCKaVTbHy35dKQkoXDadV6YH1g07O8FoCOJ6T6lU9YYNlTxFoiDt768SrON27s1m+ tb3bVTi2v/3T0969Hzf10kA0clAo8YufAsevCIKkTm0av6G+ngvHL6veuTjXbNjx44zc qfh6aqS78IhFBywgqNIxXUxNvolSiUwUTxxRg06yDq68lqkKTqqzxprOi27oIN1igUZt bcZx+xoA8PDWMlDG1MCjzo7KyRRfkql/pRWt8FPhsURS1Roq7klnEK9ThIstowAXuJMc fPsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=uhIglvyvwilTn6f7VuVljkbB1jLgfhLJg3AgGbQv7zU=; b=TOWcXR5y+Tt6dKxFpR76Dk5pV2+ZlgEdgGK1LqcvarC5IQop12EL7Vkg+2BojFIHrV UGaHeE5ubPJ9/fb8r8FXHenOkiPJ9UASsDez8La9/homKLgCfhGT8Le6M2ADKZbNcWPI roDJJV6XQuuJa8G2XIk7EDFtGvs63Z/Nnprkfy9GMXTw59jmw59NdqZ7QtCFQG6XV2Tc MJY3JSp6NMf0muCpFOBzXhnGLl9wRcrIUKnV5ZAXhfgtnVvmklWXHflNKeoyoI8+Boys APT/dosebZx7YZZ1eMd8EPXT2m3PBIa7JNtZwpbxTyoknpHwZmZ4bVqeLPMACH+oLOnq 2XUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WT3GUciz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si3982676eje.296.2021.04.08.06.13.15; Thu, 08 Apr 2021 06:13:39 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=WT3GUciz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230412AbhDHNM2 (ORCPT + 99 others); Thu, 8 Apr 2021 09:12:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:34610 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229741AbhDHNM1 (ORCPT ); Thu, 8 Apr 2021 09:12:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4745061164; Thu, 8 Apr 2021 13:12:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617887535; bh=UkxxqNBKlJ55P8VMwpXP5sFNvpwUPW3grgDAns1lO+g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WT3GUcizBOlv68oy+sFxNpCQJMxP770siIVhSiAa3PcSwRRCCt5UYCA+kqinyniyL 8dfoHqwNkzOAI0FWD23WqA5u2Oii5zAAKh0egy/xjx2RG9qd3PgdoSCRhaE6UXrO6u TQg1/ArMGf7gTMoyXGa/LITy+gYNmv9gUOASkGboVdnaP7dL6KI6jCmIpY31Q0AbVD OpiPkBO5Gkd1GP4FFr5BxTCBC7wnMkiFBHRX0nyFThv6j51E+x4mPkXno6jIKlwnIn 0qJUOWTar82hUo1BOwgoyqIdIA6fCsng39Mhf4yBaE2FjES5bIMwnxUeGCDgfv+Dq+ kX6yqUDjCxhWQ== Date: Thu, 8 Apr 2021 14:11:57 +0100 From: Mark Brown To: "William A. Kennington III" Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Joel Stanley Subject: Re: [PATCH] spi: Fix use-after-free with devm_spi_alloc_* Message-ID: <20210408131157.GD4516@sirena.org.uk> References: <20210407095527.2771582-1-wak@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oj4kGyHlBMXGt3Le" Content-Disposition: inline In-Reply-To: <20210407095527.2771582-1-wak@google.com> X-Cookie: Editing is a rewording activity. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --oj4kGyHlBMXGt3Le Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Apr 07, 2021 at 02:55:27AM -0700, William A. Kennington III wrote: > ------------[ cut here ]------------ > WARNING: CPU: 1 PID: 660 at lib/refcount.c:28 refcount_warn_saturate+0x108/0x174 > [] (refcount_warn_saturate) from [] (kobject_put+0x90/0x98) > [] (kobject_put) from [] (put_device+0x20/0x24) > r4:b6700140 Please think hard before including complete backtraces in upstream reports, they are very large and contain almost no useful information relative to their size so often obscure the relevant content in your message. If part of the backtrace is usefully illustrative (it often is for search engines if nothing else) then it's usually better to pull out the relevant sections. --oj4kGyHlBMXGt3Le Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmBvAR0ACgkQJNaLcl1U h9DWxQf9FuZoEVNDQAMRserLJRVhn6/DB//c7KRBHDyxactPwrQJIEenVgurmpUs KhSp0yV0H4AuM71aorlegp0JlDX54jLmkvTm7FiM17/qA26eOlVQOZeRiJiP7eb2 5gD/gumnUIHJZ/HMxP1WmFmxULLAChdlBrHw8Jje70JdageWSBVunvKhc8QqiKXb of6WO8XWjKH43Cc9yVxTFFNi1XoPy6TktCq6sMNaISoQ3dgNrXhsetEPCLquFopj BOw2ogS9fg7PJ7Y+QCgh5f/rnUQZvXSsCoL7XMki4bsOcWUdt9oUpRfiqnFG0H0L HZhG4AVVwDUh4lq89ljAXqjcAlD2wg== =sWeT -----END PGP SIGNATURE----- --oj4kGyHlBMXGt3Le--