CVE-2026-139239: ibmveth: do not close twice after a failed reopen

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ibmveth: do not close twice after a failed reopen

ibmvethchangemtu(), vethpoolstore(), ibmvethsetcsumoffload() and ibmvethsettso() call close() and open() directly. If open() fails, NAPI is left disabled while IFFUP stays set, so the next close() (ifdown, unregister or another reconfiguration) calls napidisable() 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 ibmvethstartxmit().

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 setchannels() checks it instead of IFFUP.

The open() error-path leaks were fixed separately in net by commit af0524bf4ce1 ("ibmveth: hfree 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 ibmvethopen() 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.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Operational

    If the ibmveth interface is left unavailable after a failed reopen, run `ip link set dev eth1 up` to recover it.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203