Skip to content

wireguard fixes for 5.6-rc1

Jason A. Donenfeld netdev wireguard 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5wireguard: allowedips: fix use-after-free in root_remove_peer_listsdrivers/net/wireguard/allowedips.c+1 -00 replies
2/5wireguard: noise: reject peers with low order public keysdrivers/net/wireguard/netlink.c drivers/net/wireguard/noise.c+9 -70 replies
3/5wireguard: selftests: ensure non-addition of peers with failed precomputationtools/testing/selftests/wireguard/netns.sh+6 -00 replies
4/5wireguard: selftests: cleanup CONFIG_ENABLE_WARN_DEPRECATEDtools/testing/selftests/wireguard/qemu/debug.config+0 -10 replies
5/5wireguard: selftests: tie socket waiting to target pidtools/testing/selftests/wireguard/netns.sh+8 -90 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/5] wireguard fixes for 5.6-rc1

Hi Dave,

Here are fixes for WireGuard before 5.6-rc1 is tagged. It includes:

1) A fix for a UaF (caused by kmalloc failing during a very small allocation) that syzkaller found, from Eric Dumazet.

2) A fix for a deadlock that syzkaller found, along with an additional selftest to ensure that the bug fix remains correct, from me.

3) Two little fixes/cleanups to the selftests from Krzysztof Kozlowski and me.

Thanks,
Jason

Eric Dumazet (1):
wireguard: allowedips: fix use-after-free in root_remove_peer_lists

Jason A. Donenfeld (3):
wireguard: noise: reject peers with low order public keys
wireguard: selftests: ensure non-addition of peers with failed
precomputation
wireguard: selftests: tie socket waiting to target pid

Krzysztof Kozlowski (1):
wireguard: selftests: cleanup CONFIG_ENABLE_WARN_DEPRECATED

 drivers/net/wireguard/allowedips.c            |  1 +
 drivers/net/wireguard/netlink.c               |  6 ++---
 drivers/net/wireguard/noise.c                 | 10 +++++---
 tools/testing/selftests/wireguard/netns.sh    | 23 +++++++++++--------
 .../selftests/wireguard/qemu/debug.config     |  1 -
 5 files changed, 24 insertions(+), 17 deletions(-)
Signature · 1 line
2.25.0