Thread (3 messages) 3 messages, 3 authors, 2024-02-04

Re: [PATCH net] inet: read sk->sk_family once in inet_recv_error()

From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Date: 2024-02-02 15:01:41

Eric Dumazet wrote:
inet_recv_error() is called without holding the socket lock.

IPv6 socket could mutate to IPv4 with IPV6_ADDRFORM
socket option and trigger a KCSAN warning.

Fixes: f4713a3dfad0 ("net-timestamp: make tcp_recvmsg call ipv6_recv_error for AF_INET6 socks")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help