Improper locking in Linux kernel - CVE-2026-31579
Published: April 25, 2026
Vulnerability details
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to improper locking in wg_netns_pre_exit() when handling network namespace cleanup. A local user can trigger network namespace teardown while another thread holds rtnl_mutex to cause a denial of service.
The issue can cause the cleanup path to block indefinitely, resulting in a hung task.
Affected software
Debian Linux
Ubuntu
linux (Ubuntu package)
linux-realtime (Ubuntu package)
linux-oracle (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-raspi (Ubuntu package)
linux-azure (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-ibm (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux (Debian package)
How to mitigate CVE-2026-31579
linux-realtime (Ubuntu package) - update to 7.0.0-27.27.1
linux-oracle (Ubuntu package) - update to 7.0.0-1007.7
linux-aws (Ubuntu package) - update to 7.0.0-1008.8
linux-gcp (Ubuntu package) - update to 7.0.0-1007.7
linux-raspi (Ubuntu package) - update to 7.0.0-1014.14
linux-azure (Ubuntu package) - update to 7.0.0-1010.10
linux-nvidia (Ubuntu package) - update to 7.0.0-1013.13
linux-ibm (Ubuntu package) - update to 7.0.0-1009.9
linux-azure-fde (Ubuntu package) - update to 7.0.0-1009.9
linux (Debian package) - update to 6.12.115-2