{"id":"CVE-2026-46165","aliases":["CVE-2026-46165"],"related":[],"kind":"vulnerability","state":"published","title":"openvswitch: vport: fix self-deadlock on release of tunnel ports","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nopenvswitch: vport: fix self-deadlock on release of tunnel ports\n\nvports are used concurrently and protected by RCU, so netdev_put()\nmust happen after the RCU grace period.  So, either in an RCU call or\nafter the synchronize_net().  The rtnl_delete_link() must happen under\nRTNL and so can't be executed in RCU context.  Calling synchronize_net()\nwhile holding RTNL is not a good idea for performance and system\nstability under load in general, so calling netdev_put() in RCU call\nis the right solution here.\n\nHowever,\nwhen the device is deleted, rtnl_unlock() will call netdev_run_todo()\nand block until all the references are gone.  In the current code this\nmeans that we never reach the call_rcu() and the vport is never freed\nand the reference is never released, causing a self-deadlock on device\nremoval.\n\nFix that by moving the rcu_call() before the rtnl_unlock(), so the\nscheduled RCU callback will be executed when synchronize_net() is\ncalled from the rtnl_unlock()->netdev_run_todo() while the RTNL itself\nis already released.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nopenvswitch: vport: fix self-deadlock on release of tunnel ports\n\nvports are used concurrently and protected by RCU, so netdev_put()\nmust happen after the RCU grace period.  So, either in an RCU call or\nafter the synchronize_net().  The rtnl_delete_link() must happen under\nRTNL and so can't be executed in RCU context.  Calling synchronize_net()\nwhile holding RTNL is not a good idea for performance and system\nstability under load in general, so calling netdev_put() in RCU call\nis the right solution here.\n\nHowever,\nwhen the device is deleted, rtnl_unlock() will call netdev_run_todo()\nand block until all the references are gone.  In the current code this\nmeans that we never reach the call_rcu() and the vport is never freed\nand the reference is never released, causing a self-deadlock on device\nremoval.\n\nFix that by moving the rcu_call() before the rtnl_unlock(), so the\nscheduled RCU callback will be executed when synchronize_net() is\ncalled from the rtnl_unlock()->netdev_run_todo() while the RTNL itself\nis already released.","source":"cvelist"}],"published":"2026-05-28T09:36:20.855Z","modified":"2026-11-23T08:17:17.207Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"5622cc9ba01f0188690bd3b4908bfc51e252addd","fixed":"780a547de63cc10a8be3bf236d697e892a6dddf9","status":"affected"},{"type":"git","introduced":"f0ec49d3a39c1f5a4f3270ea27ca0854fad2a2a2","fixed":"3600033f31b1afa16d73a24905eec9ee1d222b97","status":"affected"},{"type":"git","introduced":"9d56aced21fb9c104e8a3f3be9b21fbafe448ffc","fixed":"8ae6c15fc473c9ad03b0173330cce9a092c76154","status":"affected"},{"type":"git","introduced":"42f0d3d81209654c08ffdde5a34b9b92d2645896","fixed":"c741433f6c8dcdecd1d9549d89053761fd1ea413","status":"affected"},{"type":"git","introduced":"bbe7bd722bfaea36aab3da6cc60fb4a05c644643","fixed":"6522d59fb7de55ce0f0f285d962243ddffebb01f","status":"affected"},{"type":"git","introduced":"98b726ab5e2a4811e27c28e4d041f75bba147eab","fixed":"3df75fff46b1517eb479d8e6b8e3500763715dd0","status":"affected"},{"type":"git","introduced":"6931d21f87bc6d657f145798fad0bf077b82486c","fixed":"366c482965c673565ecb8bcfb15d5548f13a6a10","status":"affected"},{"type":"git","introduced":"6931d21f87bc6d657f145798fad0bf077b82486c","fixed":"aa69918bd418e700309fdd08509dba324fb24296","status":"affected"},{"type":"git","version":"b8c56a3fc5d879c0928f207a756b0f067f06c6a8","status":"affected"},{"type":"semver","introduced":"6.1.168","fixed":"6.1.175","status":"affected"},{"type":"semver","introduced":"6.6.131","fixed":"6.6.140","status":"affected"},{"type":"semver","introduced":"6.12.80","fixed":"6.12.88","status":"affected"},{"type":"semver","introduced":"6.18.21","fixed":"6.18.30","status":"affected"},{"type":"semver","introduced":"6.19.11","fixed":"6.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.140","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.88","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.30","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.7","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1.168","fixed":"6.1.175"},{"status":"affected","introduced":"6.6.131","fixed":"6.6.140"},{"status":"affected","introduced":"6.12.80","fixed":"6.12.88"},{"status":"affected","introduced":"6.18.21","fixed":"6.18.30"},{"status":"affected","introduced":"6.19.11","fixed":"7.0"},{"status":"affected","introduced":"7.0.1","fixed":"7.0.7"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/780a547de63cc10a8be3bf236d697e892a6dddf9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3600033f31b1afa16d73a24905eec9ee1d222b97","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ae6c15fc473c9ad03b0173330cce9a092c76154","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c741433f6c8dcdecd1d9549d89053761fd1ea413","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6522d59fb7de55ce0f0f285d962243ddffebb01f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3df75fff46b1517eb479d8e6b8e3500763715dd0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/366c482965c673565ecb8bcfb15d5548f13a6a10","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa69918bd418e700309fdd08509dba324fb24296","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:10:45.765Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46165","url":"https://www.cve.org/CVERecord?id=CVE-2026-46165","licence":"CVE Terms of Use","modified":"2026-11-23T07:58:45.857Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46165","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46165","licence":"Public domain","modified":"2026-11-23T08:17:17.207Z"}],"updatedAt":"2026-11-25T22:59:22.830Z","epss":{"score":0.00128,"percentile":0.02686,"date":"2026-12-01T12:00:22.000Z"}}