Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4BD133E2742 for ; Tue, 6 Oct 2026 10:29:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282556; cv=none; b=RYHTj1RpS4lpEXV+6bgef+My7TQTKwaTh387qahxqrwRZRE9Hysk410ouJPWZYaIuDWQI69LER1QDQno//Ssa7I/G4Z0IfSQXvgDbKHFhBHZK8CM+ckhf2rM02fW9D8SoBV+EgXjaWC1iOaNYhAMK+CPuKwEBAHxZpD86vC7HlI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282556; c=relaxed/simple; bh=x9shEqHMHFL1FGRe6g+ysZU8W1h8aCzzgaT2F16w/Pk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O0qHASIBs+VkLbSI8dke1lyhiw3+/HsAPPmP84U1OQ8MEOB6032xD+SV89Bh5dUNRva60nZRk2kQkOYfR2aEJKfDpA4cBrPWom7SOmpzTv6eyh5jGRvR5vRR89I5ZgPih3F/bfvZ/keV4kl2j8GqVks30NJVR+oLRYACz+I8pjo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yJVdKjVn; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="yJVdKjVn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB5951F000FF; Tue, 6 Oct 2026 10:29:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282554; bh=aVzhCyeD4kXRIRNbesKP7gR3bSlKUvfxtKP4ocfY4bY=; h=From:To:Cc:Subject:Date:Reply-To; b=yJVdKjVnCT4gYwFDgiREsOLXEU/wGj9bA31U5bcEiwao+vVJDlhf+6Eg4sALeS8Cr 35y9xpsJTx+ml6WewUxNh790npO5oMCTTbE0gwv4IuKX7KJ0Tu1TKJ9NhZFKcTaTl/ yqw/TN10gyEcrFA+M7TjqTGbM8jChTjU30c0r4Cs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98347: IB/IPoIB: Avoid restoring OPER_UP after multicast flush Date: Tue, 6 Oct 2026 10:47:28 +0200 Message-ID: <2026100618-CVE-2026-98347-8a5c@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4816; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zihDotFk79ITWwR93HnHNsl6Uc3FPz7tEW+njV5uWdM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtsqtmZzS8ZppTeCp9LYVmSqe1mxmOloyKrMlthd+u lOWzLK/I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaS0s8wT+XKngUBkvyBpger L/zeaLlyH8MkUYYFPd9jOjr4Za8u2v8lrDtUvENn8kNWAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-98347 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 344bacca8cd811809fc33a249f2738ab757d327f and fixed in 5.10.271 with commit f973769fb7cb33ba0d4a64b7dcfee0cabaead938 Issue introduced in 4.8 with commit 344bacca8cd811809fc33a249f2738ab757d327f and fixed in 5.15.222 with commit b72f38929f4b5aa83161fd3b22a7327207e51ec5 Issue introduced in 4.8 with commit 344bacca8cd811809fc33a249f2738ab757d327f and fixed in 6.1.189 with commit 1b11e4b55b41d9e69a8e8d07622614202e2eaca9 Issue introduced in 4.8 with commit 344bacca8cd811809fc33a249f2738ab757d327f and fixed in 6.6.158 with commit 326f7d34bd7e64de535566b65c0533b640df5a81 Issue introduced in 4.8 with commit 344bacca8cd811809fc33a249f2738ab757d327f and fixed in 6.12.112 with commit 5ad925d45f28464a5e043c9620880bb6a030da89 Issue introduced in 4.8 with commit 344bacca8cd811809fc33a249f2738ab757d327f and fixed in 6.18.54 with commit 188b334a6db36a8e0bfaaf59bc4020639a0f3aad Issue introduced in 4.8 with commit 344bacca8cd811809fc33a249f2738ab757d327f and fixed in 7.2.8 with commit 1ff3add37c329704ec46181b4ae4f00f9f16ce6f Issue introduced in 4.8 with commit 344bacca8cd811809fc33a249f2738ab757d327f and fixed in 7.3-rc4 with commit 9a141d3dc869d18b2eab35e999f4790a9b84e40f Issue introduced in 3.2.84 with commit a289c65ca49d2680a3d797e633e57a45573d1df2 Issue introduced in 3.10.105 with commit b81459c78935e4579a577b2366c5f8878d3c7fee Issue introduced in 3.12.65 with commit 8a9d8dc9ce83a90bfbbe69181acc4cf1beff46f5 Issue introduced in 3.16.39 with commit dfe809702a11bd7fb91c882fb55620e39ce22109 Issue introduced in 4.4.24 with commit 87160fb51bc343793cc8f5f031a87f1a35aecb82 Issue introduced in 4.7.7 with commit 749fd55dd210f9676f0d445a6efaaa3bec65174a Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98347 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/infiniband/ulp/ipoib/ipoib.h drivers/infiniband/ulp/ipoib/ipoib_ib.c drivers/infiniband/ulp/ipoib/ipoib_multicast.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/f973769fb7cb33ba0d4a64b7dcfee0cabaead938 https://git.kernel.org/stable/c/b72f38929f4b5aa83161fd3b22a7327207e51ec5 https://git.kernel.org/stable/c/1b11e4b55b41d9e69a8e8d07622614202e2eaca9 https://git.kernel.org/stable/c/326f7d34bd7e64de535566b65c0533b640df5a81 https://git.kernel.org/stable/c/5ad925d45f28464a5e043c9620880bb6a030da89 https://git.kernel.org/stable/c/188b334a6db36a8e0bfaaf59bc4020639a0f3aad https://git.kernel.org/stable/c/1ff3add37c329704ec46181b4ae4f00f9f16ce6f https://git.kernel.org/stable/c/9a141d3dc869d18b2eab35e999f4790a9b84e40f