همهٔ گزارش‌ها
کم

kernel: wireguard: netlink: access device through ctx instead of peer

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2024-26950

احتمال بهره‌برداری در ۳۰ روز آینده: 0.24%

FIRST EPSS · ۱۴۰۵/۰۸/۲۶

شرح آسیب‌پذیری

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.

A flaw was found in the Linux kernel's WireGuard implementation. When processing Netlink communication messages, the network driver improperly references device data through a peer structure rather than the operation context, potentially triggering a null pointer dereference. A local user could exploit this vulnerability to crash the system, resulting in a Denial of Service (DoS).