wireguard: netlink: access device through ctx instead of peer
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.215, 5.15.154, 6.1.84, 6.6.24, 6.7.12, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
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 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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From e7096c131e5161fa3b8e52a650d7719d2857adfd · fixed in 493aa6bdcffd90a4f82aa614fe4f4db0641b4068; From e7096c131e5161fa3b8e52a650d7719d2857adfd · fixed in 4be453271a882c8ebc28df3dbf9e4d95e6ac42f5; From e7096c131e5161fa3b8e52a650d7719d2857adfd · fixed in 09c3fa70f65175861ca948cb2f0f791e666c90e5; From e7096c131e5161fa3b8e52a650d7719d2857adfd · fixed in c991567e6c638079304cc15dff28748e4a3c4a37; From e7096c131e5161fa3b8e52a650d7719d2857adfd · fixed in 93bcc1752c69bb309f4d8cfaf960ef1faeb34996; From e7096c131e5161fa3b8e52a650d7719d2857adfd · fixed in d44bd323d8bb8031eef4bdc44547925998a11e47; From e7096c131e5161fa3b8e52a650d7719d2857adfd · fixed in 71cbd32e3db82ea4a74e3ef9aeeaa6971969c86f
- Linux Linux
5.6
- KernelLinux
From 5.6.0 · fixed in 5.10.215; From 5.11.0 · fixed in 5.15.154; From 5.16.0 · fixed in 6.1.84; From 6.2.0 · fixed in 6.6.24; From 6.7.0 · fixed in 6.7.12; From 6.8.0 · fixed in 6.8.3
References 7
git.kernel.org
- stable/c/493aa6bdcffd90a4f82aa614fe4f4db0641b4068
- stable/c/4be453271a882c8ebc28df3dbf9e4d95e6ac42f5
- stable/c/09c3fa70f65175861ca948cb2f0f791e666c90e5
- stable/c/c991567e6c638079304cc15dff28748e4a3c4a37
- stable/c/93bcc1752c69bb309f4d8cfaf960ef1faeb34996
- stable/c/d44bd323d8bb8031eef4bdc44547925998a11e47
- stable/c/71cbd32e3db82ea4a74e3ef9aeeaa6971969c86f