---
id: CVE-2024-26950
title: |-
  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
summary: |-
  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 …
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-476
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.6, < 5.10.215'
  - 'linux_kernel >= 5.11, < 5.15.154'
  - 'linux_kernel >= 5.16, < 6.1.84'
  - 'linux_kernel >= 6.2, < 6.6.24'
  - 'linux_kernel >= 6.7, < 6.7.12'
  - 'linux_kernel >= 6.8, < 6.8.3'
  - debian_linux = 10.0
patched:
  - linux_kernel 6.8.3
published: '2024-05-01'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:17:33.187'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-26950'
references:
  - url: 'https://git.kernel.org/stable/c/09c3fa70f65175861ca948cb2f0f791e666c90e5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/493aa6bdcffd90a4f82aa614fe4f4db0641b4068'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4be453271a882c8ebc28df3dbf9e4d95e6ac42f5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/71cbd32e3db82ea4a74e3ef9aeeaa6971969c86f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/93bcc1752c69bb309f4d8cfaf960ef1faeb34996'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c991567e6c638079304cc15dff28748e4a3c4a37'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d44bd323d8bb8031eef4bdc44547925998a11e47'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/09c3fa70f65175861ca948cb2f0f791e666c90e5'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/493aa6bdcffd90a4f82aa614fe4f4db0641b4068'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/4be453271a882c8ebc28df3dbf9e4d95e6ac42f5'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/71cbd32e3db82ea4a74e3ef9aeeaa6971969c86f'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/93bcc1752c69bb309f4d8cfaf960ef1faeb34996'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/c991567e6c638079304cc15dff28748e4a3c4a37'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/d44bd323d8bb8031eef4bdc44547925998a11e47'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00244
epssPercentile: 0.15529
ingestedAt: '2026-10-15T03:30:12.663Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-06-06T18:55:56.220490Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 5.6, < 5.10.215`
- `linux_kernel >= 5.11, < 5.15.154`
- `linux_kernel >= 5.16, < 6.1.84`
- `linux_kernel >= 6.2, < 6.6.24`
- `linux_kernel >= 6.7, < 6.7.12`
- `linux_kernel >= 6.8, < 6.8.3`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.8.3`
