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 7A68B3750CB for ; Fri, 25 Sep 2026 10:30:23 +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=1790332224; cv=none; b=tuR8PA1OvawMHEQgzfafqev/FFk2oDIqQhXsf2JU6fNz0bs+Aay9vYOhVTr6QE4DiM9jhLKdB+S4HzZ5ea/eXVOcl7eU/9eJg36EvGqdNVXQaGzqeB2WPeWlaphSrKieRUfAOj8J4WvIbYmDU1lacSh01hcoAOAe90Ts2uKIuPo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332224; c=relaxed/simple; bh=kGBOG53sIdTI3I01niVMww+xyHKNIeElDj/cTjy1fwg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Th+UYlzkgdTNA5vEgFtnHI+tae/IUs5lH1gufh43O4TYO6saoEDJMsaM0SoPXmj3NkjG5K8uR3s5Z9V8Bx0m68eAZmvn/8wmiATKGFUpRG1EsSFSUu1H7qn5Qun3LFL6icoiMEkRoY8oIOYS+JTcada9Z5ftVFJYw/dv3GaDNgo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UrGnOOoP; 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="UrGnOOoP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D444C1F00893; Fri, 25 Sep 2026 10:30:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332223; bh=aEFlyuuZfuTYaNFLIPag37TF0LGp4bp1F/CuUHXqU5c=; h=From:To:Cc:Subject:Date:Reply-To; b=UrGnOOoP7+ZwJAl8uBqtEMZwhruxjIGiiGlJoovi7Ou+FqOyJ67K9ExQJ0m+8DUJi 0M8+367mo6nuVPIwclrD96VolJ5s5wfw4Aa9JK+WMC6vjJLwWDA+6ur8xvv9mFnJsl 8f5ymBwqi0DA28+d33cqc1XZrPvZvQfGmzeJLOdQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97962: net/mlx5e: Move representor vnic reporter to eswitch devlink port Date: Fri, 25 Sep 2026 12:24:25 +0200 Message-ID: <2026092516-CVE-2026-97962-1abf@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=3571; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JW5BN/XTOmZN3ax5ibX4nda9APhuQBN1JIOO3LeWxz8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvCPSb7zm/bwjZxpjprGoLc+OqAUhWvuYzjy5E6X24 f2VA8s7OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiaawM87S4bBh05PXyW111 Drt+M96hyCYsz7Dg8o9tS3eJ//sY+Pf0QynJ53dud72aBQA= 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: Move representor vnic reporter to eswitch devlink port The representor vnic devlink health reporter is created and destroyed along the representor netdev (un)load path, which is not serialized by the devlink instance lock. Destroying the reporter from there triggers a devl_assert_locked() splat on driver unbind: WARNING: net/devlink/core.c:259 at devl_assert_locked+0x54/0x70, CPU#2: bash/3758 Modules linked in: mlx5_vdpa vringh vdpa mlx5_ib mlx5_fwctl mlx5_core ... CPU: 2 UID: 0 PID: 3758 Comm: bash Tainted: G W 6.19.0+ #1 PREEMPT Tainted: [W]=WARN Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), ... RIP: 0010:devl_assert_locked+0x54/0x70 Call Trace: devl_health_reporter_destroy+0x3a/0x1b0 mlx5e_vport_rep_unload+0x12d/0x2b0 [mlx5_core] mlx5_eswitch_unregister_vport_reps+0x1b8/0x220 [mlx5_core] ? __esw_offloads_unload_rep+0x190/0x190 [mlx5_core] ? kernfs_remove_by_name_ns+0xc3/0xf0 device_release_driver_internal+0x3b2/0x560 unbind_store+0xce/0xf0 Move the reporter's lifecycle to the eswitch devlink port (un)register paths, which are already serialized by the devlink instance lock, and store the handle on mlx5_devlink_port. Use the port's mlx5_vport as the reporter priv since the diagnose callback only needs a device handle and a vport number, and mlx5_vport carries both and is initialized before any representor driver probes. The Linux kernel CVE team has assigned CVE-2026-97962 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit cf14af140a5ad0937d385ce693100f33f02e9c54 and fixed in 6.18.53 with commit dcaba72c85c14fe7393a59d61695941e6ccbd7d7 Issue introduced in 6.4 with commit cf14af140a5ad0937d385ce693100f33f02e9c54 and fixed in 7.2.7 with commit d1fcff9b39bac188ef62a77ebd176484be928ec2 Issue introduced in 6.4 with commit cf14af140a5ad0937d385ce693100f33f02e9c54 and fixed in 7.3-rc3 with commit 7f26a5e8040b4957ef4dbdfcde6cc7ba2db53937 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-97962 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_rep.c drivers/net/ethernet/mellanox/mlx5/core/en_rep.h drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c drivers/net/ethernet/mellanox/mlx5/core/eswitch.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/dcaba72c85c14fe7393a59d61695941e6ccbd7d7 https://git.kernel.org/stable/c/d1fcff9b39bac188ef62a77ebd176484be928ec2 https://git.kernel.org/stable/c/7f26a5e8040b4957ef4dbdfcde6cc7ba2db53937