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:
<TASK>
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.
Published: 2026-09-25
Score: n/a
EPSS: n/a
KEV: No
Impact: Kernel crash due to unsynchronized devlink assertion
Action: Immediate Patch
AI Analysis

Impact

The defect originates in the Linux mlx5e driver where the representor vnic devlink health reporter is created and destroyed along the representor netdev load/unload path without serialization by the devlink instance lock. When the reporter is destroyed concurrently with driver unbind, the devl_assert_locked() routine triggers an assertion failure, producing a kernel warning and potentially a crash, resulting in loss of kernel stability and a denial‑of‑service condition for local privileged users.

Affected Systems

Both generic Linux kernel builds and those compiled with the mlx5e device driver are affected. The audit references commits applied around kernel 6.19, but the vulnerability existed prior to the patch that moves the reporter lifecycle to the eswitch devlink port. No specific version range is listed; any kernel prior to the inclusion of commit 7f26a5e8040b4957ef4dbdfcde6cc7ba2db53937 is potentially vulnerable.

Risk and Exploitability

EPSS is not available and the issue is not in the CISA KEV catalog. The CVSS score is not disclosed. Based on the description, it is inferred that a privileged user who can load or unload the mlx5e driver and trigger the representor netdev removal sequence is required to exploit this race condition. The lack of proper locking creates a race condition that can force the kernel to assert and crash. While the attack surface is limited to environments running affected drivers, the impact of a kernel panic is high; thus the risk is considered significant for vulnerable systems.

Generated by OpenCVE AI on September 25, 2026 at 19:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that incorporates commit 7f26a5e8040b4957ef4dbdfcde6cc7ba2db53937, which moves the representor vnic reporter lifecycle to the eswitch devlink port and eliminates the unsynchronized destructor path.
  • If an immediate kernel upgrade is not possible, temporarily disable or unload the mlx5e driver or associated vport representations to avoid triggering the unbind path that leads to the assertion.
  • Continuously monitor kernel logs for devl_assert_locked warning messages; if they appear, it indicates the vulnerability remains active and further remediation is required.

Generated by OpenCVE AI on September 25, 2026 at 19:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
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: <TASK> 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.
Title net/mlx5e: Move representor vnic reporter to eswitch devlink port
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-25T10:23:06.150Z

Reserved: 2026-09-25T10:18:58.206Z

Link: CVE-2026-97962

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:23.970

Modified: 2026-09-25T11:17:23.970

Link: CVE-2026-97962

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T19:30:20Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')