Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp216851lqj; Sat, 1 Jun 2024 16:00:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX1o5g9ptHxog6Ko/gZ/yOsX4KzdoRnTnunb9wmF8I2qBaGtRgmJiBKA2fHUZ7UcBCe6aBK5XwCQBd8MMaglSF0rp+69O0cnJ4xZcTtew== X-Google-Smtp-Source: AGHT+IGkm8CdqwFadnSz1Yf9fRHaDtBRJM/0LHv9o9X9x9eWYQOi8okQwF00x7SLjoP58WV6Il5P X-Received: by 2002:a05:6a21:2792:b0:1ac:f796:963c with SMTP id adf61e73a8af0-1b26f286edcmr4728567637.56.1717282846681; Sat, 01 Jun 2024 16:00:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717282846; cv=pass; d=google.com; s=arc-20160816; b=0hheX9TtU1EhqU8A10fRIAVSToDFzxT4EzdmtpmVV/RtwdmWwYWQxHEQLlWKdz5liW SW3faQIXR0sHuPUeBXjuXuhstm66iUUCugYn2PWSDX41jDmK6h0fzDkUruRUct2p1VKP lwuSL14Upev+XXFJDDHI6YYbTF1jySRVtCO+/KO/kRwzqDBSZK9HLL3SSw9VnFzSlxCg xgu0kiJOxTd/iKX8EIns67zKRdLGLDJXxTY8SgJfLEaTYRyXGZBuJuoWl/5Lr2j7ta3G CF8JWmQDTlYMIF51RN3Ppp+rbrm81MD4hz9DqXYoIQrWVy64TlH0uBkl1AtR2F+2ugwZ Q5QA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=XcpnFPE1eQcW1C1Y7xn3eR8I2bPE/e3RCFSajHkHvpc=; fh=i5bOpu3ya7nogSjtGYaaohItRLeEGdMMKLGyLQM0G30=; b=gF29ldqe7JX1enYG6y2hJSMjxhk6c/JKDl13M67eKzg+FCLolGJuqFo+7P/1RWXBfP WLBNkoFMTjptJoMPvcnx6mkIrt3dLsXLcTD5HvRl/GazfnY3HvTkoXXVNl83F6I6u8Ec jmpMlx/PpuDeNZKqP3mUnFAUR8jwoh8tmwrvfBp7vg9swqHChH5m9ebva0ynPJhSmDVe blegrDzryx07O3fRLGaX0OkKFXhHIM3MT40K/hind7L5B5JjSOzBnqZLpMQzBTl/tPkr EABDgnEmjW23wJlBxMuy/fWDGejYiVyRM9i0xYJ59EjGbre/UsI37UiNifggGm+M/XAx CBMQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=twP4ZEw3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-198033-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198033-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 d2e1a72fcca58-702423dcdd5si3876561b3a.80.2024.06.01.16.00.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 16:00:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198033-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=twP4ZEw3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-198033-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198033-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 5E95BB20E54 for ; Sat, 1 Jun 2024 23:00:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8AB6446A5; Sat, 1 Jun 2024 23:00:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="twP4ZEw3" 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 C6CF621364; Sat, 1 Jun 2024 23:00:30 +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=1717282830; cv=none; b=rJ+c69EXeAx3bAY5m8q715r2wMFpty0NGUZk41fP9Zu7fyla3tm085S0Of5caDkOMLmB/02UQfMaVXjLCzW/3/LnC9vJMJurhZXaSSxYIjuJfjFWUgRekkQloem7VSLICTj3RKyF08SQ04DoXeAnXhWfjR0tLJgSV+zJQHJiZbM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717282830; c=relaxed/simple; bh=vpMWcqdZgpvmvcEejXV8FOCWLu3N8B3M22Aygr6cuDI=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=i8nrURuthBzBRPgbzJgHdFjNjVitxq7od2YV2FW2mr4OLZgjxKMzld3jJcDeRWqovR6uvMfF3yT6w29VoU6DorgNWe06UaZExcUhmhQzmKDI/6gW7zTbN0rxRzXkcKQUp3AsHBotzZcMfiSVOqmExWElnnQr/6JThZi14VWVj48= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=twP4ZEw3; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 5B905C32786; Sat, 1 Jun 2024 23:00:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717282830; bh=vpMWcqdZgpvmvcEejXV8FOCWLu3N8B3M22Aygr6cuDI=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=twP4ZEw36pQMraRf9g7DgWgwbyzN+fhdv7bANiEojgZ6TkyT/p3mHJ9hRDNTunNq5 8OB+RLzgnA8nhPDuFJSoGgoflgAV0MU5LuHGQMv38EHnOxZxtJ4fwD0ABVs+JdwD5D Qo7zxhCVkKC9eQEQLSEnqear+vHdhs+GzORGSNEvKUpIRRGEa6yakXX5upi8aWsz+e UMUlUpoqiqINcccoIYUt2eG23BtHMRU8di0kVIhzaPzCLccemytiL7AidwY6WRuyJx jAIJJh8nImgZUXdjfirwMylrqgAAh54BhtuSE5+RDzacvI4M+FUJmoopFJal7Y8h0j Vol5JBJ++vmJw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 4C395DEA711; Sat, 1 Jun 2024 23:00:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] ax25: Replace kfree() in ax25_dev_free() with ax25_dev_put() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171728283030.4092.4494686257575065784.git-patchwork-notify@kernel.org> Date: Sat, 01 Jun 2024 23:00:30 +0000 References: <20240530051733.11416-1-duoming@zju.edu.cn> In-Reply-To: <20240530051733.11416-1-duoming@zju.edu.cn> To: Duoming Zhou Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hams@vger.kernel.org, pabeni@redhat.com, kuba@kernel.org, edumazet@google.com, jreuter@yaina.de, davem@davemloft.net, dan.carpenter@linaro.org Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Thu, 30 May 2024 13:17:33 +0800 you wrote: > The object "ax25_dev" is managed by reference counting. Thus it should > not be directly released by kfree(), replace with ax25_dev_put(). > > Fixes: d01ffb9eee4a ("ax25: add refcount in ax25_dev to avoid UAF bugs") > Suggested-by: Dan Carpenter > Signed-off-by: Duoming Zhou > > [...] Here is the summary with links: - [net] ax25: Replace kfree() in ax25_dev_free() with ax25_dev_put() https://git.kernel.org/netdev/net/c/166fcf86cd34 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html