Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp143611lqh; Fri, 3 May 2024 16:50:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX/MrrnQxjdqvUmAEl3++oaaBv0DuJwOoM0nQMgTC5W49xU8PH/pd/u4jQktV/irCPJ2wHOBV1RGeDtYkdJubBFbXeqv3n1DQZqo4KAOQ== X-Google-Smtp-Source: AGHT+IGCmiFieDlQLitG5pCidXyqoFqrxkpY9eThB/H9u69f76cLthYKHhRYpuA9KOoIQ1COk2gU X-Received: by 2002:a17:903:8d0:b0:1eb:7ba:a4c3 with SMTP id lk16-20020a17090308d000b001eb07baa4c3mr6512161plb.48.1714780203623; Fri, 03 May 2024 16:50:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714780203; cv=pass; d=google.com; s=arc-20160816; b=JmpH/Ue30ZR5xinZDXJNjYiKoM0SxCIy9h2zkUqow4hVphcu3aSjUKwRbQScogM/g7 UVm+Fro99+o3dU0hF0joqYtPKHF6wCNazucxqzo3PCSkNOOboVCUSeGQegFi0eJ/g1JR BLjM+0mgRGXUzjpl64Ls52W8y9dvH4P8aoNZqZyozFaO/Fm2B1JNkaETBCO/WfTtmWa4 u/CXZpPr9gKblFyQf+UpgzcOVS16jYfbcTbNnCYJ/QJvJN9BTsVXsarxJNVuuhBbGOfc V3QFantNbU+VtJnG7RQYXqLDEeCkat174coatx6g4/xMkCAjtTg0QyvAlEIW4SMu1CO1 Fb4Q== 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:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yymodEDMA8hxTIFaj2rx1JQhAyi8GNrPu4iEbKCJyFY=; fh=+alZU163KxGm2EB0FZQTcq+PZL31sHxxAkf5BaDEVFs=; b=j/HiFZEIoEgOJOrTAtVRtq7Xt8IMFQkh1/r0ADHQG5DoIzs+e5IJrkLrj+zzT0cVyo XOXVUl+J+PbLf6zAXSEyQUccVvJKr4GB5Dq/Uid3Y1oq6il2WZr6ykyGSeZDbJxIQUC7 ej9GtY9EgTd/yjeZhkm42P9U9JnlwFoiHTatpBbo1lR6Iz44W8LE/IbibVuV3QBeP92m hoCL7nUouVmfvNaUNlDXirsBKXgwM7Ni2Av9EyMmkYXwEIORC/tbZXtSojAYV283U96Y MrM24jhvwnUzrVAMPrculJQf+BBR8Qxjodo/UOKW/NK/WnhcHi4QGetxq9c07i5nMXPy 3Erg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oddbit.com header.s=20180920-g2b7aziw header.b=F2DLZfUB; arc=pass (i=1 spf=pass spfdomain=oddbit.com dkim=pass dkdomain=oddbit.com); spf=pass (google.com: domain of linux-kernel+bounces-168430-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168430-linux.lists.archive=gmail.com@vger.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 m1-20020a170902e40100b001ecb248cb8csi1154352ple.406.2024.05.03.16.50.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 16:50:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168430-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=@oddbit.com header.s=20180920-g2b7aziw header.b=F2DLZfUB; arc=pass (i=1 spf=pass spfdomain=oddbit.com dkim=pass dkdomain=oddbit.com); spf=pass (google.com: domain of linux-kernel+bounces-168430-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168430-linux.lists.archive=gmail.com@vger.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 C0906B22364 for ; Fri, 3 May 2024 23:49:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0176E84FDA; Fri, 3 May 2024 23:49:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=oddbit.com header.i=@oddbit.com header.b="F2DLZfUB" Received: from smtp101.iad3b.emailsrvr.com (smtp101.iad3b.emailsrvr.com [146.20.161.101]) (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 E6A1458ACC for ; Fri, 3 May 2024 23:49:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=146.20.161.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714780189; cv=none; b=Hcrd8oG/RWmJS37VkL07q8XhzqoK0pZqo3BKXSmIWs8sB/lFnzuUqF5emFD0f1taXLAgc1kF9xhEoBQQOiJUJrje5t2bVEfuzAVxAw2isO9XsZuD/LDeaUl4w7afnKu+s0CF52rWACyNUePEhI7MxXmRVVNjTQBTHMppcRbh6sI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714780189; c=relaxed/simple; bh=sEjZ83Sw1Dl1XxIKn2KeQPWM4I5AmiVyc4bGvGyYSiY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uorysKzqIloHDyCDDhA33ahqo9ifVtZseU2d6jrddpTO0jWw6wSDjBlL1xLVaTQLQ9iVGrem/buwXTM/Z77gulIY3mYbj/XnFnr91gvTQ2Uj+CfDdWvYMRPPzeKZpRPD8J8JNTRdiq67Xof/zLfVbKfKvGmVf27sRnWVFN0pYiQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=oddbit.com; spf=pass smtp.mailfrom=oddbit.com; dkim=pass (1024-bit key) header.d=oddbit.com header.i=@oddbit.com header.b=F2DLZfUB; arc=none smtp.client-ip=146.20.161.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=oddbit.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oddbit.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=oddbit.com; s=20180920-g2b7aziw; t=1714779633; bh=sEjZ83Sw1Dl1XxIKn2KeQPWM4I5AmiVyc4bGvGyYSiY=; h=Date:From:To:Subject:From; b=F2DLZfUBhQ3QPw4CMlMcCre1KISmfn2mRJBTkSTCQveEH9SLP/50vpjpGdc6vn5vF pKS2H+SuKkBZZASLVkXqTPUlzkCAw1ce+Ffpt4OMkcP6u34+0P89j3riGjoceeRjiM ElHe5zEs6MrrXXM4dd0OEqjhoge7O0Y80hbA1fjA= X-Auth-ID: lars@oddbit.com Received: by smtp13.relay.iad3b.emailsrvr.com (Authenticated sender: lars-AT-oddbit.com) with ESMTPSA id F10F1602B0; Fri, 3 May 2024 19:40:32 -0400 (EDT) Date: Fri, 3 May 2024 19:40:32 -0400 From: Lars Kellogg-Stedman To: Dan Carpenter Cc: Duoming Zhou , linux-hams@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, pabeni@redhat.com, kuba@kernel.org, edumazet@google.com, davem@davemloft.net, jreuter@yaina.de Subject: Re: [PATCH net] ax25: Fix refcount leak issues of ax25_dev Message-ID: References: <20240501060218.32898-1-duoming@zju.edu.cn> <78ae8aa0-eac5-4ade-8e85-0479a22e98a3@moroto.mountain> Precedence: bulk X-Mailing-List: linux-kernel@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: <78ae8aa0-eac5-4ade-8e85-0479a22e98a3@moroto.mountain> X-Classification-ID: ab5b3add-fbf9-4fe3-adb7-2c2d96a83c57-1-1 On Fri, May 03, 2024 at 11:36:37PM +0300, Dan Carpenter wrote: > Could you test this diff? With that diff applied, there is no kernel panic, but I see the same refcount errors that I saw before the latest series of patches from Duoming: refcount_t: decrement hit 0; leaking memory. refcount_t: underflow; use-after-free. -- Lars Kellogg-Stedman | larsks @ {irc,twitter,github} http://blog.oddbit.com/ | N1LKS