Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-26950

wireguard: netlink: access device through ctx instead of peer

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e7096c131e5161fa3b8e52a650d7719d2857adfd to < 493aa6bdcffd90a4f82aa614fe4f4db0641b4068affected
  • e7096c131e5161fa3b8e52a650d7719d2857adfd to < 4be453271a882c8ebc28df3dbf9e4d95e6ac42f5affected
  • e7096c131e5161fa3b8e52a650d7719d2857adfd to < 09c3fa70f65175861ca948cb2f0f791e666c90e5affected
  • e7096c131e5161fa3b8e52a650d7719d2857adfd to < c991567e6c638079304cc15dff28748e4a3c4a37affected
  • e7096c131e5161fa3b8e52a650d7719d2857adfd to < 93bcc1752c69bb309f4d8cfaf960ef1faeb34996affected
  • e7096c131e5161fa3b8e52a650d7719d2857adfd to < d44bd323d8bb8031eef4bdc44547925998a11e47affected
  • e7096c131e5161fa3b8e52a650d7719d2857adfd to < 71cbd32e3db82ea4a74e3ef9aeeaa6971969c86faffected

Linux Linux

Default version status: affected

  • 5.6affected
  • 0 to < 5.6unaffected
  • 5.10.215 to ≤ 5.10.*unaffected
  • 5.15.154 to ≤ 5.15.*unaffected
  • 6.1.84 to ≤ 6.1.*unaffected
  • 6.6.24 to ≤ 6.6.*unaffected
  • 6.7.12 to ≤ 6.7.*unaffected
  • 6.8.3 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References