mbox series

[net,0/2] wireguard patches for 5.18-rc4

Message ID 20220421134805.279118-1-Jason@zx2c4.com (mailing list archive)
Headers show
Series wireguard patches for 5.18-rc4 | expand

Message

Jason A. Donenfeld April 21, 2022, 1:48 p.m. UTC
Hi Davekub,

Here are two small wireguard fixes for 5.18-rc4:

1) We enable ACPI in the QEMU test harness, so that multiple CPUs are
   actually used on x86 for testing for races.

2) Sending skbs with metadata dsts attached resulted in a null pointer
   dereference, triggerable from executing eBPF programs. The fix is a
   oneliner, changing a skb_dst() null check into a skb_valid_dst()
   boolean check.

Thanks,
Jason


Jason A. Donenfeld (1):
  wireguard: selftests: enable ACPI for SMP

Nikolay Aleksandrov (1):
  wireguard: device: check for metadata_dst with skb_valid_dst()

 drivers/net/wireguard/device.c                            | 3 ++-
 tools/testing/selftests/wireguard/qemu/arch/i686.config   | 1 +
 tools/testing/selftests/wireguard/qemu/arch/x86_64.config | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)

Comments

Jakub Kicinski April 22, 2022, 11:02 p.m. UTC | #1
On Thu, 21 Apr 2022 15:48:03 +0200 Jason A. Donenfeld wrote:
> Hi Davekub,

YES :D

> Here are two small wireguard fixes for 5.18-rc4:

Missed the PR, sadly. Paolo was handling it and he's on EU time.