Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp218312lqh; Wed, 27 Mar 2024 22:35:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUxF1KSAIBDONNazaFmLwTx1DjAov2YlEHv4RHnTT1Cuo+auT/6zz2MAkS+e60DjWkxsOj3fSBQ5WxY7IuW+hYPQu8Z6ZLlmfDd30JBtw== X-Google-Smtp-Source: AGHT+IF38XpmN2TvPFmV0vwLxb1je3u92+mym5g1BUTrSuzrXBFCTEfx/jLnjHajsXxmAje+LFrV X-Received: by 2002:a50:8e43:0:b0:566:4aa9:7143 with SMTP id 3-20020a508e43000000b005664aa97143mr1208544edx.14.1711604123741; Wed, 27 Mar 2024 22:35:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711604123; cv=pass; d=google.com; s=arc-20160816; b=P3gVhKBx5zJ5F6k5A/Gu52OdUiCOEKwlZcVQ/iiY/MZSsjDvfFHDp566pOSbjDXEOg KWNQ2rU5grt6pYDKb5AePQ6m+jw20wRODw9HeWM5T3vmstD5bEw6rClBDEdrwl5zyTbj rxWVAk2mKgA6irPzgnNPC1aLEoPUayVKvRHzVzX+pkaEvtmArQAd+kSNUYSzZUdu9SX3 KsbEVgsCDbj02nG+y4BqY8NbIH4Uuj0LrypI2NXbrpT4iOSAuN74MMkAZp5J0R02ouFA Tyt5zfd5fnan2ef3BRVuXesGKVN3245qTQNaoglHp+SE4trypsNn6JGs8gdfnaGStDd0 BHzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:content-transfer-encoding:references:in-reply-to:subject :cc:to:from:date; bh=Lgd4O19vrz5qqCNALb/TQFydB9SMVctddaeUCF0e9so=; fh=cT2vYCXx8BGHrtVQkwJXyp6YImgRH8VD8lFhZPtxbec=; b=Os0cJO48Q0gwOaoWbxtuwA/tB2wR7z1XuSNO87EGJa4YOjL+wGobTgZ2gqgFP2HxoN TNbz6HbRpn5NCmasOmcgY7hDLoVBl0ESAkye8WTowMyGca75MCs2t3BKcYOrLknyQ0bc cOXDe6Z/YwSH2jYTUPyV/rjwSj/r5CSv7EM5cctSAYhCiohA+PKKIeoW7RbEV9PrNRT2 R9WZfe84TnMZ0a4lfHBfsbVJxHlXeMAjPVJkRdoM0y5eYcwqqqfKx/ItcasQOGQDPeN+ 8Q+3mDIVUygl/LY81K1yC+R3bADK5kWf7y63zP9kambNb0Lvvx73fX/XUN3pwaMxbA2M NotQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=zju.edu.cn); spf=pass (google.com: domain of linux-kernel+bounces-122427-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122427-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ew4-20020a056402538400b0056c19240503si380861edb.684.2024.03.27.22.35.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 22:35:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122427-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=zju.edu.cn); spf=pass (google.com: domain of linux-kernel+bounces-122427-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122427-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3D50B1F27A95 for ; Thu, 28 Mar 2024 05:35:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7976145C15; Thu, 28 Mar 2024 05:35:12 +0000 (UTC) Received: from azure-sdnproxy.icoremail.net (azure-sdnproxy.icoremail.net [52.237.72.81]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1496C2E630; Thu, 28 Mar 2024 05:35:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=52.237.72.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711604111; cv=none; b=GNjytftecE6PJ9tyLe2mgCbmCn7T7gCSnZtA5PpSgwkJ5KBmkAaRBkkAwWtM82M4URjGnTQWnw8oWWMd4Uplc3daHSdUoMUdbstl7SEdttH8Se+kwna6YPuLZcD3fsBWgJKKYhseMGjvDT6YwnMAgajurSAc92Ao0IWlCmX3Rao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711604111; c=relaxed/simple; bh=Lgd4O19vrz5qqCNALb/TQFydB9SMVctddaeUCF0e9so=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Content-Type: MIME-Version:Message-ID; b=Mk3n9I4U2m+RwGhz/azC2R1RQvccC9UNlW0M5fT53Q+m7uvCrPAOwQq4ycpfb9lIE+iiZEmnFBCUXwm458BNpwZVMUSA6wl3EEsKb0ikzh02Q6rkV2Z4R6uOGsDVNiT+l7W9ZgIhh9ImDIJ+78Bt6AP5jFHi0LFu7UGaxtnNql8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zju.edu.cn; spf=pass smtp.mailfrom=zju.edu.cn; arc=none smtp.client-ip=52.237.72.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zju.edu.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zju.edu.cn Received: from duoming$zju.edu.cn ( [218.12.18.152] ) by ajax-webmail-mail-app3 (Coremail) ; Thu, 28 Mar 2024 13:34:48 +0800 (GMT+08:00) Date: Thu, 28 Mar 2024 13:34:48 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: duoming@zju.edu.cn To: "Simon Horman" Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hams@vger.kernel.org, pabeni@redhat.com, kuba@kernel.org, edumazet@google.com, davem@davemloft.net, jreuter@yaina.de Subject: Re: [PATCH net] ax25: fix use-after-free bugs caused by ax25_ds_del_timer X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.4-cmXT5 build 20231205(37e20f0e) Copyright (c) 2002-2024 www.mailtech.cn zju.edu.cn In-Reply-To: <20240327191025.GU403975@kernel.org> References: <20240326142542.118058-1-duoming@zju.edu.cn> <20240327191025.GU403975@kernel.org> Content-Transfer-Encoding: base64 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 Message-ID: <7192041a.9d52.18e838dbf1b.Coremail.duoming@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID:cC_KCgCXvMd5AQVmOTZDAQ--.26395W X-CM-SenderInfo: qssqjiasttq6lmxovvfxof0/1tbiAwUOAWYEJBkNNgAAst X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= T24gV2VkLCAyNyBNYXIgMjAyNCAxOToxMDoyNSArMDAwMCBTaW1vbiBIb3JtYW4gd3JvdGU6Cj4g PiBXaGVuIHRoZSBheDI1IGRldmljZSBpcyBkZXRhY2hpbmcsIHRoZSBheDI1X2Rldl9kZXZpY2Vf ZG93bigpCj4gPiBjYWxscyBheDI1X2RzX2RlbF90aW1lcigp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