Skip to content

af_unix: Fix four data-races.

Kuniyuki Iwashima netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4af_unix: Fix data-races around user->unix_inflight.net/unix/scm.c+3 -32 repliesApplied
2/4af_unix: Fix data-race around unix_tot_inflight.net/unix/af_unix.c+1 -11 replyApplied
3/4af_unix: Fix data-races around sk->sk_shutdown.net/core/sock.c+2 -21 replyApplied
4/4af_unix: Fix data race around sk->sk_err.net/core/sock.c+1 -11 replyApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchWilly TarreauEric Dumazet
1/4A-b R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 net 0/4] af_unix: Fix four data-races.

While running syzkaller, KCSAN reported 3 data-races with systemd-coredump using AF_UNIX sockets.

This series fixes the three and another one inspiered by one of the reports.

Kuniyuki Iwashima (4):
af_unix: Fix data-races around user->unix_inflight.
af_unix: Fix data-race around unix_tot_inflight.
af_unix: Fix data-races around sk->sk_shutdown.
af_unix: Fix data race around sk->sk_err.

 net/core/sock.c    | 6 +++---
 net/unix/af_unix.c | 2 +-
 net/unix/scm.c     | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)
Signature · 1 line
2.30.2