Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-26951

published high CVSS 3.1 · 7.8

wireguard: netlink: check for dangling peer via is_dead instead of empty list

Published
01 May 2024, 05:18:34 UTC
Updated
15 Oct 2026, 00:39:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe7096c131e5161fa3b8e52a650d7719d2857adfd to < f52be46e3e6ecefc2539119784324f0cbc09620a · e7096c131e5161fa3b8e52a650d7719d2857adfd to < 710a177f347282eea162aec8712beb1f42d5ad87 · e7096c131e5161fa3b8e52a650d7719d2857adfd to < b7cea3a9af0853fdbb1b16633a458f991dde6aac · e7096c131e5161fa3b8e52a650d7719d2857adfd to < 13d107794304306164481d31ce33f8fdb25a9c04 · e7096c131e5161fa3b8e52a650d7719d2857adfd to < 7bedfe4cfa38771840a355970e4437cd52d4046b · e7096c131e5161fa3b8e52a650d7719d2857adfd to < 302b2dfc013baca3dea7ceda383930d9297d231d · e7096c131e5161fa3b8e52a650d7719d2857adfd to < 55b6c738673871c9b0edae05d0c97995c1ff08c4 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.6 (affected) · 0 to < 5.6 (unaffected · semver) · 5.10.215 through 5.10.* (unaffected · semver) · 5.15.154 through 5.15.* (unaffected · semver) · 6.1.84 through 6.1.* (unaffected · semver) · 6.6.24 through 6.6.* (unaffected · semver) · 6.7.12 through 6.7.* (unaffected · semver) · 6.8.3 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1.1 · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-068 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-049 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.216-1 DSA-5681-1
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2024-696 Fixed Not stated Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Debian buster linux-5.10 Advisory build 5.10.216-1~deb10u1 DLA-3842-1
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 perfaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 python-perfaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uki-virt-addonsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 libperfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 perfx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 python3-perfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 python3-perfx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rtlaaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rtlax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rvaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rvx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: wireguard: netlink: check for dangling peer via is_dead instead of empty list If all peers are removed via wg_peer_remove_all(), rather than setting peer_list to empty, the peer is added to a temporary list with a head on the stack of wg_peer_remove_all(). If a netlink dump is resumed and the cursored peer is one that has been removed via wg_peer_remove_all(), it will iterate from that peer and then attempt to dump freed peers. Fix this by instead checking peer->is_dead, which was explictly created for this purpose. Also move up the device_update_lock lockdep assertion, since reading is_dead relies on that. It can be reproduced by a small script like: echo "Setting config..." ip link add dev wg0 type wireguard wg setconf wg0 /big-config ( while true; do echo "Showing config..." wg showconf wg0 > /dev/null done ) & sleep 4 wg setconf wg0 <(printf "[Peer]\nPublicKey=$(wg genkey)\n") Resulting in: BUG: KASAN: slab-use-after-free in __lock_acquire+0x182a/0x1b20 Read of size 8 at addr ffff88811956ec70 by task wg/59 CPU: 2 PID: 59 Comm: wg Not tainted 6.8.0-rc2-debug+ #5 Call Trace: <TASK> dump_stack_lvl+0x47/0x70 print_address_description.constprop.0+0x2c/0x380 print_report+0xab/0x250 kasan_report+0xba/0xf0 __lock_acquire+0x182a/0x1b20 lock_acquire+0x191/0x4b0 down_read+0x80/0x440 get_peer+0x140/0xcb0 wg_get_device_dump+0x471/0x1130

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

40

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached only through the WireGuard generic-netlink family (`WG_CMD_GET_DEVICE` dump raced against `WG_CMD_SET_DEVICE`), which requires a local netlink socket. Per kernel scoring guidance, netlink-reachable bugs are Local. AC:L - The attacker controls both sides of the race — one thread runs the resumable dump while another issues a peer-replace — and controls the peer count that forces multi-skb dump resumption, exactly as in the maintainer's shell-script reproducer. Nothing depends on conditions outside the attacker's influence. PR:L - The ops use `GENL_UNS_ADMIN_PERM`, i.e. `netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)`, and the family is `netnsok`, so an unprivileged user can obtain the needed capability via `unshare -Urn` — verified by successfully creating a WireGuard device in a user namespace as a normal user. UI:N - Exploitation is entirely driven by the attacker's own two threads issuing netlink requests on a device they created; no victim action or cooperation is involved. S:U - The use-after-free corrupts kernel heap state and leaks kernel memory within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - `get_peer()` reads freed `wg_peer` objects and `nla_put()`s their contents — public key, preshared key, endpoint, counters — directly into the netlink reply returned to userspace, and the traversal off a stale stack-resident list head can dereference wild pointers, giving a broad kernel-memory read primitive. I:H - `down_read()`/`read_lock_bh()` on the freed and wild-pointer objects perform atomic read-modify-write operations on attacker-groomable memory, which combined with heap spraying of the reclaimed `wg_peer` slab yields an exploitable write primitive for control-flow hijacking. A:H - The maintainer's reproducer produces a KASAN slab-use-after-free with a corrupted rwsem acquisition; unmitigated this reliably oopses or panics the kernel, and a garbage lock value can also hang the dumping task indefinitely.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e7096c131e5161fa3b8e52a650d7719d2857adfd to < f52be46e3e6ecefc2539119784324f0cbc09620a (affected · git)e7096c131e5161fa3b8e52a650d7719d2857adfd to < 710a177f347282eea162aec8712beb1f42d5ad87 (affected · git)e7096c131e5161fa3b8e52a650d7719d2857adfd to < b7cea3a9af0853fdbb1b16633a458f991dde6aac (affected · git)e7096c131e5161fa3b8e52a650d7719d2857adfd to < 13d107794304306164481d31ce33f8fdb25a9c04 (affected · git)e7096c131e5161fa3b8e52a650d7719d2857adfd to < 7bedfe4cfa38771840a355970e4437cd52d4046b (affected · git)e7096c131e5161fa3b8e52a650d7719d2857adfd to < 302b2dfc013baca3dea7ceda383930d9297d231d (affected · git)e7096c131e5161fa3b8e52a650d7719d2857adfd to < 55b6c738673871c9b0edae05d0c97995c1ff08c4 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.6 (affected)0 to < 5.6 (unaffected · semver)5.10.215 through 5.10.* (unaffected · semver)5.15.154 through 5.15.* (unaffected · semver)6.1.84 through 6.1.* (unaffected · semver)6.6.24 through 6.6.* (unaffected · semver)6.7.12 through 6.7.* (unaffected · semver)6.8.3 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0 to < V1.1.1 (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

9

Provider assertions

4

Linux · cna

wireguard: netlink: check for dangling peer via is_dead instead of empty list

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
10e6e673b595cb47d031fc139620ce54b7e10015c27c1ed5fc55ce53bcc9d010
Ingested
15 Oct 2026, 13:09:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected