{"id":"CVE-2026-46165","state":"PUBLISHED","title":"openvswitch: vport: fix self-deadlock on release of tunnel ports","description":"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.","publishedAt":"2026-05-28T09:36:20.855Z","updatedAt":"2026-10-30T12:26:02.679Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f0ec49d3a39c1f5a4f3270ea27ca0854fad2a2a2","status":"affected","lessThan":"3600033f31b1afa16d73a24905eec9ee1d222b97","versionType":"git"},{"version":"9d56aced21fb9c104e8a3f3be9b21fbafe448ffc","status":"affected","lessThan":"8ae6c15fc473c9ad03b0173330cce9a092c76154","versionType":"git"},{"version":"42f0d3d81209654c08ffdde5a34b9b92d2645896","status":"affected","lessThan":"c741433f6c8dcdecd1d9549d89053761fd1ea413","versionType":"git"},{"version":"bbe7bd722bfaea36aab3da6cc60fb4a05c644643","status":"affected","lessThan":"6522d59fb7de55ce0f0f285d962243ddffebb01f","versionType":"git"},{"version":"98b726ab5e2a4811e27c28e4d041f75bba147eab","status":"affected","lessThan":"3df75fff46b1517eb479d8e6b8e3500763715dd0","versionType":"git"},{"version":"6931d21f87bc6d657f145798fad0bf077b82486c","status":"affected","lessThan":"366c482965c673565ecb8bcfb15d5548f13a6a10","versionType":"git"},{"version":"6931d21f87bc6d657f145798fad0bf077b82486c","status":"affected","lessThan":"aa69918bd418e700309fdd08509dba324fb24296","versionType":"git"},{"version":"b8c56a3fc5d879c0928f207a756b0f067f06c6a8","status":"affected","versionType":"git"},{"version":"6.1.168","status":"affected","lessThan":"6.1.175","versionType":"semver"},{"version":"6.6.131","status":"affected","lessThan":"6.6.140","versionType":"semver"},{"version":"6.12.80","status":"affected","lessThan":"6.12.88","versionType":"semver"},{"version":"6.18.21","status":"affected","lessThan":"6.18.30","versionType":"semver"},{"version":"6.19.11","status":"affected","lessThan":"6.20","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/openvswitch/vport-netdev.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"6.1.175","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.140","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.88","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.30","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.7","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/openvswitch/vport-netdev.c"]}],"references":["https://git.kernel.org/stable/c/3600033f31b1afa16d73a24905eec9ee1d222b97","https://git.kernel.org/stable/c/8ae6c15fc473c9ad03b0173330cce9a092c76154","https://git.kernel.org/stable/c/c741433f6c8dcdecd1d9549d89053761fd1ea413","https://git.kernel.org/stable/c/6522d59fb7de55ce0f0f285d962243ddffebb01f","https://git.kernel.org/stable/c/3df75fff46b1517eb479d8e6b8e3500763715dd0","https://git.kernel.org/stable/c/366c482965c673565ecb8bcfb15d5548f13a6a10","https://git.kernel.org/stable/c/aa69918bd418e700309fdd08509dba324fb24296","https://cert-portal.siemens.com/productcert/html/ssa-784472.html"],"weaknesses":[],"ingestedAt":"2026-10-30T12:42:04.495Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/46xxx/CVE-2026-46165.json","commit":"db8103c5921aac81d5d90efcf3745980dafabf49","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-46165","state":"PUBLISHED","datePublished":"2026-05-28T09:36:20.855Z","dateUpdated":"2026-10-30T12:26:02.679Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-13T15:03:33.102Z"},"containers":{"cna":{"title":"openvswitch: vport: fix self-deadlock on release of tunnel ports","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f0ec49d3a39c1f5a4f3270ea27ca0854fad2a2a2","status":"affected","lessThan":"3600033f31b1afa16d73a24905eec9ee1d222b97","versionType":"git"},{"version":"9d56aced21fb9c104e8a3f3be9b21fbafe448ffc","status":"affected","lessThan":"8ae6c15fc473c9ad03b0173330cce9a092c76154","versionType":"git"},{"version":"42f0d3d81209654c08ffdde5a34b9b92d2645896","status":"affected","lessThan":"c741433f6c8dcdecd1d9549d89053761fd1ea413","versionType":"git"},{"version":"bbe7bd722bfaea36aab3da6cc60fb4a05c644643","status":"affected","lessThan":"6522d59fb7de55ce0f0f285d962243ddffebb01f","versionType":"git"},{"version":"98b726ab5e2a4811e27c28e4d041f75bba147eab","status":"affected","lessThan":"3df75fff46b1517eb479d8e6b8e3500763715dd0","versionType":"git"},{"version":"6931d21f87bc6d657f145798fad0bf077b82486c","status":"affected","lessThan":"366c482965c673565ecb8bcfb15d5548f13a6a10","versionType":"git"},{"version":"6931d21f87bc6d657f145798fad0bf077b82486c","status":"affected","lessThan":"aa69918bd418e700309fdd08509dba324fb24296","versionType":"git"},{"version":"b8c56a3fc5d879c0928f207a756b0f067f06c6a8","status":"affected","versionType":"git"},{"version":"6.1.168","status":"affected","lessThan":"6.1.175","versionType":"semver"},{"version":"6.6.131","status":"affected","lessThan":"6.6.140","versionType":"semver"},{"version":"6.12.80","status":"affected","lessThan":"6.12.88","versionType":"semver"},{"version":"6.18.21","status":"affected","lessThan":"6.18.30","versionType":"semver"},{"version":"6.19.11","status":"affected","lessThan":"6.20","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/openvswitch/vport-netdev.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"6.1.175","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.140","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.88","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.30","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.7","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/openvswitch/vport-netdev.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3600033f31b1afa16d73a24905eec9ee1d222b97"},{"url":"https://git.kernel.org/stable/c/8ae6c15fc473c9ad03b0173330cce9a092c76154"},{"url":"https://git.kernel.org/stable/c/c741433f6c8dcdecd1d9549d89053761fd1ea413"},{"url":"https://git.kernel.org/stable/c/6522d59fb7de55ce0f0f285d962243ddffebb01f"},{"url":"https://git.kernel.org/stable/c/3df75fff46b1517eb479d8e6b8e3500763715dd0"},{"url":"https://git.kernel.org/stable/c/366c482965c673565ecb8bcfb15d5548f13a6a10"},{"url":"https://git.kernel.org/stable/c/aa69918bd418e700309fdd08509dba324fb24296"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:26:02.679Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.168","versionEndExcluding":"6.1.175"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.131","versionEndExcluding":"6.6.140"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.80","versionEndExcluding":"6.12.88"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18.21","versionEndExcluding":"6.18.30"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.0.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19.11"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-15T01:20:57.991Z"},"x_adpType":"supplier"}]}}}