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 7218F3FD970 for ; Wed, 27 May 2026 12:26:39 +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=1779884800; cv=none; b=KAhQCFRKviKhBICZkgHCofxeeJE9c7TCVUS9Xf0PTDVD2gEAnwwsb4J6qKB7cnePWJnloqHARXID/o1oKT1r/EbMcK3xpTa7vBNl+LN8pM9smlyqvonlqPY4+ZiwqNgoewLIZ+2Au19F9ICYs5W4o1aIcMTxZwzqexeeXe6DNSI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884800; c=relaxed/simple; bh=LqB9Ft9Dk/c+cJ4fBUzZfM09mVuHbkmrpYGrcwPUKrI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WjO5Z/dY3LH3CvqWKM6PCE4VxzZr3tD3i0DE3Q0xbIarjMtqMHuQ2uIr/en5k1S3DOpis3qNtgYmhnXPQBHlcKB2R5oJKkBiKjO8eSuoq8TEsAqBc1Gyu6rrmsUt8N+UCP7YjCrJRCCFjkVidRewCNdt1eFlDe0jPs0oZqbndwA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nW7REMdP; 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="nW7REMdP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1CB11F000E9; Wed, 27 May 2026 12:26:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884799; bh=VROzYyusKAQXUZszZCTbJs3Ij6D9kLTvlZQkn4CYM10=; h=From:To:Cc:Subject:Date:Reply-To; b=nW7REMdPcmZkU+MYYP6GbeItTjLX/c+hrN/17AgmMo+5T5qeIzO/vjfBrOe7X2C0e OEcQrPh75RKrGtmS0VMB7fueLSeML6zbfn4A3DruddTP+BUrayxPRGdmz1z6ycGfAJ QQ5K8jMXo9RhDEBVPmoCjXzxQ3qwxKZ2+JrCzJjY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45973: RDMA/mlx5: Fix UMR hang in LAG error state unload Date: Wed, 27 May 2026 14:20:15 +0200 Message-ID: <2026052736-CVE-2026-45973-7864@gregkh> X-Mailer: git-send-email 2.54.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=4537; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=O6ETU2l6LXKaasj+45DX2AKV16YulIwt8u5POxI2JeY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliD2WslGYutRRienxjd8Ifs91bTJtLfv9nNU58ILS8l Ynvt7dNRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkVJNhnkXV7hv7VHuZ2P09 f69/W6kUFeykwzBXjkMkQTKD6XlwR/GcMz/1799nS7AFAA== 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: RDMA/mlx5: Fix UMR hang in LAG error state unload During firmware reset in LAG mode, a race condition causes the driver to hang indefinitely while waiting for UMR completion during device unload. See [1]. In LAG mode the bond device is only registered on the master, so it never sees sys_error events from the slave. During firmware reset this causes UMR waits to hang forever on unload as the slave is dead but the master hasn't entered error state yet, so UMR posts succeed but completions never arrive. Fix this by adding a sys_error notifier that gets registered before MLX5_IB_STAGE_IB_REG and stays alive until after ib_unregister_device(). This ensures error events reach the bond device throughout teardown. [1] Call Trace: __schedule+0x2bd/0x760 schedule+0x37/0xa0 schedule_preempt_disabled+0xa/0x10 __mutex_lock.isra.6+0x2b5/0x4a0 __mlx5_ib_dereg_mr+0x606/0x870 [mlx5_ib] ? __xa_erase+0x4a/0xa0 ? _cond_resched+0x15/0x30 ? wait_for_completion+0x31/0x100 ib_dereg_mr_user+0x48/0xc0 [ib_core] ? rdmacg_uncharge_hierarchy+0xa0/0x100 destroy_hw_idr_uobject+0x20/0x50 [ib_uverbs] uverbs_destroy_uobject+0x37/0x150 [ib_uverbs] __uverbs_cleanup_ufile+0xda/0x140 [ib_uverbs] uverbs_destroy_ufile_hw+0x3a/0xf0 [ib_uverbs] ib_uverbs_remove_one+0xc3/0x140 [ib_uverbs] remove_client_context+0x8b/0xd0 [ib_core] disable_device+0x8c/0x130 [ib_core] __ib_unregister_device+0x10d/0x180 [ib_core] ib_unregister_device+0x21/0x30 [ib_core] __mlx5_ib_remove+0x1e4/0x1f0 [mlx5_ib] auxiliary_bus_remove+0x1e/0x30 device_release_driver_internal+0x103/0x1f0 bus_remove_device+0xf7/0x170 device_del+0x181/0x410 mlx5_rescan_drivers_locked.part.10+0xa9/0x1d0 [mlx5_core] mlx5_disable_lag+0x253/0x260 [mlx5_core] mlx5_lag_disable_change+0x89/0xc0 [mlx5_core] mlx5_eswitch_disable+0x67/0xa0 [mlx5_core] mlx5_unload+0x15/0xd0 [mlx5_core] mlx5_unload_one+0x71/0xc0 [mlx5_core] mlx5_sync_reset_reload_work+0x83/0x100 [mlx5_core] process_one_work+0x1a7/0x360 worker_thread+0x30/0x390 ? create_worker+0x1a0/0x1a0 kthread+0x116/0x130 ? kthread_flush_work_fn+0x10/0x10 ret_from_fork+0x22/0x40 The Linux kernel CVE team has assigned CVE-2026-45973 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.2 with commit 6b0acf6a94c31efa43fce4edc22413a3390f9c05 and fixed in 6.12.75 with commit c8fb5c965ac7d0104872a8e4f6451f3bc6328199 Issue introduced in 6.13 with commit ede132a5cf559f3ab35a4c28bac4f4a6c20334d8 and fixed in 6.18.14 with commit 6d838873da9cb97551d42316967cc82bf8f8031b Issue introduced in 6.13 with commit ede132a5cf559f3ab35a4c28bac4f4a6c20334d8 and fixed in 6.19.4 with commit 613f5d4139b6ba801ccd93f9a28943be60d903bc Issue introduced in 6.13 with commit ede132a5cf559f3ab35a4c28bac4f4a6c20334d8 and fixed in 7.0 with commit ebc2164a4cd4314503f1a0c8e7aaf76d7e5fa211 Issue introduced in 6.6.64 with commit 921fcf2971a1e8d3b904ba2c2905b96f4ec3d4ad Issue introduced in 6.11.11 with commit 542bd62b7a7f37182c9ef192c2bd25d118c144e4 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-45973 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/hw/mlx5/main.c drivers/infiniband/hw/mlx5/mlx5_ib.h 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/c8fb5c965ac7d0104872a8e4f6451f3bc6328199 https://git.kernel.org/stable/c/6d838873da9cb97551d42316967cc82bf8f8031b https://git.kernel.org/stable/c/613f5d4139b6ba801ccd93f9a28943be60d903bc https://git.kernel.org/stable/c/ebc2164a4cd4314503f1a0c8e7aaf76d7e5fa211