VDB

CVE-2024-26950

CVE-2024-26950 PUBLISHED CVSS 7.8 HIGH

wireguard: netlink: access device through ctx instead of peer

Reported by linux · Published May 1, 2024

In the Linux kernel, the following vulnerability has been resolved: wireguard: netlink: access device through ctx instead of peer The previous commit fixed a bug that led to a NULL peer->device being dereferenced. It's actually easier and faster performance-wise to instead get the device from ctx->wg. This semantically makes more sense too, since ctx->wg->peer_allowedips.seq is compared with ctx->allowedips_seq, basing them both in ctx. This also acts as a defence in depth provision against freed peers.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-libbpf-develAmazon Linux6.1.84-99.169.amzn2023
LinuxLinuxc991567e6c638079304cc15dff28748e4a3c4a37

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxe7096c131e5161fa3b8e52a650d7719d2857adfd, e7096c131e5161fa3b8e52a650d7719d2857adfd, e7096c131e5161fa3b8e52a650d7719d2857adfd
LinuxLinux5.6, 0, 5.10.215
amazon:2023kernel-libbpf-devel0
LinuxLinux*, *, *
amazon:2023kernel-devel0
amazon:2023perf0
linuxlinux_kernel5.6, 5.6, 5.6
amazon:2023kernel-tools0
amazon:2023python3-perf0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-modules-extra0
amazon:2023kernel-livepatch-6.1.84-99.1690
amazon:2023bpftool0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf0
amazon:2023kernel0
amazon:2023kernel-headers0
amazon:2023kernel-libbpf-static0

Timeline

  • May 1, 2024 EPSS Score (30 in total, the first dated here)
  • May 1, 2024 CVE Published
  • Oct 4, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 15, 2026 Security Advisory (320 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (282 in total, the first dated here)
  • Oct 15, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-26950
vulnetix vdb fixes CVE-2024-26950

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26950/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›