Re: [PATCH v6.1.y 4/4] ipv4: start using dst_dev_rcu()

Greg KH <[email protected]>
Newsgroups org.kernel.vger.stable,org.kernel.vger.linux-kernel,org.kernel.vger.netdev,org.kernel.vger.netfilter-devel
Message-ID <2026082454-jacket-gravity-6ddc@gregkh>
On Fri, Aug 21, 2026 at 03:33:38PM +0200, Miguel Gazquez (Schneider Electric) wrote:
> From: Eric Dumazet <[email protected]>
> 
> [ Upstream commit 6ad8de3cefdb6ffa6708b21c567df0dbf82c43a8 ]
> 
> Change icmpv4_xrlim_allow(), ip_defrag() to prevent possible UAF.
> 
> Change ipmr_prepare_xmit(), ipmr_queue_fwd_xmit(), ip_mr_output(),
> ipv4_neigh_lookup() to use lockdep enabled dst_dev_rcu().
> 
> Fixes: 4a6ce2b6f2ec ("net: introduce a new function dst_dev_put()")
> Signed-off-by: Eric Dumazet <[email protected]>
> Reviewed-by: David Ahern <[email protected]>
> Link: https://patch.msgid.link/[email protected]
> Signed-off-by: Jakub Kicinski <[email protected]>
> [ minor modifications to fix conflict, added rcu_read_lock and unlock
> to ip_defrag function ]
> Signed-off-by: Miguel Gazquez (Schneider Electric) <[email protected]>

We need a working 6.6.y version first, before we can take this one.

thanks,

greg k-h
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.