CVE-2024-50136
net/mlx5: Unregister notifier on eswitch init failure
Mitigation
- Upgrade Linux to 6.6 or later.
Who should check
- Anyone running Linux >= 0aa1e83a20f12e9eaad32f72212ebc7fe0c29c95, < e58fb7ddbab6635191c26dea1af26b91cce00866; >= 7624e58a8b3a251e3e5108b32f2183b34453db32, < 9f2ccb6f3888bec45c00121ee43e4e72423b12c1; >= 7624e58a8b3a251e3e5108b32f2183b34453db32, < 599147722c5778c96292e2fbff4103abbdb45b1f; >= 7624e58a8b3a251e3e5108b32f2183b34453db32, < 1da9cfd6c41c2e6bbe624d0568644e1521c33e12; dc426bd9d813aa5754ce35adaa6f97f0585c06fc; >= 6.1.60, < 6.1.115; >= 6.5.9, < 6.6
- Anyone running Linux 6.6
Vulnerability facts
- Affected
- Linux >= 0aa1e83a20f12e9eaad32f72212ebc7fe0c29c95, < e58fb7ddbab6635191c26dea1af26b91cce00866; >= 7624e58a8b3a251e3e5108b32f2183b34453db32, < 9f2ccb6f3888bec45c00121ee43e4e72423b12c1; >= 7624e58a8b3a251e3e5108b32f2183b34453db32, < 599147722c5778c96292e2fbff4103abbdb45b1f; >= 7624e58a8b3a251e3e5108b32f2183b34453db32, < 1da9cfd6c41c2e6bbe624d0568644e1521c33e12; dc426bd9d813aa5754ce35adaa6f97f0585c06fc; >= 6.1.60, < 6.1.115; >= 6.5.9, < 6.6; Linux 6.6
- Fixed in
- Linux 9f2ccb6f3888bec45c00121ee43e4e72423b12c1, Linux 599147722c5778c96292e2fbff4103abbdb45b1f, Linux 1da9cfd6c41c2e6bbe624d0568644e1521c33e12, Linux 6.1.115, Linux 6.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Unregister notifier on eswitch init failure It otherwise remains registered and a subsequent attempt at eswitch enabling might trigger warnings of the sort: [ 682.589148] ------------[ cut here ]------------ [ 682.590204] notifier callback eswitch_vport_event [mlx5_core] already registered [ 682.590256] WARNING: CPU: 13 PID: 2660 at kernel/notifier.c:31 notifier_chain_register+0x3e/0x90 [...snipped] [ 682.610052] Call Trace: [ 682.610369] <TASK> [ 682.610663] ? __warn+0x7c/0x110 [ 682.611050] ? notifier_chain_register+0x3e/0x90 [ 682.611556] ? report_bug+0x148/0x170 [ 682.611977] ? handle_bug+0x36/0x70 [ 682.612384] ? exc_invalid_op+0x13/0x60 [ 682.612817] ? asm_exc_invalid_op+0x16/0x20 [ 682.613284] ? notifier_chain_register+0x3e/0x90 [ 682.613789] atomic_notifier_chain_register+0x25/0x40 [ 682.614322] mlx5_eswitch_enable_locked+0x1d4/0x3b0 [mlx5_core] [ 682.614965] mlx5_eswitch_enable+0xc9/0x100 [mlx5_core] [ 682.615551] mlx5_device_enable_sriov+0x25/0x340 [mlx5_core] [ 682.616170] mlx5_core_sriov_configure+0x50/0x170 [mlx5_core] [ 682.616789] sriov_numvfs_store+0xb0/0x1b0 [ 682.617248] kernfs_fop_write_iter+0x117/0x1a0 [ 682.617734] vfs_write+0x231/0x3f0 [ 682.618138] ksys_write+0x63/0xe0 [ 682.618536] do_syscall_64+0x4c/0x100 [ 682.618958] entry_SYSCALL_64_after_hwframe+0x4b/0x53
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 0aa1e83a20f12e9eaad32f72212ebc7fe0c29c95, < e58fb7ddbab6635191c26dea1af26b91cce00866; >= 7624e58a8b3a251e3e5108b32f2183b34453db32, < 9f2ccb6f3888bec45c00121ee43e4e72423b12c1; >= 7624e58a8b3a251e3e5108b32f2183b34453db32, < 599147722c5778c96292e2fbff4103abbdb45b1f; >= 7624e58a8b3a251e3e5108b32f2183b34453db32, < 1da9cfd6c41c2e6bbe624d0568644e1521c33e12; dc426bd9d813aa5754ce35adaa6f97f0585c06fc; >= 6.1.60, < 6.1.115; >= 6.5.9, < 6.6 | — | cvelist |
| Linux | 6.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-50136. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-50136.md Affected: Linux >= 0aa1e83a20f12e9eaad32f72212ebc7fe0c29c95, < e58fb7ddbab6635191c26dea1af26b91cce00866; >= 7624e58a8b3a251e3e5108b32f2183b34453db32, < 9f2ccb6f3888bec45c00121ee43e4e72423b12c1; >= 7624e58a8b3a251e3e5108b32f2183b34453db32, < 599147722c5778c96292e2fbff4103abbdb45b1f; >= 7624e58a8b3a251e3e5108b… Fixed in: Linux 9f2ccb6f3888bec45c00121ee43e4e72423b12c1, Linux 599147722c5778c96292e2fbff4103abbdb45b1f, Linux 1da9cfd6c41c2e6bbe624d0568644e1521c33e12, Linux 6.1.115, Linux 6.6 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2024-50136 being exploited?
There is no confirmed exploitation: CVE-2024-50136 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-50136?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-50136?
Linux >= 0aa1e83a20f12e9eaad32f72212ebc7fe0c29c95, < e58fb7ddbab6635191c26dea1af26b91cce00866; >= 7624e58a8b3a251e3e5108b32f2183b34453db32, < 9f2ccb6f3888bec45c00121ee43e4e72423b12c1; >= 7624e58a8b3a251e3e5108b32f2183b34453db32, < 599147722c5778c96292e2fbff4103abbdb45b1f; >= 7624e58a8b3a251e3e5108b32f2183b34453db32, < 1da9cfd6c41c2e6bbe624d0568644e1521c33e12; dc426bd9d813aa5754ce35adaa6f97f0585c06fc; >= 6.1.60, < 6.1.115; >= 6.5.9, < 6.6; Linux 6.6.
Is there a fix for CVE-2024-50136?
Yes. Fixed in Linux 9f2ccb6f3888bec45c00121ee43e4e72423b12c1, Linux 599147722c5778c96292e2fbff4103abbdb45b1f, Linux 1da9cfd6c41c2e6bbe624d0568644e1521c33e12, Linux 6.1.115, Linux 6.6. Upgrade Linux to 6.6 or later.
How do I check if I'm affected by CVE-2024-50136?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.