Skip to main content

Linux Kernel CVE-2026-43012

| EUVDEUVD-2026-26611 MEDIUM
2026-05-01 Linux
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    User gains local shell access
  2. Delivery
    Execute devlink eswitch mode set command
  3. Exploit
    mlx5 driver initiates switchdev mode enablement
  4. Install
    QUERY_HCA_CAP firmware query fails
  5. C2
    Rollback logic triggered without setting MLX5_PRIV_FLAGS_SWITCH_LEGACY
  6. Execute
    Improper netdevice unregistration attempted
  7. Impact
    Kernel BUG assertion triggered
  8. Step 8
    Denial of service (system crash)

Vulnerability Assessment

Exploitation Conditions

Exploitation requires: (1) local system access with standard user privileges (PR:L per CVSS), (2) presence of a Mellanox mlx5 Ethernet network adapter with E-Switch capability, (3) ability to execute devlink commands to change eswitch mode (typically requires CAP_NET_ADMIN or sudo access, but some distributions may allow unprivileged users via devlink ACLs), and (4) hardware or firmware state that causes QUERY_HCA_CAP to return an error status (bad parameter) during switchdev mode initialization. Exploitation is NOT possible against default upstream kernel configurations without mlx5 hardware, and the specific failure condition (QUERY_HCA_CAP returning 0x3) may not occur on all mlx5 device variants. The vulnerability is local-only (AV:L) and cannot be triggered remotely or by anonymous users.

Impact

CVSS 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) indicates local unprivileged user can trigger high availability impact, but EPSS score of 0.02% (5th percentile) suggests very low real-world exploitation likelihood. CVSS vector confirms local-only attack surface (AV:L), low complexity exploitation (AC:L), and no privilege escalation needed beyond standard user (PR:L). The vulnerability is a logic error in a hardware driver error-handling path - exploitation requires: (1) presence of mlx5 Mellanox/NVIDIA NIC hardware, (2) ability to trigger E-Switch mode transitions (typically via devlink commands), and (3) specific firmware or hardware state that causes QUERY_HCA_CAP to fail. The low EPSS despite moderate CVSS reflects that triggering the exact failure condition is difficult and requires specialized hardware configuration. No active exploitation has been reported (KEV not listed), and the issue is a kernel panic (DoS) rather than code execution or data compromise.

Exploit ScenarioDerived

An unprivileged local user on a system with Mellanox mlx5 network hardware executes a devlink command to enable switchdev mode (e.g., via devlink eswitch set pci/0000:00:03.0 mode switchdev). If the hardware's QUERY_HCA_CAP firmware command fails (due to unsupported capabilities or hardware state), the mlx5 driver's rollback logic attempts to unregister the uplink representor netdevice without properly setting the legacy mode flag. This triggers a kernel BUG assertion, causing an immediate kernel panic and system crash (denial of service).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

A denial of service vulnerability in the Linux kernel's mlx5 (Mellanox/NVIDIA) network driver causes a kernel panic when switchdev mode initialization fails during rollback to legacy mode. A local unprivileged user on systems with affected mlx5 hardware can trigger improper netdevice unregistration, leading to a kernel BUG at net/core/dev.c:12070 and system crash. The vulnerability affects multiple stable kernel versions; vendor-released patches are available.

RemediationAI

Vendor-released patches are available in Linux kernel stable versions 6.12.81, 6.18.22, 6.19.12, and 7.0. Upgrade to these patched versions or apply the upstream fix commits (2ebb13f3e8be0b61f72425b34cce60c8b6ad1891, e27153b2bd6e6699b544ac4dfa35d167bed5e642, 4363698838b7ec6e8d85b179495889aa7e522f91, 403186400a1a6166efe7031edc549c15fee4723f) backported to your kernel branch. For systems with mlx5 hardware unable to update immediately, restrict devlink eswitch mode configuration via access control (e.g., limit devlink command execution to trusted administrators only via sudo or AppArmor) to prevent untrusted users from triggering E-Switch mode transitions. This mitigates the local attack surface but does not fix the underlying bug. Patches may be obtained from https://git.kernel.org/stable/ or through your Linux distribution's security update channels.

Affected VersionsENISA

Linux patch: 7.0
Linux patch: 6.19.12
Linux de85624c623dbb5fdb3ae7b08b66894a072c0cc0 <2ebb13f3e8be0b61f72425b34cce60c8b6ad1891
Linux patch: 6.12.81
Linux patch: 6.18.22
Linux 2a4f56fbcc473d8faeb29b73082df39efbe5893c <403186400a1a6166efe7031edc549c15fee4723f
Linux 2a4f56fbcc473d8faeb29b73082df39efbe5893c <4363698838b7ec6e8d85b179495889aa7e522f91
Linux 6.13
Linux patch: 0
Linux 2a4f56fbcc473d8faeb29b73082df39efbe5893c <e27153b2bd6e6699b544ac4dfa35d167bed5e642

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in the mlx5 Ethernet driver's E-Switch (embedded switch) subsystem, which manages switchdev mode for network offloading. The mlx5 driver uses internal flags like 'MLX5_PRIV_FLAGS_SWITCH_LEGACY' to track operational modes. When switchdev mode enablement fails (e.g., due to hardware capability queries failing with QUERY_HCA_CAP errors), the driver's rollback code path incorrectly attempts to unregister the uplink network device representor without properly signaling that legacy mode should be retained. This causes the kernel to attempt netdevice unregistration on a device already marked as unregistered, triggering a BUG_ON() assertion in unregister_netdevice_many_notify(). The fix requires setting the MLX5_PRIV_FLAGS_SWITCH_LEGACY flag during rollback to prevent improper device state transitions.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
CVSS changed
May 07, 2026 - 20:37 NVD
5.5 (MEDIUM)
Patch available
May 01, 2026 - 16:33 EUVD
Patch released
May 01, 2026 - 15:24 nvd
Patch available
CVE Published
May 01, 2026 - 14:15 nvd
MEDIUM 5.5
CVE Published
May 01, 2026 - 14:15 nvd
N/A

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: Fix switchdev mode rollback in case of failure

If for some internal reason switchdev mode fails, we rollback to legacy mode, before this patch, rollback will unregister the uplink netdev and leave it unregistered causing the below kernel bug.

To fix this, we need to avoid netdev unregister by setting the proper rollback flag 'MLX5_PRIV_FLAGS_SWITCH_LEGACY' to indicate legacy mode.

devlink (431) used greatest stack depth: 11048 bytes left mlx5_core 0000:00:03.0: E-Switch: Disable: mode(LEGACY), nvfs(0), \ necvfs(0), active vports(0) mlx5_core 0000:00:03.0: E-Switch: Supported tc chains and prios offload mlx5_core 0000:00:03.0: Loading uplink representor for vport 65535 mlx5_core 0000:00:03.0: mlx5_cmd_out_err:816:(pid 456): \ QUERY_HCA_CAP(0x100) op_mod(0x0) failed, \ status bad parameter(0x3), syndrome (0x3a3846), err(-22) mlx5_core 0000:00:03.0 enp0s3np0 (unregistered): Unloading uplink \ representor for vport 65535 ------------[ cut here ]------------ kernel BUG at net/core/dev.c:12070! Oops: invalid opcode: 0000 [#1] SMP NOPTI CPU: 2 UID: 0 PID: 456 Comm: devlink Not tainted 6.16.0-rc3+ \ #9 PREEMPT(voluntary) RIP: 0010:unregister_netdevice_many_notify+0x123/0xae0 ... Call Trace: [ 90.923094] unregister_netdevice_queue+0xad/0xf0 [ 90.923323] unregister_netdev+0x1c/0x40 [ 90.923522] mlx5e_vport_rep_unload+0x61/0xc6 [ 90.923736] esw_offloads_enable+0x8e6/0x920 [ 90.923947] mlx5_eswitch_enable_locked+0x349/0x430 [ 90.924182] ? is_mp_supported+0x57/0xb0 [ 90.924376] mlx5_devlink_eswitch_mode_set+0x167/0x350 [ 90.924628] devlink_nl_eswitch_set_doit+0x6f/0xf0 [ 90.924862] genl_family_rcv_msg_doit+0xe8/0x140 [ 90.925088] genl_rcv_msg+0x18b/0x290 [ 90.925269] ? __pfx_devlink_nl_pre_doit+0x10/0x10 [ 90.925506] ? __pfx_devlink_nl_eswitch_set_doit+0x10/0x10 [ 90.925766] ? __pfx_devlink_nl_post_doit+0x10/0x10 [ 90.926001] ? __pfx_genl_rcv_msg+0x10/0x10 [ 90.926206] netlink_rcv_skb+0x52/0x100 [ 90.926393] genl_rcv+0x28/0x40 [ 90.926557] netlink_unicast+0x27d/0x3d0 [ 90.926749] netlink_sendmsg+0x1f7/0x430 [ 90.926942] __sys_sendto+0x213/0x220 [ 90.927127] ? __sys_recvmsg+0x6a/0xd0 [ 90.927312] __x64_sys_sendto+0x24/0x30 [ 90.927504] do_syscall_64+0x50/0x1c0 [ 90.927687] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 90.927929] RIP: 0033:0x7f7d0363e047

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy