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

IB/IPoIB: Avoid restoring OPER_UP after multicast flush

ipoib_ib_dev_flush_light() temporarily clears IPOIB_FLAG_OPER_UP to
prevent multicast joins while ipoib_mcast_dev_flush() is running, and
restores the flag afterwards if it was previously set.

This restore races with ipoib_ib_dev_down(). If the interface is brought
down while the flush is in progress, ipoib_ib_dev_down() clears
IPOIB_FLAG_OPER_UP, but the flush path may set it again after the device
has already gone down.

Since commit 894021a75291 ("IB/ipoib: Make the carrier_on_task race
aware"), ipoib_mcast_carrier_on_task() relies on IPOIB_FLAG_OPER_UP
being cleared to terminate its rtnl_trylock() retry loop. If the flag is
left set after shutdown, the workqueue retries forever, causing teardown
to deadlock when ipoib_ndo_uninit() waits in destroy_workqueue() while
holding RTNL.

Instead of overloading IPOIB_FLAG_OPER_UP to block multicast joins
during a light flush, introduce a dedicated IPOIB_FLAG_MCAST_FLUSH flag.
Use it together with IPOIB_FLAG_OPER_UP to determine whether multicast
joins are allowed, avoiding the race with device shutdown.
Published: 2026-10-06
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

In the Linux kernel, the IPoIB (Internet Protocol over InfiniBand) driver contains a race condition that occurs during a multicast flush operation. The flush temporarily clears the IPOIB_FLAG_OPER_UP flag to block multicast joins and restores it afterwards. If an interface is brought down while the flush is executing, the down routine clears the flag, but the flush may restore it again after the device has already been deactivated. This restores the flag out of sync with the device state, causing the workqueue that handles carrier transitions to retry indefinitely and deadlock the teardown process. The flaw is a race condition involving driver state flags and results in a permanent denial of Service for the IPoIB subsystem.

Affected Systems

The vulnerability affects all Linux kernel distributions that include the legacy IPoIB implementation before the inclusion of commit 894021a75291, which introduced a dedicated IPOIB_FLAG_MCAST_FLUSH flag. Any kernel version that has not applied this commit is potentially vulnerable, regardless of the distribution or specific patch level.

Risk and Exploitability

The CVSS score is 7.0, indicating a medium‑to‑high severity. The EPSS score is below 1 %, indicating a low probability of exploitation in the wild, and the issue is not listed in the CISA KEV catalog. The likely attack vector is local or privileged access that can bring an IPoIB interface down while a multicast flush is in progress. Based on the description, it is inferred that an attacker would need to trigger the race condition to cause a permanent denial of Service. Once the race is triggered, the system may deadlock until a kernel upgrade is performed.

Generated by OpenCVE AI on October 11, 2026 at 06:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes commit 894021a75291, which removes the race by introducing a dedicated IPOIB_FLAG_MCAST_FLUSH flag.
  • If a kernel upgrade cannot be performed immediately, ensure that IPoIB interfaces are not brought down while a multicast flush is in progress; coordinate shutdowns to avoid the race.
  • Monitor kernel logs for repeated rtnl_trylock retries or workqueue stalls in the IPoIB driver and schedule an upgrade as soon as the fix is available.

Generated by OpenCVE AI on October 11, 2026 at 06:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
History

Sun, 11 Oct 2026 05:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-899

Sun, 11 Oct 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-899

Sun, 11 Oct 2026 03:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-899

Sun, 11 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-833
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Wed, 07 Oct 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-899

Tue, 06 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-682

Tue, 06 Oct 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-682

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: IB/IPoIB: Avoid restoring OPER_UP after multicast flush ipoib_ib_dev_flush_light() temporarily clears IPOIB_FLAG_OPER_UP to prevent multicast joins while ipoib_mcast_dev_flush() is running, and restores the flag afterwards if it was previously set. This restore races with ipoib_ib_dev_down(). If the interface is brought down while the flush is in progress, ipoib_ib_dev_down() clears IPOIB_FLAG_OPER_UP, but the flush path may set it again after the device has already gone down. Since commit 894021a75291 ("IB/ipoib: Make the carrier_on_task race aware"), ipoib_mcast_carrier_on_task() relies on IPOIB_FLAG_OPER_UP being cleared to terminate its rtnl_trylock() retry loop. If the flag is left set after shutdown, the workqueue retries forever, causing teardown to deadlock when ipoib_ndo_uninit() waits in destroy_workqueue() while holding RTNL. Instead of overloading IPOIB_FLAG_OPER_UP to block multicast joins during a light flush, introduce a dedicated IPOIB_FLAG_MCAST_FLUSH flag. Use it together with IPOIB_FLAG_OPER_UP to determine whether multicast joins are allowed, avoiding the race with device shutdown.
Title IB/IPoIB: Avoid restoring OPER_UP after multicast flush
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:17:58.195Z

Reserved: 2026-09-25T10:25:14.343Z

Link: CVE-2026-98347

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:18:27.773

Modified: 2026-10-19T10:18:37.207

Link: CVE-2026-98347

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98347 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-11T06:30:13Z

Weaknesses