CVE-2026-139238

ibmveth: disable the reset work before unregister in remove

Published Nov 30, 2026 CVSS 3.1 · 4.1 Medium EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ibmveth: disable the reset work before unregister in remove

ibmveth_remove() cancels the reset work before unregister_netdev(),
but NAPI keeps running until unregister closes the device and can
queue the reset again, on an interrupt enable failure, a bad
free_map entry or a bad RX slot. The reset can then run on the
adapter after free_netdev(), or reopen the device during unregister.

Use disable_work_sync(), which waits for a running reset and keeps
the work from being queued again. A bad RX slot also makes poll
spin, which can stall unregister; a later patch in this series
fixes that.

Found in review of the ibmveth multi-queue RX series and confirmed by
code inspection; it was not reproduced. Tested on a POWER10 LPAR with
unbind and bind cycles under traffic. No kernel selftests cover ibmveth.

Analysis

AI-generated

Technical impact

The Linux kernel’s ibmveth driver contains a race condition in the ibmveth_remove() routine. When a network interface is unregistered, the reset work is cancelled, but NAPI can still be running and may queue a reset after unregister_netdev() and the device is already freed or being shut down. If a reset is queued, it can execute on a device that no longer exists or attempt to reopen the interface during unregistration, triggering a kernel panic or reboot. This reflects a classic use‑after‑free scenario where an interrupt enable failure, a bad free_map entry or a bad RX slot could provoke the inappropriate reset. The weakness is classified as CWE‑416, a use‑after‑free flaw.

Affected Systems

The affected systems are Linux kernel installations that include the IBM virtual Ethernet (ibmveth) driver, such as Power‑based servers running the legacy ibmveth implementation. The discovery was made during a review of the ibmveth multi‑queue RX code and is relevant to any kernel that contains the older ibmveth code before the patch is applied; specific kernel version ranges are not listed in the advisory.

Risk and Exploitability

The EPSS score is unavailable and the vulnerability is not listed in CISA’s KEV catalog, indicating no public exploitation evidence to date. Nonetheless, the flaw requires local or privileged access to trigger the removal of an active ibmveth interface, a scenario that may be feasible for a user with administrative privileges. The impact can be a kernel crash leading to a denial of service. Given the severity of a kernel panic and the local privilege requirement, the risk is considered high but the likelihood of exploitation remains low without evidence of active attacks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that incorporates the fix, which uses disable_work_sync in ibmveth_remove() to prevent the reset from being queued after device removal.
  • If an updated kernel is unavailable, avoid unbinding or removing ibmveth interfaces while they are handling traffic; stop all RX/NAPI queues and disable any pending work before initiating removal.
  • Monitor kernel logs for messages such as "ibmveth: reset" or unexpected kernel panics; if such events occur, perform an immediate system reboot or reload the affected driver to restore stability.

Generated by OpenCVE AI on December 1, 2026 at 08:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ibmveth: disable the reset work before unregister in remove ibmveth_remove() cancels the reset work before unregister_netdev(), but NAPI keeps running until unregister closes the device and can queue the reset again, on an interrupt enable failure, a bad free_map entry or a bad RX slot. The reset can then run on the adapter after free_netdev(), or reopen the device during unregister. Use disable_work_sync(), which waits for a running reset and keeps the work from being queued again. A bad RX slot also makes poll spin, which can stall unregister; a later patch in this series fixes that. Found in review of the ibmveth multi-queue RX series and confirmed by code inspection; it was not reproduced. Tested on a POWER10 LPAR with unbind and bind cycles under traffic. No kernel selftests cover ibmveth.
Title ibmveth: disable the reset work before unregister in remove
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:32 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:32 PM