CVE-2026-46165

MEDIUM

openvswitch: vport: fix self-deadlock on release of tunnel ports

Title source: cna
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: openvswitch: vport: fix self-deadlock on release of tunnel ports vports are used concurrently and protected by RCU, so netdev_put() must happen after the RCU grace period. So, either in an RCU call or after the synchronize_net(). The rtnl_delete_link() must happen under RTNL and so can't be executed in RCU context. Calling synchronize_net() while holding RTNL is not a good idea for performance and system stability under load in general, so calling netdev_put() in RCU call is the right solution here. However, when the device is deleted, rtnl_unlock() will call netdev_run_todo() and block until all the references are gone. In the current code this means that we never reach the call_rcu() and the vport is never freed and the reference is never released, causing a self-deadlock on device removal. Fix that by moving the rcu_call() before the rtnl_unlock(), so the scheduled RCU callback will be executed when synchronize_net() is called from the rtnl_unlock()->netdev_run_todo() while the RTNL itself is already released.

Scores

CVSS v3 5.5
EPSS 0.0010
EPSS Percentile 1.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-667
Status published
Products (26)
Linux/Linux < 7.0
Linux/Linux 42f0d3d81209654c08ffdde5a34b9b92d2645896 - c741433f6c8dcdecd1d9549d89053761fd1ea413
Linux/Linux 6.1.168 - 6.1.175
Linux/Linux 6.1.168 - 6.2
Linux/Linux 6.1.175 - 6.1.*
Linux/Linux 6.12.80 - 6.12.88
Linux/Linux 6.12.88 - 6.12.*
Linux/Linux 6.18.21 - 6.18.30
Linux/Linux 6.18.30 - 6.18.*
Linux/Linux 6.19.11 - 6.20
... and 16 more
Published May 28, 2026
Tracked Since May 28, 2026