Linux Kernel WireGuard Exit Callback Racial Deadlock Vulnerability

Vulnerability

A deadlock vulnerability has been identified in the Linux kernel's WireGuard implementation. The issue arises in the network namespace exit process, where a manual lock is applied. This can lead to a hung task if another thread is already holding the lock, causing certain cleanup operations to block indefinitely. The vulnerability affects the Linux kernel WireGuard device management, specifically in the handling of network namespace exits.

Impact

The vulnerability can cause a hung task, leading to indefinite blocking in the network namespace exit process, which can disrupt normal operations and cause delays in cleanup tasks.

Reproduction

The vulnerability can be reproduced by manually triggering the exit of a network namespace that is still referenced by a WireGuard device. This can be done by creating a WireGuard device that references a network namespace, then manually exiting that namespace while another thread holds the RTNL mutex. The result will be a hung task that blocks indefinitely, waiting to acquire the lock.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for upgrading the Linux kernel can be found in the official Linux documentation.

Added: Apr 24, 2026, 7:03 PM
Updated: Apr 24, 2026, 7:03 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.9
remediation
7.7
relevance
6.6
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.