CVE-2024-26950
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf-devel | Amazon Linux | 6.1.84-99.169.amzn2023 |
| Linux | Linux | c991567e6c638079304cc15dff28748e4a3c4a37 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e7096c131e5161fa3b8e52a650d7719d2857adfd, e7096c131e5161fa3b8e52a650d7719d2857adfd, e7096c131e5161fa3b8e52a650d7719d2857adfd |
| Linux | Linux | 5.6, 0, 5.10.215 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| Linux | Linux | *, *, * |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | perf | 0 |
| linux | linux_kernel | 5.6, 5.6, 5.6 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.1.84-99.169 | 0 |
| amazon:2023 | bpftool | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
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