From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bsdbackstore.eu (128-116-240-228.dyn.eolo.it [128.116.240.228]) (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 F19FE42A94; Tue, 1 Apr 2025 12:18:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=128.116.240.228 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743509926; cv=none; b=YKIlu0VxZOdoxhj51Qs80O6FyF3BZOZ94d349bpCf6kCP9BqTzQYk56lR/uNCCmH1tv6lCQuGz8mBitAvitzdsRcULGuegS6mUPiGW9y76QcGIHYulnZ07GUraarv5f4jEoM/N0U8GiAAWwJVt+y1nPPlDpjZGuRCfQvTMmwOCY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743509926; c=relaxed/simple; bh=gkAaGi/6KaXfz/ElIKiar3CIw41j0EtK1W6A5DY6Gw4=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=WeoJcXkkeYKhpTQHdrglRiIv8ZQPQ9n1B9N4luUts4BO3kyeZN+Pen7VHJjrnLtufg/DOWny+QeHuV0LR43v60qTopw8dqmMjIQnX4kFmP4hZ7gDGvgycCqMV9YeCgX23ZYPMoWd5NKUnScNzA2mnYFfRW1PkGwiREWPsWeoM7s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bsdbackstore.eu; spf=pass smtp.mailfrom=bsdbackstore.eu; arc=none smtp.client-ip=128.116.240.228 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bsdbackstore.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bsdbackstore.eu Received: from localhost ( [193.207.112.45]) by bsdbackstore.eu (OpenSMTPD) with ESMTPSA id c7aa2f3d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 1 Apr 2025 14:12:01 +0200 (CEST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 01 Apr 2025 14:11:59 +0200 Message-Id: Cc: "linux-kernel" , "linux-nvme" , "linux-block" Subject: Re: nvme-tcp: fix a possible UAF when failing to send request From: "Maurizio Lombardi" To: "zhang.guanghui@cestc.cn" , "sagi" , "mgurtovoy" , "kbusch" , "sashal" , "chunguang.xu" X-Mailer: aerc 0.20.1 References: <2025021015413817916143@cestc.cn> <202503071810452687957@cestc.cn> <2025032817241899538928@cestc.cn> In-Reply-To: <2025032817241899538928@cestc.cn> On Fri Mar 28, 2025 at 10:24 AM CET, zhang.guanghui@cestc.cn wrote: > Hi,=20 > > So far, the UAF issue have not been occcurred during testing this = patch in the same situation.=20 > Additionally, the patch triggers a compilation warning, nvme_tcp_fail_re= quest is declared but not defined, please also review. =20 > Ok, I am going to submit a formal patch. Thanks for testing it, Maurizio