CVE-2026-46165 (GCVE-0-2026-46165)

Vulnerability from cvelistv5 – Published: 2026-05-28 09:36 – Updated: 2026-05-28 09:36
VLAI
Title
openvswitch: vport: fix self-deadlock on release of tunnel ports
Summary
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.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 42f0d3d81209654c08ffdde5a34b9b92d2645896 , < c741433f6c8dcdecd1d9549d89053761fd1ea413 (git)
Affected: bbe7bd722bfaea36aab3da6cc60fb4a05c644643 , < 6522d59fb7de55ce0f0f285d962243ddffebb01f (git)
Affected: 98b726ab5e2a4811e27c28e4d041f75bba147eab , < 3df75fff46b1517eb479d8e6b8e3500763715dd0 (git)
Affected: 6931d21f87bc6d657f145798fad0bf077b82486c , < 366c482965c673565ecb8bcfb15d5548f13a6a10 (git)
Affected: 6931d21f87bc6d657f145798fad0bf077b82486c , < aa69918bd418e700309fdd08509dba324fb24296 (git)
Affected: 9d56aced21fb9c104e8a3f3be9b21fbafe448ffc (git)
Affected: b8c56a3fc5d879c0928f207a756b0f067f06c6a8 (git)
Affected: 6.6.131 , < 6.6.140 (semver)
Affected: 6.12.80 , < 6.12.88 (semver)
Affected: 6.18.21 , < 6.18.30 (semver)
Affected: 6.1.168 , < 6.2 (semver)
Affected: 6.19.11 , < 6.20 (semver)
Create a notification for this product.
Linux Linux Affected: 7.0
Unaffected: 0 , < 7.0 (semver)
Unaffected: 6.6.140 , ≤ 6.6.* (semver)
Unaffected: 6.12.88 , ≤ 6.12.* (semver)
Unaffected: 6.18.30 , ≤ 6.18.* (semver)
Unaffected: 7.0.7 , ≤ 7.0.* (semver)
Unaffected: 7.1-rc3 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/openvswitch/vport-netdev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c741433f6c8dcdecd1d9549d89053761fd1ea413",
              "status": "affected",
              "version": "42f0d3d81209654c08ffdde5a34b9b92d2645896",
              "versionType": "git"
            },
            {
              "lessThan": "6522d59fb7de55ce0f0f285d962243ddffebb01f",
              "status": "affected",
              "version": "bbe7bd722bfaea36aab3da6cc60fb4a05c644643",
              "versionType": "git"
            },
            {
              "lessThan": "3df75fff46b1517eb479d8e6b8e3500763715dd0",
              "status": "affected",
              "version": "98b726ab5e2a4811e27c28e4d041f75bba147eab",
              "versionType": "git"
            },
            {
              "lessThan": "366c482965c673565ecb8bcfb15d5548f13a6a10",
              "status": "affected",
              "version": "6931d21f87bc6d657f145798fad0bf077b82486c",
              "versionType": "git"
            },
            {
              "lessThan": "aa69918bd418e700309fdd08509dba324fb24296",
              "status": "affected",
              "version": "6931d21f87bc6d657f145798fad0bf077b82486c",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "9d56aced21fb9c104e8a3f3be9b21fbafe448ffc",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "b8c56a3fc5d879c0928f207a756b0f067f06c6a8",
              "versionType": "git"
            },
            {
              "lessThan": "6.6.140",
              "status": "affected",
              "version": "6.6.131",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12.88",
              "status": "affected",
              "version": "6.12.80",
              "versionType": "semver"
            },
            {
              "lessThan": "6.18.30",
              "status": "affected",
              "version": "6.18.21",
              "versionType": "semver"
            },
            {
              "lessThan": "6.2",
              "status": "affected",
              "version": "6.1.168",
              "versionType": "semver"
            },
            {
              "lessThan": "6.20",
              "status": "affected",
              "version": "6.19.11",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/openvswitch/vport-netdev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.0"
            },
            {
              "lessThan": "7.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.140",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.88",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.30",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1-rc3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.140",
                  "versionStartIncluding": "6.6.131",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.88",
                  "versionStartIncluding": "6.12.80",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.30",
                  "versionStartIncluding": "6.18.21",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.7",
                  "versionStartIncluding": "7.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1-rc3",
                  "versionStartIncluding": "7.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.1.168",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.19.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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\u0027t 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()-\u003enetdev_run_todo() while the RTNL itself\nis already released."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-28T09:36:20.855Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "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"
        }
      ],
      "title": "openvswitch: vport: fix self-deadlock on release of tunnel ports",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-46165",
    "datePublished": "2026-05-28T09:36:20.855Z",
    "dateReserved": "2026-05-13T15:03:33.102Z",
    "dateUpdated": "2026-05-28T09:36:20.855Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-46165",
      "date": "2026-05-29",
      "epss": "0.00018",
      "percentile": "0.05164"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-46165\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-28T10:16:32.143\",\"lastModified\":\"2026-05-28T13:44:01.663\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"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\u0027t 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()-\u003enetdev_run_todo() while the RTNL itself\\nis already released.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/366c482965c673565ecb8bcfb15d5548f13a6a10\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3df75fff46b1517eb479d8e6b8e3500763715dd0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6522d59fb7de55ce0f0f285d962243ddffebb01f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/aa69918bd418e700309fdd08509dba324fb24296\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c741433f6c8dcdecd1d9549d89053761fd1ea413\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…