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  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:   Wed,  6 May 2020 15:33:01 -0600
From:   "Jason A. Donenfeld" <Jason@...c4.com>
To:     davem@...emloft.net, netdev@...r.kernel.org
Cc:     "Jason A. Donenfeld" <Jason@...c4.com>
Subject: [PATCH net 0/5] wireguard fixes for 5.7-rc5

Hi Dave,

With Ubuntu and Debian having backported this into their kernels, we're
finally seeing testing from places we hadn't seen prior, which is nice.
With that comes more fixes:

1) The CI for PPC64 was running with extremely small stacks for 64-bit,
   causing spurious crashes in surprising places.

2) There's was an old leftover routing loop restriction, which no longer
   makes sense given the queueing architecture, and was causing problems
   for people who really did want nested routing.

3) Not yielding our kthread on CONFIG_PREEMPT_VOLUNTARY systems caused
   RCU stalls and other issues, reported by Wang Jian, with the fix
   suggested by Sultan Alsawaf.

4) Clang spewed warnings in a selftest for CONFIG_IPV6=n, reported by
   Arnd Bergmann.

5) A complicated if statement was simplified to an assignment while also
   making the likely/unlikely hinting more correct and simple, and
   increasing readability, suggested by Sultan.

Patches (2) and (3) have Fixes: lines and are probably good candidates
for stable.

Thanks,
Jason

Jason A. Donenfeld (5):
  wireguard: selftests: use normal kernel stack size on ppc64
  wireguard: socket: remove errant restriction on looping to self
  wireguard: send/receive: cond_resched() when processing worker
    ringbuffers
  wireguard: selftests: initalize ipv6 members to NULL to squelch clang
    warning
  wireguard: send/receive: use explicit unlikely branch instead of
    implicit coalescing

 drivers/net/wireguard/receive.c               | 15 +++---
 drivers/net/wireguard/selftest/ratelimiter.c  |  4 +-
 drivers/net/wireguard/send.c                  | 19 +++----
 drivers/net/wireguard/socket.c                | 12 -----
 tools/testing/selftests/wireguard/netns.sh    | 54 +++++++++++++++++--
 .../wireguard/qemu/arch/powerpc64le.config    |  1 +
 6 files changed, 72 insertions(+), 33 deletions(-)

-- 
2.26.2

Powered by blists - more mailing lists