CVE-2026-139237
publishedibmveth: release the pool kobjects when probe fails
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux860f242eb5340d0b0cfe243cb86b2a98f92e8b91 to < 83513a8be4d0f77a73d1022840b58238798b5f55 · 860f242eb5340d0b0cfe243cb86b2a98f92e8b91 to < 495edc8d67e858b9e3691db76df1528a457bc630 · 860f242eb5340d0b0cfe243cb86b2a98f92e8b91 to < fd052c6823b31eb45f824660567ab3f2da2d5195 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.18 (affected) · 0 to < 2.6.18 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: ibmveth: release the pool kobjects when probe fails If register_netdev() fails in ibmveth_probe(), for example with -EINTR when the binding task is killed, probe frees the netdev but leaves the pool%d kobjects embedded in it registered in sysfs. Reading /sys/devices/vio/<unit>/pool0/num is then a use-after-free, and the next probe cannot add pool0. Put the kobjects before freeing the netdev, as ibmveth_remove() does, on this path and on the netif_set_real_num_tx_queues() one. The kobjects also have no release(). With CONFIG_DEBUG_KOBJECT_RELEASE, kobject_put() defers their cleanup, including removing the sysfs files, to a work item, so free_netdev() can free them first, here and in remove(). Add a release() that signals a per-pool completion, and wait for it in both places before free_netdev(). Without that config, release() runs from kobject_put() and the wait returns at once. Found in review of the ibmveth multi-queue RX series and confirmed by code inspection; the release() part was raised by the Sashiko review of the first version. Tested on a POWER10 LPAR with register_netdev() forced to fail with -EINTR by a test-only module parameter (not part of this patch): no pool%d directories remain and the device binds again. No kernel selftests cover ibmveth.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 860f242eb5340d0b0cfe243cb86b2a98f92e8b91 to < 83513a8be4d0f77a73d1022840b58238798b5f55 (affected · git)860f242eb5340d0b0cfe243cb86b2a98f92e8b91 to < 495edc8d67e858b9e3691db76df1528a457bc630 (affected · git)860f242eb5340d0b0cfe243cb86b2a98f92e8b91 to < fd052c6823b31eb45f824660567ab3f2da2d5195 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.18 (affected)0 to < 2.6.18 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
ibmveth: release the pool kobjects when probe fails
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ef313ec434dde9a8eca75842b4acf388172b9e608475860a3330be8a58a321de
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record