Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-26951

7.8 · HIGH
Published May 1, 2024 linux CWE-416 EPSS 0.23% (14th pctl)

Overview

CVE-2024-26951 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 1, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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

w

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.6, < 5.10.215 Affected

Frequently Asked Questions

What is CVE-2024-26951?

CVE-2024-26951 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 1, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-26951?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-26951?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-26951?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-26951 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.