# CVE-2024-26950: wireguard: netlink: access device through ctx instead of peer

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-05-01T05:18:29.902Z
- Modified: 2026-10-15T01:17:33.187Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from e7096c131e5161fa3b8e52a650d7719d2857adfd before 493aa6bdcffd90a4f82aa614fe4f4db0641b4068; from e7096c131e5161fa3b8e52a650d7719d2857adfd before 4be453271a882c8ebc28df3dbf9e4d95e6ac42f5; from e7096c131e5161fa3b8e52a650d7719d2857adfd before 09c3fa70f65175861ca948cb2f0f791e666c90e5; from e7096c131e5161fa3b8e52a650d7719d2857adfd before c991567e6c638079304cc15dff28748e4a3c4a37; from e7096c131e5161fa3b8e52a650d7719d2857adfd before 93bcc1752c69bb309f4d8cfaf960ef1faeb34996; from e7096c131e5161fa3b8e52a650d7719d2857adfd before d44bd323d8bb8031eef4bdc44547925998a11e47; from e7096c131e5161fa3b8e52a650d7719d2857adfd before 71cbd32e3db82ea4a74e3ef9aeeaa6971969c86f; 5.6 (not affected: before 5.6; from 5.10.215 up to 5.10.*; from 5.15.154 up to 5.15.*; from 6.1.84 up to 6.1.*; from 6.6.24 up to 6.6.*; from 6.7.12 up to 6.7.*; from 6.8.3 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 5.6 before 5.10.215; from 5.11 before 5.15.154; from 5.16 before 6.1.84; from 6.2 before 6.6.24; from 6.7 before 6.7.12; from 6.8 before 6.8.3
- debian debian_linux: 10.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/493aa6bdcffd90a4f82aa614fe4f4db0641b4068> (patch)
- <https://git.kernel.org/stable/c/4be453271a882c8ebc28df3dbf9e4d95e6ac42f5> (patch)
- <https://git.kernel.org/stable/c/09c3fa70f65175861ca948cb2f0f791e666c90e5> (patch)
- <https://git.kernel.org/stable/c/c991567e6c638079304cc15dff28748e4a3c4a37> (patch)
- <https://git.kernel.org/stable/c/93bcc1752c69bb309f4d8cfaf960ef1faeb34996> (patch)
- <https://git.kernel.org/stable/c/d44bd323d8bb8031eef4bdc44547925998a11e47> (patch)
- <https://git.kernel.org/stable/c/71cbd32e3db82ea4a74e3ef9aeeaa6971969c86f> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-26950](https://www.cve.org/CVERecord?id=CVE-2024-26950), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-26950](https://nvd.nist.gov/vuln/detail/CVE-2024-26950), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-26950 · Whole record: https://cve.day/CVE-2024-26950.json · Rebuilt by cve.day 2026-11-25T22:58:39.732Z
