wireguard: netlink: access device through ctx instead of peer
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 09c3fa70f65175861ca948cb2f0f791e666c90e5, Kernel 493aa6bdcffd90a4f82aa614fe4f4db0641b4068, Kernel 4be453271a882c8ebc28df3dbf9e4d95e6ac42f5 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.6, >=e7096c131e5161fa3b8e52a650d7719d2857adfd <09c3fa70f65175861ca948cb2f0f791e666c90e5, >=e7096c131e5161fa3b8e52a650d7719d2857adfd <493aa6bdcffd90a4f82aa614fe4f4db0641b4068, >=e7096c131e5161fa3b8e52a650d7719d2857adfd <4be453271a882c8ebc28df3dbf9e4d95e6ac42f5, >=e7096c131e5161fa3b8e52a650d7719d2857adfd <71cbd32e3db82ea4a74e3ef9aeeaa6971969c86f, >=e7096c131e5161fa3b8e52a650d7719d2857adfd <93bcc1752c69bb309f4d8cfaf960ef1faeb34996, >=e7096c131e5161fa3b8e52a650d7719d2857adfd <c991567e6c638079304cc15dff28748e4a3c4a37, >=e7096c131e5161fa3b8e52a650d7719d2857adfd <d44bd323d8bb8031eef4bdc44547925998a11e47 | 09c3fa70f65175861ca948cb2f0f791e666c90e5, 493aa6bdcffd90a4f82aa614fe4f4db0641b4068, 4be453271a882c8ebc28df3dbf9e4d95e6ac42f5, 71cbd32e3db82ea4a74e3ef9aeeaa6971969c86f, 93bcc1752c69bb309f4d8cfaf960ef1faeb34996, c991567e6c638079304cc15dff28748e4a3c4a37, d44bd323d8bb8031eef4bdc44547925998a11e47 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket