Centos-kernel-stream-9/net/ipv6
Guillaume Nault bad0070a79 ipv6: use RCU protection in ip6_default_advmss()
JIRA: https://issues.redhat.com/browse/RHEL-81568
Upstream Status: linux.git
CVE: CVE-2025-21765

commit 3c8ffcd248da34fc41e52a46e51505900115fc2a
Author: Eric Dumazet <edumazet@google.com>
Date:   Wed Feb 5 15:51:18 2025 +0000

    ipv6: use RCU protection in ip6_default_advmss()

    ip6_default_advmss() needs rcu protection to make
    sure the net structure it reads does not disappear.

    Fixes: 5578689a4e ("[NETNS][IPV6] route6 - make route6 per namespace")
    Signed-off-by: Eric Dumazet <edumazet@google.com>
    Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
    Link: https://patch.msgid.link/20250205155120.1676781-11-edumazet@google.com
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Guillaume Nault <gnault@redhat.com>
2025-03-28 13:24:25 +01:00
..
ila net: ipv6: check return value of rhashtable_init 2023-05-11 11:45:48 +08:00
netfilter netfilter: fib: check correct rtable in vrf setups 2025-01-13 15:04:38 +00:00
Kconfig
Makefile
addrconf.c ipv6: take care of scope when choosing the src addr 2025-01-13 10:18:18 +08:00
addrconf_core.c ipv6: Ensure natural alignment of const ipv6 loopback and router addresses 2024-04-18 16:09:54 +08:00
addrlabel.c ipv6: addrlabel: fix infoleak when sending struct ifaddrlblmsg to network 2023-01-30 15:00:23 +08:00
af_inet6.c net: inet6: do not leave a dangling sk pointer in inet6_create() 2025-01-07 03:10:31 +00:00
ah6.c xfrm: ah: add extack to ah_init_state, ah6_init_state 2023-03-27 17:02:11 +02:00
anycast.c ipv6: anycast: complete RCU handling of struct ifacaddr6 2024-11-14 10:16:50 +01:00
calipso.c
datagram.c ipv6: Fix datagram socket connection with DSCP. 2023-04-27 10:04:56 +08:00
esp6.c page_pool: check for PP direct cache locality later 2024-11-06 18:18:24 +01:00
esp6_offload.c net: move gso declarations and functions to their own files 2023-10-11 13:35:27 +02:00
exthdrs.c ipv6/addrconf: annotate data-races around devconf fields (II) 2024-11-14 10:16:49 +01:00
exthdrs_core.c ipv6: Fix out-of-bounds access in ipv6_find_tlv() 2023-06-29 09:43:40 +08:00
exthdrs_offload.c
fib6_notifier.c
fib6_rules.c Merge: net: ease rtnl contention in cleanup paths 2024-07-04 12:25:29 +00:00
fou6.c
icmp.c icmp: change the order of rate limits 2024-11-13 07:45:19 +08:00
inet6_connection_sock.c
inet6_hashtables.c ipv6: add READ_ONCE(sk->sk_bound_dev_if) in INET6_MATCH() 2022-12-22 11:37:47 +01:00
ip6_checksum.c
ip6_fib.c ipv6: Fix soft lockups in fib6_select_path under high next hop churn 2025-01-13 10:18:18 +08:00
ip6_flowlabel.c treewide: use get_random_u32() when possible 2023-10-20 06:15:03 -04:00
ip6_gre.c netdev_features: convert NETIF_F_NETNS_LOCAL to dev->netns_local 2024-10-03 17:59:51 +02:00
ip6_icmp.c
ip6_input.c ipv6/addrconf: annotate data-races around devconf fields (II) 2024-11-14 10:16:49 +01:00
ip6_offload.c net-next: gro: Fix use of skb_gro_header_slow 2024-05-17 11:06:44 +02:00
ip6_offload.h
ip6_output.c ipv6: fix source address selection with route leak 2025-01-13 10:18:18 +08:00
ip6_tunnel.c rtnetlink: allow rtnl_fill_link_netnsid() to run under RCU protection 2024-12-10 10:37:54 +01:00
ip6_udp_tunnel.c ipv6: mark address parameters of udp_tunnel6_xmit_skb() as const 2024-06-11 11:22:51 +02:00
ip6_vti.c Merge: net: ease rtnl contention in cleanup paths 2024-07-04 12:25:29 +00:00
ip6mr.c inet: allow ip_valid_fib_dump_req() to be called with RTNL or RCU 2024-10-24 16:14:43 +02:00
ipcomp6.c xfrm: ipcomp: add extack to ipcomp{4,6}_init_state 2023-03-27 17:02:13 +02:00
ipv6_sockglue.c ipv6: annotate data-races around cnf.hop_limit 2024-11-14 10:16:48 +01:00
mcast.c ipv6/addrconf: annotate data-races around devconf fields (II) 2024-11-14 10:16:49 +01:00
mcast_snoop.c
mip6.c xfrm: mip6: add extack to mip6_destopt_init_state, mip6_rthdr_init_state 2023-03-27 17:02:13 +02:00
ndisc.c ipv6/addrconf: annotate data-races around devconf fields (II) 2024-11-14 10:16:49 +01:00
netfilter.c netfilter: Use flowlabel flow key when re-routing mangled packets 2024-08-07 18:40:02 +02:00
output_core.c ipv6: annotate data-races around cnf.hop_limit 2024-11-14 10:16:48 +01:00
ping.c inet: preserve const qualifier in inet_sk() 2024-07-16 17:29:40 +02:00
proc.c minmax: add a few more MIN_T/MAX_T users 2024-11-18 10:30:14 -03:00
protocol.c
raw.c net: raw: use sk_skb_reason_drop to free rx packets 2024-07-16 17:29:42 +02:00
reassembly.c net: ipv6: fix wrong start position when receive hop-by-hop fragment 2024-07-02 13:45:42 +08:00
route.c ipv6: use RCU protection in ip6_default_advmss() 2025-03-28 13:24:25 +01:00
rpl.c net: rpl: fix rpl header size calculation 2023-06-29 09:43:35 +08:00
rpl_iptunnel.c
seg6.c ipv6: sr: restruct ifdefines 2024-09-26 07:12:30 +00:00
seg6_hmac.c ipv6/addrconf: annotate data-races around devconf fields (II) 2024-11-14 10:16:49 +01:00
seg6_iptunnel.c ipv6: sr: block BH in seg6_output_core() and seg6_input_core() 2024-09-26 07:12:31 +00:00
seg6_local.c seg6: fix parameter passing when calling NF_HOOK() in End.DX4 and End.DX6 behaviors 2024-07-02 13:57:07 +08:00
sit.c netdev_features: convert NETIF_F_NETNS_LOCAL to dev->netns_local 2024-10-03 17:59:51 +02:00
syncookies.c tcp: use sk_skb_reason_drop to free rx packets 2024-07-16 17:29:42 +02:00
sysctl_net_ipv6.c
tcp_ipv6.c net: fix data-races around sk->sk_forward_alloc 2024-12-02 14:40:01 +00:00
tcpv6_offload.c
tunnel6.c
udp.c udp: Access &udp_table via net. 2025-01-28 12:51:53 +01:00
udp_impl.h
udp_offload.c udp: Access &udp_table via net. 2025-01-28 12:51:53 +01:00
udplite.c ipv6: remove hard coded limitation on ipv6_pinfo 2024-04-02 17:50:46 +08:00
xfrm6_input.c xfrm: Preserve vlan tags for transport mode software GRO 2024-10-30 11:47:57 +01:00
xfrm6_output.c xfrm: fix tunnel model fragmentation behavior 2022-10-25 15:18:34 +02:00
xfrm6_policy.c xfrm6: check ip6_dst_idev() return value in xfrm6_get_saddr() 2024-07-15 13:14:55 +00:00
xfrm6_protocol.c
xfrm6_state.c
xfrm6_tunnel.c xfrm: tunnel: add extack to ipip_init_state, xfrm6_tunnel_init_state 2023-03-27 17:02:12 +02:00