[PATCH net 0/2] wireguard: device: fix metadata_dst xmit null pointer dereference
Nikolay Aleksandrov
razor at blackwall.org
Thu Apr 14 10:44:56 UTC 2022
Hi,
Patch 01 fixes a null pointer dereference in wireguard's xmit path when
transmitting skbs with metadata_dst attached. Patch 02 adds a selftest for
that case using bpf_skb_set_tunnel_key on wg device's egress path.
Thanks,
Nik
Nikolay Aleksandrov (2):
wireguard: device: fix metadata_dst xmit null pointer dereference
wireguard: selftests: add metadata_dst xmit selftest
drivers/net/wireguard/device.c | 3 +-
tools/testing/selftests/wireguard/netns.sh | 63 ++++++++++++++++++++++
2 files changed, 65 insertions(+), 1 deletion(-)
--
2.35.1
More information about the WireGuard
mailing list