IB/IPoIB: Avoid restoring OPER_UP after multicast flush (Linux Linux)

CVE-2026-98347
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.18 % · centile 7 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 344bacca8cd811809fc33a249f2738ab757d327f < f973769fb7cb33ba0d4a64b7dcfee0cabaead938 ; affected 344bacca8cd811809fc33a249f2738ab757d327f < b72f38929f4b5aa83161fd3b22a7327207e51ec5 ; affected 344bacca8cd811809fc33a249f2738ab757d327f < 1b11e4b55b41d9e69a8e8d07622614202e2eaca9 ; affected 344bacca8cd811809fc33a249f2738ab757d327f < 326f7d34bd7e64de535566b65c0533b640df5a81 ; affected 344bacca8cd811809fc33a249f2738ab757d327f < 5ad925d45f28464a5e043c9620880bb6a030da89 ; affected 344bacca8cd811809fc33a249f2738ab757d327f < 188b334a6db36a8e0bfaaf59bc4020639a0f3aad
Linux · Linuxaffected 4.8 ; unaffected 0 < 4.8 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD