{"id":"AZL-116974","summary":"CVE-2026-139237 affecting package kernel 6.6.161.1-1","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.","modified":"2026-12-01T14:17:41.272496442Z","published":"2026-11-30T14:18:45Z","upstream":["CVE-2026-139237"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139237"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-116974.json"}}],"schema_version":"1.9.2"}