mbox series

[net,0/5] wireguard fixes for 5.6-rc1

Message ID 20200204211729.365431-1-Jason@zx2c4.com
Headers show
Series wireguard fixes for 5.6-rc1 | expand

Message

Jason A. Donenfeld Feb. 4, 2020, 9:17 p.m. UTC
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(-)

Comments

David Miller Feb. 5, 2020, 1:15 p.m. UTC | #1
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
Date: Tue,  4 Feb 2020 22:17:24 +0100

> 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.

Series applied, thanks Jason.