CVE-2026-139239
ibmveth: do not close twice after a failed reopen
Check your servers for CVE-2026-139239
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139239 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
ibmveth: do not close twice after a failed reopen
ibmveth_change_mtu(), veth_pool_store(), ibmveth_set_csum_offload() and ibmveth_set_tso() call close() and open() directly. If open() fails, NAPI is left disabled while IFF_UP stays set, so the next close() (ifdown, unregister or another reconfiguration) calls napi_disable() again and waits forever with RTNL held. Networking and shutdown hang; only a reboot recovers. ethtool -L in that state also wakes queues that have no TX buffer and dereferences NULL in ibmveth_start_xmit().
Any open() failure on those paths triggers it, for example an allocation failure on an MTU change to jumbo frames.
Track a successful open in adapter->opened. close() returns early when it is clear, and set_channels() checks it instead of IFF_UP.
The open() error-path leaks were fixed separately in net by commit af0524bf4ce1 ("ibmveth: h_free logical LAN on open-fail after register") and commit 84bec0bf0352 ("ibmveth: fix TX LTB and filter unwind on open-fail"), which are now in net-next too, so a failed open() no longer leaves TX buffers or the logical LAN registration behind for the early return to skip.
Found in review of the ibmveth multi-queue RX series and confirmed by code inspection. Tested on a POWER10 LPAR with ibmveth_open() forced to fail by a test-only module parameter (not part of this patch): 'ip link set dev eth1 mtu 9000' fails, then 'ip link set dev eth1 down' returns at once and 'ip link set dev eth1 up' recovers the interface. No kernel selftests cover ibmveth.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, before 461f7703ca52e6136db32a23a8a3f29c5324a37f affected from 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, before 151397505c97bbd096779904ba143dcdd5c0a467 affected from 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, before 95811c873d1b97c424a7e6e731730cbf6656ab7e
Other versions: unaffected
|
| Linux |
affected 2.6.18 unaffected before 2.6.18 unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139239 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139239
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139239
trivy image --scanners vuln IMAGE | grep CVE-2026-139239
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/461f7703ca52e6136db32a23a8a3f29c5324a37f git.kernel.org
- https://git.kernel.org/stable/c/151397505c97bbd096779904ba143dcdd5c0a467 git.kernel.org
- https://git.kernel.org/stable/c/95811c873d1b97c424a7e6e731730cbf6656ab7e git.kernel.org
Source: the record CVE-2026-139239 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse