netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] wireguard patches for 5.18-rc4
@ 2022-04-21 13:48 Jason A. Donenfeld
  2022-04-21 13:48 ` [PATCH net 1/2] wireguard: selftests: enable ACPI for SMP Jason A. Donenfeld
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jason A. Donenfeld @ 2022-04-21 13:48 UTC (permalink / raw)
  To: netdev, davem, kuba; +Cc: Jason A. Donenfeld

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(-)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-22 23:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-21 13:48 [PATCH net 0/2] wireguard patches for 5.18-rc4 Jason A. Donenfeld
2022-04-21 13:48 ` [PATCH net 1/2] wireguard: selftests: enable ACPI for SMP Jason A. Donenfeld
2022-04-21 13:48 ` [PATCH net 2/2] wireguard: device: check for metadata_dst with skb_valid_dst() Jason A. Donenfeld
2022-04-22 23:02 ` [PATCH net 0/2] wireguard patches for 5.18-rc4 Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).