{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "860f242eb5340d0b0cfe243cb86b2a98f92e8b91"
            },
            {
              "fixed": "83513a8be4d0f77a73d1022840b58238798b5f55"
            },
            {
              "fixed": "495edc8d67e858b9e3691db76df1528a457bc630"
            },
            {
              "fixed": "fd052c6823b31eb45f824660567ab3f2da2d5195"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.18"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139237.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nibmveth: release the pool kobjects when probe fails\n\nIf register_netdev() fails in ibmveth_probe(), for example with -EINTR\nwhen the binding task is killed, probe frees the netdev but leaves the\npool%d kobjects embedded in it registered in sysfs. Reading\n/sys/devices/vio/\u003cunit\u003e/pool0/num is then a use-after-free, and the\nnext probe cannot add pool0.\n\nPut the kobjects before freeing the netdev, as ibmveth_remove() does,\non this path and on the netif_set_real_num_tx_queues() one.\n\nThe kobjects also have no release(). With CONFIG_DEBUG_KOBJECT_RELEASE,\nkobject_put() defers their cleanup, including removing the sysfs files,\nto a work item, so free_netdev() can free them first, here and in\nremove(). Add a release() that signals a per-pool completion, and wait\nfor it in both places before free_netdev(). Without that config,\nrelease() runs from kobject_put() and the wait returns at once.\n\nFound in review of the ibmveth multi-queue RX series and confirmed by\ncode inspection; the release() part was raised by the Sashiko review of\nthe first version. Tested on a POWER10 LPAR with register_netdev()\nforced to fail with -EINTR by a test-only module parameter (not part of\nthis patch): no pool%d directories remain and the device binds again. No\nkernel selftests cover ibmveth.",
  "id": "CVE-2026-139237",
  "modified": "2026-12-01T20:45:54.192699814Z",
  "published": "2026-11-30T13:32:53.444Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/495edc8d67e858b9e3691db76df1528a457bc630"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/83513a8be4d0f77a73d1022840b58238798b5f55"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fd052c6823b31eb45f824660567ab3f2da2d5195"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139237.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139237"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ibmveth: release the pool kobjects when probe fails"
}