# CVE-2023-53079: net/mlx5: Fix steering rules cleanup

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 14, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2025-05-02T15:55:28.968Z
- **Modified:** 2026-11-05T21:17:11.690Z

## Who should check

- Anyone running Linux \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 18cead61e437f4c7898acca0a5f3df12f801d97f; \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 4df1f2d36bdc9a368650bf14b9097c555e95f71d; \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 63546395a0e6ac264f78f65218086ce6014b4494; \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 6f5780536181d1d0d09a11a1bc92f22e143447e2; \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 922f56e9a795d6f3dd72d3428ebdd7ee040fa855
- Anyone running Linux 4.7

## Description

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

net/mlx5: Fix steering rules cleanup

vport's mc, uc and multicast rules are not deleted in teardown path when
EEH happens. Since the vport's promisc settings(uc, mc and all) in
firmware are reset after EEH, mlx5 driver will try to delete the above
rules in the initialization path. This cause kernel crash because these
software rules are no longer valid.

Fix by nullifying these rules right after delete to avoid accessing any dangling
pointers.

Call Trace:
\_\_list\_del\_entry\_valid+0xcc/0x100 (unreliable)
tree\_put\_node+0xf4/0x1b0 \[mlx5\_core\]
tree\_remove\_node+0x30/0x70 \[mlx5\_core\]
mlx5\_del\_flow\_rules+0x14c/0x1f0 \[mlx5\_core\]
esw\_apply\_vport\_rx\_mode+0x10c/0x200 \[mlx5\_core\]
esw\_update\_vport\_rx\_mode+0xb4/0x180 \[mlx5\_core\]
esw\_vport\_change\_handle\_locked+0x1ec/0x230 \[mlx5\_core\]
esw\_enable\_vport+0x130/0x260 \[mlx5\_core\]
mlx5\_eswitch\_enable\_sriov+0x2a0/0x2f0 \[mlx5\_core\]
mlx5\_device\_enable\_sriov+0x74/0x440 \[mlx5\_core\]
mlx5\_load\_one+0x114c/0x1550 \[mlx5\_core\]
mlx5\_pci\_resume+0x68/0xf0 \[mlx5\_core\]
eeh\_report\_resume+0x1a4/0x230
eeh\_pe\_dev\_traverse+0x98/0x170
eeh\_handle\_normal\_event+0x3e4/0x640
eeh\_handle\_event+0x4c/0x370
eeh\_event\_handler+0x14c/0x210
kthread+0x168/0x1b0
ret\_from\_kernel\_thread+0x5c/0x84

## Affected and fixed versions

- Linux: \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 18cead61e437f4c7898acca0a5f3df12f801d97f; \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 4df1f2d36bdc9a368650bf14b9097c555e95f71d; \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 63546395a0e6ac264f78f65218086ce6014b4494; \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 6f5780536181d1d0d09a11a1bc92f22e143447e2; \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 922f56e9a795d6f3dd72d3428ebdd7ee040fa855 (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

- Upgrade Linux to 922f56e9a795d6f3dd72d3428ebdd7ee040fa855 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53079. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53079.md
Affected: Linux >= a35f71f27a614aff106cc89b86168962bce2725f, < 18cead61e437f4c7898acca0a5f3df12f801d97f; >= a35f71f27a614aff106cc89b86168962bce2725f, < 4df1f2d36bdc9a368650bf14b9097c555e95f71d; >= a35f71f27a614aff106cc89b86168962bce2725f, < 63546395a0e6ac264f78f65218086ce6014b4494; >= a35f71f27a614aff106cc89…
Fixed in: Linux 18cead61e437f4c7898acca0a5f3df12f801d97f, Linux 4df1f2d36bdc9a368650bf14b9097c555e95f71d, Linux 63546395a0e6ac264f78f65218086ce6014b4494, Linux 6f5780536181d1d0d09a11a1bc92f22e143447e2, Linux 922f56e9a795d6f3dd72d3428ebdd7ee040fa855

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.
```

## FAQ

### Is CVE-2023-53079 being exploited?

There is no confirmed exploitation: CVE-2023-53079 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-53079?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53079?

Linux \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 18cead61e437f4c7898acca0a5f3df12f801d97f; \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 4df1f2d36bdc9a368650bf14b9097c555e95f71d; \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 63546395a0e6ac264f78f65218086ce6014b4494; \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 6f5780536181d1d0d09a11a1bc92f22e143447e2; \>= a35f71f27a614aff106cc89b86168962bce2725f, \< 922f56e9a795d6f3dd72d3428ebdd7ee040fa855; Linux 4.7.

### Is there a fix for CVE-2023-53079?

Yes. Fixed in Linux 18cead61e437f4c7898acca0a5f3df12f801d97f, Linux 4df1f2d36bdc9a368650bf14b9097c555e95f71d, Linux 63546395a0e6ac264f78f65218086ce6014b4494, Linux 6f5780536181d1d0d09a11a1bc92f22e143447e2, Linux 922f56e9a795d6f3dd72d3428ebdd7ee040fa855. Upgrade Linux to 922f56e9a795d6f3dd72d3428ebdd7ee040fa855 or later.

### How do I check if I'm affected by CVE-2023-53079?

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.

## References

- patch: <https://git.kernel.org/stable/c/18cead61e437f4c7898acca0a5f3df12f801d97f>
- patch: <https://git.kernel.org/stable/c/4df1f2d36bdc9a368650bf14b9097c555e95f71d>
- patch: <https://git.kernel.org/stable/c/63546395a0e6ac264f78f65218086ce6014b4494>
- patch: <https://git.kernel.org/stable/c/6f5780536181d1d0d09a11a1bc92f22e143447e2>
- patch: <https://git.kernel.org/stable/c/922f56e9a795d6f3dd72d3428ebdd7ee040fa855>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53079>

HTML: <https://flawdb.com/CVE-2023-53079> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53079>
