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 880091DE4CE; Sun, 8 Feb 2026 15:00:49 +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=1770562849; cv=none; b=qEAkFl3IcqoCPqAR7kctCVQM7wJMdbGw2SEuTjn/QW0j43EZHXzpHFP1cHgJd4Ve58lh1pRMOuPwruT/kFSz212PNHkLr/Oyl2Gb/GhWjUqAh+nVzWvQ8lmFWe0uAe1j5uIVgOh3Aq2YwEdLBfUH4cbujW/n1rvvyQ0JhGNgI58= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770562849; c=relaxed/simple; bh=IhMPQApmWrc04vEawLhgrxYIChSC2Nc1f1e6F0lzOh8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=vEv/jyOV9u15DnWt6wuCzi9nm4h4dQ80JgUFKXY1EXKCpTsY6Hi71btAJbTxgpPgVMA8Azb87XzqS8GpDWHQ1eW163nQCBO1AMXGEf1TYlxk14/hBwQDZgbxDQRxPoEBPNDBYgWkP4h5JGiH7gCzEMX8BeoPlQfvKzS/lbd//w8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pKdPJ/3e; 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="pKdPJ/3e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45A8AC4CEF7; Sun, 8 Feb 2026 15:00:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770562849; bh=IhMPQApmWrc04vEawLhgrxYIChSC2Nc1f1e6F0lzOh8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pKdPJ/3eqYZmw0uVFdBD59Ngi7+ABaDP1XKI2VVaERORIN11anlEnTtFFH6ZAsSfB 9YS18gYWuok/FAdVe8u/a64lGom4QUMP/xBeiJb+RvW1iBQdUt6eGdHqEpSc8mWwUY PniXRmDBnH1SrOAooIrYPIOHrgEZxqMOKCliQvfs= Date: Sun, 8 Feb 2026 16:00:45 +0100 From: Greg KH To: Keerthana K Cc: stable@vger.kernel.org, davem@davemloft.net, yoshfuji@linux-ipv6.org, dsahern@kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, kafai@fb.com, weiwan@google.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ajay.kaher@broadcom.com, alexey.makhalov@broadcom.com, vamsi-krishna.brahmajosyula@broadcom.com, yin.ding@broadcom.com, tapas.kundu@broadcom.com, Sasha Levin , Shivani Agarwal Subject: Re: [PATCH v5.10-v5.15 ] ipv6: use RCU in ip6_xmit() Message-ID: <2026020822-stable-slogan-8452@gregkh> References: <20260205074644.2091266-1-keerthana.kalyanasundaram@broadcom.com> Precedence: bulk X-Mailing-List: netdev@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: <20260205074644.2091266-1-keerthana.kalyanasundaram@broadcom.com> On Thu, Feb 05, 2026 at 07:46:44AM +0000, Keerthana K wrote: > From: Eric Dumazet > > [ Upstream commit 9085e56501d93af9f2d7bd16f7fcfacdde47b99c ] > > Use RCU in ip6_xmit() in order to use dst_dev_rcu() to prevent > possible UAF. > > Fixes: 4a6ce2b6f2ec ("net: introduce a new function dst_dev_put()") > Signed-off-by: Eric Dumazet > Reviewed-by: David Ahern > Link: https://patch.msgid.link/20250828195823.3958522-4-edumazet@google.com > Signed-off-by: Jakub Kicinski > Signed-off-by: Sasha Levin > Signed-off-by: Keerthana K > Signed-off-by: Shivani Agarwal > --- > net/ipv6/ip6_output.c | 35 +++++++++++++++++++++-------------- > 1 file changed, 21 insertions(+), 14 deletions(-) We need working versions for newer kernels first. Please resend this when you have submitted patches for the newer releases. thanks, greg k-h