Menu

Star on GitHub · 3.2k

CVE-2024-26861

4.7 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: wireguard: receive: annotate data-race around receiving_counter.counter Syzkaller with KCSAN identified a data-race issue when…

Published Apr 17, 2024CWE-362EPSS 0.18%

Overview

CVE-2024-26861 is a medium-severity vulnerability. It was published on April 17, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. 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: receive: annotate data-race around receiving_counter.counter

Syzkaller with KCSAN identified a data-race issue when accessing

keypair->receiving_counter.counter. Use READ_ONCE() and WRITE_ONCE()

annotations to mark the data race as intentional.

BUG: KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll

write to 0xffff888107765888 of 8 bytes by interrupt on cpu 0:

counter_validate drivers/net/wireguard/receive.c:321 [inline]

wg_packet_rx_poll+0x3ac/0xf00 drivers/net/wireguard/receive.c:461

__napi_poll+0x60/0x3b0 net/core/dev.c:6536

napi_poll net/core/dev.c:6605 [inline]

net_rx_action+0x32b/0x750 net/core/dev.c:6738

__do_softirq+0xc4/0x279 kernel/softirq.c:553

do_softirq+0x5e/0x90 kernel/softirq.c:454

__local_bh_enable_ip+0x64/0x70 kernel/softirq.c:381

__raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline]

_raw_spin_unlock_bh+

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2024-26861?

CVE-2024-26861 is a medium-severity vulnerability. It was published on April 17, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2024-26861?

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. 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-26861?

Check the references section for vendor advisories, patches, and mitigation guidance. 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-26861?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-26861 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all