lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 28 Jul 2023 15:03:07 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, 
	Paolo Abeni <pabeni@...hat.com>
Cc: Jamal Hadi Salim <jhs@...atatu.com>, Cong Wang <xiyou.wangcong@...il.com>, 
	Jiri Pirko <jiri@...nulli.us>, netdev@...r.kernel.org, eric.dumazet@...il.com, 
	Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH net 00/11] net: annotate data-races

This series was inspired by a syzbot/KCSAN report.

This will later also permit some optimizations,
like not having to lock the socket while reading/writing
some of its fields.

Eric Dumazet (11):
  net: annotate data-races around sk->sk_reserved_mem
  net: annotate data-race around sk->sk_txrehash
  net: annotate data-races around sk->sk_max_pacing_rate
  net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
  net: annotate data-races around sk->sk_{rcv|snd}timeo
  net: add missing READ_ONCE(sk->sk_sndbuf) annotation
  net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
  net: annotate data-races around sk->sk_mark
  net: add missing data-race annotations around sk->sk_peek_off
  net: add missing data-race annotation for sk_ll_usec
  net: annotate data-races around sk->sk_priority

 include/net/inet_sock.h    |  7 ++--
 include/net/ip.h           |  2 +-
 include/net/route.h        |  4 +--
 net/can/raw.c              |  2 +-
 net/core/sock.c            | 69 ++++++++++++++++++++++----------------
 net/dccp/ipv6.c            |  4 +--
 net/ipv4/inet_diag.c       |  4 +--
 net/ipv4/ip_output.c       |  8 ++---
 net/ipv4/ip_sockglue.c     |  2 +-
 net/ipv4/raw.c             |  2 +-
 net/ipv4/route.c           |  4 +--
 net/ipv4/tcp_ipv4.c        |  4 +--
 net/ipv6/ping.c            |  2 +-
 net/ipv6/raw.c             |  6 ++--
 net/ipv6/route.c           |  7 ++--
 net/ipv6/tcp_ipv6.c        |  9 ++---
 net/ipv6/udp.c             |  4 +--
 net/l2tp/l2tp_ip6.c        |  2 +-
 net/mptcp/sockopt.c        |  2 +-
 net/netfilter/nft_socket.c |  2 +-
 net/netfilter/xt_socket.c  |  4 +--
 net/packet/af_packet.c     | 12 +++----
 net/sched/em_meta.c        |  4 +--
 net/smc/af_smc.c           |  2 +-
 net/unix/af_unix.c         |  2 +-
 net/xdp/xsk.c              |  2 +-
 net/xfrm/xfrm_policy.c     |  2 +-
 27 files changed, 94 insertions(+), 80 deletions(-)

-- 
2.41.0.585.gd2178a4bd4-goog


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ