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 BC9E0372ECF for ; Sat, 15 Aug 2026 06:23:30 +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=1786775011; cv=none; b=CLEZP69yEjRaWi6Q11vAlGWp+D8MdYPbX42GDnAVFnSMFMwKcn2MiqtyLVPn6ZAYHp/A39dVfskWJr4LevNdOHfoo7wFL7kaxvWYHn50df0XX+WPTXUUEWqliFpR8t52KCVNYyosNRIhdxb4p/k+9HBBRSlTbp+STqNuOpd0QOk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775011; c=relaxed/simple; bh=w9LQvdsRgcA6WuUN0KDLYcjjLVMspkdwiXC5Kz2LABY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CvymrI9Bpi6LyZK5eST36OcYwERK0h3SS+ivtEfRLhQ2tK6oPOTmWnM+Y2Imx4VpvQmZLxcGbIUrDhrSkpee3OE0j5hFJm6laQpwpvg4bGm/0iOiO49fZV/rMbeTuptzXeZDG8gHMXRqquS0pqYGWWwmQ7teZXEoicZTVFp0ECg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tDBkeapo; 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="tDBkeapo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF3BC1F00A3A; Sat, 15 Aug 2026 06:23:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775010; bh=VOi0cS6cTvX2pt3m2Ssoa9i1qnQUeMn2fFvIyOZfn74=; h=From:To:Cc:Subject:Date:Reply-To; b=tDBkeapovOsS63yvvGJqKqcbAYK4qIUcNTZzD7I6d+Sy7w0zAA+t6AAh0zMSMfzI0 81brj1qc/c1YfjGZ+V+iOkwbYp4jFJd0A0OFRK0+oWdAy1/S9c9G/8L0rbBxwBxW3x ii0+rOLs3levm47GuV3UMAEGV9oJVhFXl7bIbueM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72344: net/mlx5e: TC, skip peer flow cleanup when LAG seq is unavailable Date: Sat, 15 Aug 2026 15:07:03 +0900 Message-ID: <2026081510-CVE-2026-72344-6b98@gregkh> X-Mailer: git-send-email 2.55.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=3293; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xzrSSlgv5b82B6wtzHIRud0GQXYq0Pycc3SDDM+wHDw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDI/nb4j7NcN7wc69Z7M/bXLf9/Tc1r+90yZ6qFlf+ ven7N2Eno5YFgZBJgZZMUWWL9t4ju6vOKToZWh7GmYOKxPIEAYuTgGYyOfPDAvWTmkV+VY37e8P GVN5dZv3B/d5HJdnmO/3ztKvRlyUf5/KNvPsV1xXn9t5+AIA 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: net/mlx5e: TC, skip peer flow cleanup when LAG seq is unavailable mlx5_lag_get_dev_seq() will return error when the peer isn't in the LAG or when no device is marked as master. Result bad memory access and kernel crash[1]. Hence, skip the peer when lookup fails. Note: In case there are peer flows, they are cleaned before LAG cleared the master mark. [1] RIP: 0010:mlx5e_tc_del_fdb_peers_flow+0x3d/0x350 [mlx5_core] Call Trace: mlx5e_tc_clean_fdb_peer_flows+0xc1/0x130 [mlx5_core] mlx5_esw_offloads_unpair+0x3a/0x400 [mlx5_core] mlx5_esw_offloads_devcom_event+0xee/0x360 [mlx5_core] mlx5_devcom_send_event+0x7a/0x140 [mlx5_core] mlx5_esw_offloads_devcom_cleanup+0x2f/0x90 [mlx5_core] mlx5e_tc_esw_cleanup+0x28/0xf0 [mlx5_core] mlx5e_rep_tc_cleanup+0x19/0x30 [mlx5_core] mlx5e_cleanup_uplink_rep_tx+0x36/0x40 [mlx5_core] mlx5e_cleanup_rep_tx+0x55/0x60 [mlx5_core] mlx5e_detach_netdev+0x96/0xf0 [mlx5_core] mlx5e_netdev_change_profile+0x5b/0x120 [mlx5_core] mlx5e_netdev_attach_nic_profile+0x1b/0x30 [mlx5_core] mlx5e_vport_rep_unload+0xdd/0x110 [mlx5_core] __esw_offloads_unload_rep+0x81/0xb0 [mlx5_core] mlx5_eswitch_unregister_vport_reps+0x1d7/0x220 [mlx5_core] mlx5e_rep_remove+0x22/0x30 [mlx5_core] device_release_driver_internal+0x194/0x1f0 bus_remove_device+0xe8/0x1b0 device_del+0x159/0x3c0 mlx5_rescan_drivers_locked+0xbc/0x2d0 [mlx5_core] mlx5_unregister_device+0x54/0x80 [mlx5_core] mlx5_uninit_one+0x73/0x130 [mlx5_core] remove_one+0x78/0xe0 [mlx5_core] pci_device_remove+0x39/0xa0 The Linux kernel CVE team has assigned CVE-2026-72344 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit 971b28accc09436fe6a6d5afd667dcbfb3ed7e03 and fixed in 7.1.5 with commit 5a95aa0198af75047d98fb72950642c89dab770f Issue introduced in 7.1 with commit 971b28accc09436fe6a6d5afd667dcbfb3ed7e03 and fixed in 7.2-rc3 with commit 7bed4af0ced82948d660205efecd551ef8bc3912 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-72344 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/net/ethernet/mellanox/mlx5/core/en_tc.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/5a95aa0198af75047d98fb72950642c89dab770f https://git.kernel.org/stable/c/7bed4af0ced82948d660205efecd551ef8bc3912