Skip to content

wireguard patches for 5.18-rc1

Jason A. Donenfeld netdev stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4wireguard: queueing: use CFI-safe ptr_ring cleanup functiondrivers/net/wireguard/queueing.c+2 -10 replies
2/4wireguard: selftests: simplify RNG seedingtools/testing/selftests/wireguard/qemu/init.c+7 -190 replies
3/4wireguard: socket: free skb in send6 when ipv6 is disableddrivers/net/wireguard/socket.c+1 -00 replies
4/4wireguard: socket: ignore v6 endpoints when ipv6 is disableddrivers/net/wireguard/socket.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/4] wireguard patches for 5.18-rc1

Hi Dave/Jakub,

Here's a small set of fixes for the next net push:

1) Pipacs reported a CFI violation in a cleanup routine, which he triggered using grsec's RAP. I haven't seen reports of this yet from the Android/CFI world yet, but it's only a matter of time there.

2) A small rng cleanup to the self test harness to make it initialize faster on 5.18.

3) Wang reported and fixed a skb leak for CONFIG_IPV6=n.

4) After Wang's fix for the direct leak, I investigated how that code path even could be hit, and found that the netlink layer still handles IPv6 endpoints, when it probably shouldn't.

The relevant commits have stable@ and fixes tags.

Thanks,
Jason

Jason A. Donenfeld (3):
wireguard: queueing: use CFI-safe ptr_ring cleanup function
wireguard: selftests: simplify RNG seeding
wireguard: socket: ignore v6 endpoints when ipv6 is disabled

Wang Hai (1):
wireguard: socket: free skb in send6 when ipv6 is disabled

 drivers/net/wireguard/queueing.c              |  3 ++-
 drivers/net/wireguard/socket.c                |  5 ++--
 tools/testing/selftests/wireguard/qemu/init.c | 26 +++++--------------
 3 files changed, 12 insertions(+), 22 deletions(-)
Signature · 1 line
2.35.1