HOMEVULNERABILITIESCVE-2026-31579
MEDIUM

CVE-2026-31579

Published: April 24, 2026· Updated: Apr 27, 2026

5.5
CVSS v3.1
EPSS:0.02%probability of exploitation in 30 daysPercentile:4.6th

Official Description

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

wireguard: device: use exit_rtnl callback instead of manual rtnl_lock in pre_exit

wg_netns_pre_exit() manually acquires rtnl_lock() inside the

pernet .pre_exit callback. This causes a hung task when another

thread holds rtnl_mutex - the cleanup_net workqueue (or the

setup_net failure rollback path) blocks indefinitely in

wg_netns_pre_exit() waiting to acquire the lock.

Convert to .exit_rtnl, introduced in commit 7a60d91c690b ("net:

Add ->exit_rtnl() hook to struct pernet_operations."), where the

framework already holds RTNL and batches all callbacks under a

single rtnl_lock()/rtnl_unlock() pair, eliminating the contention

window.

The rcu_assign_pointer(wg->creating_net, NULL) is safe to move

from .pre_exit to .exit_rtnl (which runs after synchronize_rcu())

because all RCU readers of creating_net either use maybe_get_net()

- which returns NULL for a dying namespace with zero refcount - or

access net->user_ns which remains valid throughout the entire

ops_undo_list sequence.

[ Jason: added __net_exit and __read_mostly annotations that were missing. ]

NVD Source

Technical Analysis

CVE-2026-31579 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in availability disruption (denial of service), with a CVSS base score of 5.5.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityNone
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Vendors & Products

Linux1 product
linux kernel
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (4)

Quick Facts

CVE IDCVE-2026-31579
CVSS Score5.5 / 10
SeverityMEDIUM
CISA KEVNo
EPSS (30d)0.02%
Affected1 vendor
PublishedApr 24, 2026

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2026-31579 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.