openvswitch: vport: fix self-deadlock on release of tunnel ports
Summary
| CVE | CVE-2026-46165 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-28 10:16:32 UTC |
| Updated | 2026-06-01 17:17:29 UTC |
| 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. |
Risk And Classification
EPSS: 0.000240000 probability, percentile 0.072780000 (date 2026-06-02)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 9d56aced21fb9c104e8a3f3be9b21fbafe448ffc 8ae6c15fc473c9ad03b0173330cce9a092c76154 git | Not specified |
| CNA | Linux | Linux | affected 42f0d3d81209654c08ffdde5a34b9b92d2645896 c741433f6c8dcdecd1d9549d89053761fd1ea413 git | Not specified |
| CNA | Linux | Linux | affected bbe7bd722bfaea36aab3da6cc60fb4a05c644643 6522d59fb7de55ce0f0f285d962243ddffebb01f git | Not specified |
| CNA | Linux | Linux | affected 98b726ab5e2a4811e27c28e4d041f75bba147eab 3df75fff46b1517eb479d8e6b8e3500763715dd0 git | Not specified |
| CNA | Linux | Linux | affected 6931d21f87bc6d657f145798fad0bf077b82486c 366c482965c673565ecb8bcfb15d5548f13a6a10 git | Not specified |
| CNA | Linux | Linux | affected 6931d21f87bc6d657f145798fad0bf077b82486c aa69918bd418e700309fdd08509dba324fb24296 git | Not specified |
| CNA | Linux | Linux | affected b8c56a3fc5d879c0928f207a756b0f067f06c6a8 git | Not specified |
| CNA | Linux | Linux | affected 6.1.168 6.1.175 semver | Not specified |
| CNA | Linux | Linux | affected 6.6.131 6.6.140 semver | Not specified |
| CNA | Linux | Linux | affected 6.12.80 6.12.88 semver | Not specified |
| CNA | Linux | Linux | affected 6.18.21 6.18.30 semver | Not specified |
| CNA | Linux | Linux | affected 6.19.11 6.20 semver | Not specified |
| CNA | Linux | Linux | affected 7.0 | Not specified |
| CNA | Linux | Linux | unaffected 7.0 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.175 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.140 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.88 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.30 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.7 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1-rc3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/3df75fff46b1517eb479d8e6b8e3500763715dd0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/366c482965c673565ecb8bcfb15d5548f13a6a10 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/6522d59fb7de55ce0f0f285d962243ddffebb01f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/c741433f6c8dcdecd1d9549d89053761fd1ea413 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/aa69918bd418e700309fdd08509dba324fb24296 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/8ae6c15fc473c9ad03b0173330cce9a092c76154 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.