]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ipv6: use RCU in ip6_xmit()
authorEric Dumazet <edumazet@google.com>
Thu, 28 Aug 2025 19:58:18 +0000 (19:58 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 30 Aug 2025 02:36:32 +0000 (19:36 -0700)
commit9085e56501d93af9f2d7bd16f7fcfacdde47b99c
tree172e5a8321116cb8f3686c61ad24163e3e1a8181
parentb775ecf1655cedbc465fd6699ab18a2bc4e7a352
ipv6: use RCU in ip6_xmit()

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@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20250828195823.3958522-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/ip6_output.c