# CVE-2026-46165: openvswitch: vport: fix self-deadlock on release of tunnel ports

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-28T09:36:20.855Z
- Modified: 2026-11-23T08:17:17.207Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5622cc9ba01f0188690bd3b4908bfc51e252addd before 780a547de63cc10a8be3bf236d697e892a6dddf9; from f0ec49d3a39c1f5a4f3270ea27ca0854fad2a2a2 before 3600033f31b1afa16d73a24905eec9ee1d222b97; from 9d56aced21fb9c104e8a3f3be9b21fbafe448ffc before 8ae6c15fc473c9ad03b0173330cce9a092c76154; from 42f0d3d81209654c08ffdde5a34b9b92d2645896 before c741433f6c8dcdecd1d9549d89053761fd1ea413; from bbe7bd722bfaea36aab3da6cc60fb4a05c644643 before 6522d59fb7de55ce0f0f285d962243ddffebb01f; from 98b726ab5e2a4811e27c28e4d041f75bba147eab before 3df75fff46b1517eb479d8e6b8e3500763715dd0; from 6931d21f87bc6d657f145798fad0bf077b82486c before 366c482965c673565ecb8bcfb15d5548f13a6a10; from 6931d21f87bc6d657f145798fad0bf077b82486c before aa69918bd418e700309fdd08509dba324fb24296; b8c56a3fc5d879c0928f207a756b0f067f06c6a8; from 6.1.168 before 6.1.175; from 6.6.131 before 6.6.140; from 6.12.80 before 6.12.88; and 3 more (not affected: before 7.0; from 6.1.175 up to 6.1.*; from 6.6.140 up to 6.6.*; from 6.12.88 up to 6.12.*; from 6.18.30 up to 6.18.*; from 7.0.7 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.1.168 before 6.1.175; from 6.6.131 before 6.6.140; from 6.12.80 before 6.12.88; from 6.18.21 before 6.18.30; from 6.19.11 before 7.0; from 7.0.1 before 7.0.7; 7.0; 7.1

## References

- <https://git.kernel.org/stable/c/780a547de63cc10a8be3bf236d697e892a6dddf9>
- <https://git.kernel.org/stable/c/3600033f31b1afa16d73a24905eec9ee1d222b97>
- <https://git.kernel.org/stable/c/8ae6c15fc473c9ad03b0173330cce9a092c76154> (patch)
- <https://git.kernel.org/stable/c/c741433f6c8dcdecd1d9549d89053761fd1ea413> (patch)
- <https://git.kernel.org/stable/c/6522d59fb7de55ce0f0f285d962243ddffebb01f> (patch)
- <https://git.kernel.org/stable/c/3df75fff46b1517eb479d8e6b8e3500763715dd0> (patch)
- <https://git.kernel.org/stable/c/366c482965c673565ecb8bcfb15d5548f13a6a10> (patch)
- <https://git.kernel.org/stable/c/aa69918bd418e700309fdd08509dba324fb24296> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-46165](https://www.cve.org/CVERecord?id=CVE-2026-46165), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-46165](https://nvd.nist.gov/vuln/detail/CVE-2026-46165), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-46165 · Whole record: https://cve.day/CVE-2026-46165.json · Rebuilt by cve.day 2026-11-25T22:59:22.830Z
