From mboxrd@z Thu Jan 1 00:00:00 1970 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 A0BDD37F73E for ; Mon, 11 May 2026 07:28:14 +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=1778484494; cv=none; b=H6ov76Sa+r/M7JfLQeNlgqQ3mhL1c5YWsVjGge8j1//Vr9997iXAgP9xwDUzUYZm/GkgXVMHeLb9gI+S+DLfZV63h3anw/18kkt3wcJ+cd/n6r3DrgR7UeX+mol7yeU4QvZ0hvXuBIakTu3fUll8X5k5F8/9NWF8ABB05vbpUSM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778484494; c=relaxed/simple; bh=4z/wfE5Za01yyEXVfcacuTEN8QQNoxxbNOO0MjNSIBk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CCYPNVV47a5/wcu9AOFov8wMtz/l6bN9dVPJt+fc3d5zO92gQFDvv21Co4dL2dgaGcl3pdkW8NFahAfiVzCeXnf1bZyR6x+vqX8RZhssCTIv92PCIrZC4oRzeV1WwmO2VjXqdjWa+0q89xRRwVijmOC2gV6Z9r7WPMrTv3T/IR4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eCYWFCRk; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="eCYWFCRk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1651C2BCB0; Mon, 11 May 2026 07:28:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778484494; bh=4z/wfE5Za01yyEXVfcacuTEN8QQNoxxbNOO0MjNSIBk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eCYWFCRkZqX3nnZnR9sYpT42CIoCXCTccEKyF5tI87D3VfqZcbbCDjfntAVRYJDxw AXlkkf0iJa4ELVPNx+CKTeDHEyJFQ0MwYmyQSlPrd2KD0SRsZ2PEzku6XOyE5cZGjY Bsg6JZyWnAJRofTBdXqQR0yWsoCLjEdPiKwbrQCM= Date: Mon, 11 May 2026 09:28:11 +0200 From: Greg KH To: Wentao Guan Cc: dhowells@redhat.com, imv4bel@gmail.com, jiayuan.chen@linux.dev, stable@vger.kernel.org, torvalds@linux-foundation.org, Marc Dionne , Jeffrey Altman , Simon Horman , linux-afs@lists.infradead.org, stable@kernel.org, Jakub Kicinski Subject: Re: [PATCH 1/2] rxrpc: Fix conn-level packet handling to unshare RESPONSE packets Message-ID: <2026051152-mobster-abacus-7833@gregkh> References: <2026051109-ocelot-dwindle-a7e9@gregkh> <20260511071833.44144-1-guanwentao@uniontech.com> Precedence: bulk X-Mailing-List: stable@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: <20260511071833.44144-1-guanwentao@uniontech.com> On Mon, May 11, 2026 at 03:18:32PM +0800, Wentao Guan wrote: > From: David Howells > > The security operations that verify the RESPONSE packets decrypt bits of it > in place - however, the sk_buff may be shared with a packet sniffer, which > would lead to the sniffer seeing an apparently corrupt packet (actually > decrypted). > > Fix this by handing a copy of the packet off to the specific security > handler if the packet was cloned. > > Fixes: 17926a79320a ("[AF_RXRPC]: Provide secure RxRPC sockets for use by userspace and kernel both") > Closes: https://sashiko.dev/#/patchset/20260408121252.2249051-1-dhowells%40redhat.com > Signed-off-by: David Howells > cc: Marc Dionne > cc: Jeffrey Altman > cc: Simon Horman > cc: linux-afs@lists.infradead.org > cc: stable@kernel.org > Link: https://patch.msgid.link/20260422161438.2593376-5-dhowells@redhat.com > Signed-off-by: Jakub Kicinski > (cherry picked from commit 24481a7f573305706054c59e275371f8d0fe919f) > Stable-dep-of: aa54b1d27fe0 ("rxrpc: Also unshare DATA/RESPONSE packets when > paged frags are present") > Signed-off-by: Wentao Guan > --- > net/rxrpc/conn_event.c | 29 ++++++++++++++++++++++++++++- > 1 file changed, 28 insertions(+), 1 deletion(-) What branch(es) are you wanting this applied to? thanks, greg k-h