CVE-2023-52658: Linux kernel mlx5 switchdev mode crash
- Vendor
- Linux
CVE-2023-52658 affects the Linux kernel Mellanox mlx5 driver's switchdev offload implementation. A change intended to prevent entry into switchdev mode when network namespace inconsistencies exist was suspected of causing system crashes and was subsequently reverted. The change was introduced in Linux 6.3 and backported into Linux 6.1.22 and 6.2.9. The vulnerability can result in local denial of service; the precise crash mechanism and vulnerable function are not established.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The affected mlx5 switchdev code can cause a kernel or system crash, resulting in denial of service. Confidentiality loss, data modification, privilege escalation, and arbitrary code execution are not established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Pending a kernel update, a potential workaround is to avoid enabling or transitioning mlx5 devices into switchdev mode where network namespace inconsistencies may occur, and restrict administrative access capable of changing switchdev mode. These measures avoid the suspected affected code path but are not established as a complete mitigation.
Remediation
Patch, then assume compromise.
Update to a supported kernel release containing the reversion of the problematic mlx5 change. Upstream fixes are included in Linux 6.6.22, 6.7.10, and 6.8; the Linux kernel CVE team recommends the latest stable release rather than cherry-picking individual commits. Applicable Red Hat updates include RHSA-2024:5101 for RHEL 8 kernel, RHSA-2024:5102 for RHEL 8 kernel-rt, and RHSA-2024:8162 for RHEL 9 kernel. Debian bookworm remediation is linux version 6.1.162-1. Install the applicable distribution update and reboot to activate the updated kernel.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-52658 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2023-52658 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-52658?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2023-52658.
- Is there a patch for CVE-2023-52658?
- Update to a supported kernel release containing the reversion of the problematic mlx5 change. Upstream fixes are included in Linux 6.6.22, 6.7.10, and 6.8; the Linux kernel CVE team recommends the latest stable release rather than cherry-picking individual commits.
- What products are affected by CVE-2023-52658?
- Linux Kernel.
- How severe is CVE-2023-52658?
- CVE-2023-52658 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.30% (16th percentile) as of Oct 16, 2026.
Recent activity
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.