IB/IPoIB: Avoid restoring OPER_UP after multicast flush

Summary

CVECVE-2026-98347
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-06 09:18:27 UTC
Updated2026-10-19 10:18:37 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.001840000 probability, percentile 0.072960000 (date 2026-10-06)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 344bacca8cd811809fc33a249f2738ab757d327f f973769fb7cb33ba0d4a64b7dcfee0cabaead938 git Not specified
CNA Linux Linux affected 344bacca8cd811809fc33a249f2738ab757d327f b72f38929f4b5aa83161fd3b22a7327207e51ec5 git Not specified
CNA Linux Linux affected 344bacca8cd811809fc33a249f2738ab757d327f 1b11e4b55b41d9e69a8e8d07622614202e2eaca9 git Not specified
CNA Linux Linux affected 344bacca8cd811809fc33a249f2738ab757d327f 326f7d34bd7e64de535566b65c0533b640df5a81 git Not specified
CNA Linux Linux affected 344bacca8cd811809fc33a249f2738ab757d327f 5ad925d45f28464a5e043c9620880bb6a030da89 git Not specified
CNA Linux Linux affected 344bacca8cd811809fc33a249f2738ab757d327f 188b334a6db36a8e0bfaaf59bc4020639a0f3aad git Not specified
CNA Linux Linux affected 344bacca8cd811809fc33a249f2738ab757d327f 1ff3add37c329704ec46181b4ae4f00f9f16ce6f git Not specified
CNA Linux Linux affected 344bacca8cd811809fc33a249f2738ab757d327f 9a141d3dc869d18b2eab35e999f4790a9b84e40f git Not specified
CNA Linux Linux affected a289c65ca49d2680a3d797e633e57a45573d1df2 git Not specified
CNA Linux Linux affected b81459c78935e4579a577b2366c5f8878d3c7fee git Not specified
CNA Linux Linux affected 8a9d8dc9ce83a90bfbbe69181acc4cf1beff46f5 git Not specified
CNA Linux Linux affected dfe809702a11bd7fb91c882fb55620e39ce22109 git Not specified
CNA Linux Linux affected 87160fb51bc343793cc8f5f031a87f1a35aecb82 git Not specified
CNA Linux Linux affected 749fd55dd210f9676f0d445a6efaaa3bec65174a git Not specified
CNA Linux Linux affected 3.2.84 3.3 semver Not specified
CNA Linux Linux affected 3.10.105 3.11 semver Not specified
CNA Linux Linux affected 3.12.65 3.13 semver Not specified
CNA Linux Linux affected 3.16.39 3.17 semver Not specified
CNA Linux Linux affected 4.4.24 4.5 semver Not specified
CNA Linux Linux affected 4.7.7 4.8 semver Not specified
CNA Linux Linux affected 4.8 Not specified
CNA Linux Linux unaffected 4.8 semver Not specified
CNA Linux Linux unaffected 5.10.271 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.222 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.189 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.158 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.112 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.54 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.8 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/326f7d34bd7e64de535566b65c0533b640df5a81 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/188b334a6db36a8e0bfaaf59bc4020639a0f3aad 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5ad925d45f28464a5e043c9620880bb6a030da89 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b72f38929f4b5aa83161fd3b22a7327207e51ec5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f973769fb7cb33ba0d4a64b7dcfee0cabaead938 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1b11e4b55b41d9e69a8e8d07622614202e2eaca9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1ff3add37c329704ec46181b4ae4f00f9f16ce6f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9a141d3dc869d18b2eab35e999f4790a9b84e40f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report