CVE-2024-26861: wireguard: receive: annotate data-race around receiving_counter.counter

Published Apr 17, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

wireguard: receive: annotate data-race around receivingcounter.counter

Syzkaller with KCSAN identified a data-race issue when accessing keypair->receivingcounter.counter. Use READONCE() and WRITEONCE() annotations to mark the data race as intentional.

BUG: KCSAN: data-race in wgpacketdecryptworker / wgpacketrxpoll

write to 0xffff888107765888 of 8 bytes by interrupt on cpu 0: countervalidate drivers/net/wireguard/receive.c:321 [inline] wgpacketrxpoll+0x3ac/0xf00 drivers/net/wireguard/receive.c:461 napipoll+0x60/0x3b0 net/core/dev.c:6536 napipoll net/core/dev.c:6605 [inline] netrxaction+0x32b/0x750 net/core/dev.c:6738 dosoftirq+0xc4/0x279 kernel/softirq.c:553 dosoftirq+0x5e/0x90 kernel/softirq.c:454 localbhenableip+0x64/0x70 kernel/softirq.c:381 rawspinunlockbh include/linux/spinlockapismp.h:167 [inline] rawspinunlockbh+0x36/0x40 kernel/locking/spinlock.c:210 spinunlockbh include/linux/spinlock.h:396 [inline] ptrringconsumebh include/linux/ptrring.h:367 [inline] wgpacketdecryptworker+0x6c5/0x700 drivers/net/wireguard/receive.c:499 processonework kernel/workqueue.c:2633 [inline] ...

read to 0xffff888107765888 of 8 bytes by task 3196 on cpu 1: decryptpacket drivers/net/wireguard/receive.c:252 [inline] wgpacketdecryptworker+0x220/0x700 drivers/net/wireguard/receive.c:501 processonework kernel/workqueue.c:2633 [inline] processscheduledworks+0x5b8/0xa30 kernel/workqueue.c:2706 workerthread+0x525/0x730 kernel/workqueue.c:2787 ...

Other sources

In the Linux kernel, the following vulnerability has been resolved:

wireguard: receive: annotate data-race around receivingcounter.counter

The Linux kernel CVE team has assigned CVE-2024-26861 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024041736-CVE-2024-26861-3a78@gregkh/T

Red Hat

Affected Software

15 affected componentsFixes available
redhat/kernel<5.10.214
5.10.214
redhat/kernel<5.15.153
5.15.153
redhat/kernel<6.1.83
6.1.83
redhat/kernel<6.6.23
6.6.23
redhat/kernel<6.7.11
6.7.11
redhat/kernel<6.8.2
6.8.2
redhat/kernel<6.9
6.9
Linux Linux kernel>=5.7<5.10.214
Linux Linux kernel>=5.11<5.15.153
Linux Linux kernel>=5.16<6.1.83
Linux Linux kernel>=6.2<6.6.23
Linux Linux kernel>=6.7<6.7.11
Linux Linux kernel>=6.8<6.8.2
Debian Debian Linux=10.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Apr 17, 2024
CVE Published
via MITRE·10:27 AM
Data Sourced
via MITRE·10:27 AM
Description
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·06:49 PM
DescriptionSeverityAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:07 AM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·02:19 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-26861?

CVE-2024-26861 is a data-race vulnerability in the Linux kernel that can lead to potential denial of service or system instability.

2

How do I fix CVE-2024-26861?

To fix CVE-2024-26861, update the kernel to the patched versions 5.10.214, 5.15.153, 6.1.83, 6.6.23, 6.7.11, 6.8.2, or 6.9.

3

Which versions of the Linux kernel are affected by CVE-2024-26861?

CVE-2024-26861 affects various versions of the Linux kernel prior to the mentioned patched versions.

4

What are the potential impacts of CVE-2024-26861?

The potential impacts of CVE-2024-26861 include data corruption and unpredictable behavior of the affected kernel functions.

5

Is CVE-2024-26861 specific to Red Hat or other distributions?

CVE-2024-26861 is relevant to multiple distributions, including Red Hat and Debian, affecting their respective kernel versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203