Re: [PATCH v6.1-v6.12 ] ipv6: use RCU in ip6_xmit()

From: Greg KH

Date: Sat Feb 07 2026 - 10:23:52 EST


On Thu, Feb 05, 2026 at 07:47:22AM +0000, Keerthana K wrote:
> From: Eric Dumazet <edumazet@xxxxxxxxxx>
>
> [ 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 <edumazet@xxxxxxxxxx>
> Reviewed-by: David Ahern <dsahern@xxxxxxxxxx>
> Link: https://patch.msgid.link/20250828195823.3958522-4-edumazet@xxxxxxxxxx
> Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
> Signed-off-by: Keerthana K <keerthana.kalyanasundaram@xxxxxxxxxxxx>
> ---
> net/ipv6/ip6_output.c | 35 +++++++++++++++++++++--------------
> 1 file changed, 21 insertions(+), 14 deletions(-)

Does not apply to 6.12.y :(