wireguard patches for 6.0-rc6
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | wireguard: ratelimiter: disable timings test by defaultdrivers/ | +10 | 0 replies | |
| 2/3 | wireguard: selftests: do not install headers on UMLtools/ | +2 | 0 replies | |
| 3/3 | wireguard: netlink: avoid variable-sized memcpy on sockaddrdrivers/ | +6 | 2 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Kees Cook |
|---|---|
| 1/3 | |
| 2/3 | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net 0/3] wireguard patches for 6.0-rc6
Hey guys,
Sorry we didn't get a chance to talk at Plumbers. I saw some of you very briefly in passing but never had the opportunity to chat. Next time, I hope.
Please pull the following fixes:
1) The ratelimiter timing test doesn't help outside of development, yet it is currently preventing the module from being inserted on some kernels when it flakes at insertion time. So we disable it.
2) A fix for a build error on UML, caused by a recent change in a different tree.
3) A WARN_ON() is triggered by Kees' new fortified memcpy() patch, due to memcpy()ing over a sockaddr pointer with the size of a sockaddr_in[6]. The type safe fix is pretty simple. Given how classic of a thing sockaddr punning is, I suspect this may be the first in a few patches like this throughout the net tree, once Kees' fortify series is more widely deployed (current it's just in next).
Thanks,
Jason
Jason A. Donenfeld (3):
wireguard: ratelimiter: disable timings test by default
wireguard: selftests: do not install headers on UML
wireguard: netlink: avoid variable-sized memcpy on sockaddr
drivers/net/wireguard/netlink.c | 13 +++++----- drivers/net/wireguard/selftest/ratelimiter.c | 25 ++++++++----------- .../testing/selftests/wireguard/qemu/Makefile | 2 ++ 3 files changed, 18 insertions(+), 22 deletions(-)
Signature · 1 line
2.37.3