# CVE-2023-53507: net/mlx5: Unregister devlink params in case interface is down

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.22% (percentile 8, 2026-11-26)
- **Published:** 2025-10-01T11:45:57.310Z
- **Modified:** 2026-06-17T06:45:29.670Z

## Who should check

- Anyone running Linux \>= fe578cbb2f053f465e19d2671a523dcd01953888, \< 471f59b3455314f0cafacf3096453727876355a9; \>= fe578cbb2f053f465e19d2671a523dcd01953888, \< 53d737dfd3d7b023fa9fa445ea3f3db0ac9da402
- Anyone running Linux 6.4

## Description

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

net/mlx5: Unregister devlink params in case interface is down

Currently, in case an interface is down, mlx5 driver doesn't
unregister its devlink params, which leads to this WARN\[1\].
Fix it by unregistering devlink params in that case as well.

\[1\]
\[  295.244769 \] WARNING: CPU: 15 PID: 1 at net/core/devlink.c:9042 devlink\_free+0x174/0x1fc
\[  295.488379 \] CPU: 15 PID: 1 Comm: shutdown Tainted: G S         OE 5.15.0-1017.19.3.g0677e61-bluefield \#g0677e61
\[  295.509330 \] Hardware name: https://www.mellanox.com BlueField SoC/BlueField SoC, BIOS 4.2.0.12761 Jun  6 2023
\[  295.543096 \] pc : devlink\_free+0x174/0x1fc
\[  295.551104 \] lr : mlx5\_devlink\_free+0x18/0x2c \[mlx5\_core\]
\[  295.561816 \] sp : ffff80000809b850
\[  295.711155 \] Call trace:
\[  295.716030 \]  devlink\_free+0x174/0x1fc
\[  295.723346 \]  mlx5\_devlink\_free+0x18/0x2c \[mlx5\_core\]
\[  295.733351 \]  mlx5\_sf\_dev\_remove+0x98/0xb0 \[mlx5\_core\]
\[  295.743534 \]  auxiliary\_bus\_remove+0x2c/0x50
\[  295.751893 \]  \_\_device\_release\_driver+0x19c/0x280
\[  295.761120 \]  device\_release\_driver+0x34/0x50
\[  295.769649 \]  bus\_remove\_device+0xdc/0x170
\[  295.777656 \]  device\_del+0x17c/0x3a4
\[  295.784620 \]  mlx5\_sf\_dev\_remove+0x28/0xf0 \[mlx5\_core\]
\[  295.794800 \]  mlx5\_sf\_dev\_table\_destroy+0x98/0x110 \[mlx5\_core\]
\[  295.806375 \]  mlx5\_unload+0x34/0xd0 \[mlx5\_core\]
\[  295.815339 \]  mlx5\_unload\_one+0x70/0xe4 \[mlx5\_core\]
\[  295.824998 \]  shutdown+0xb0/0xd8 \[mlx5\_core\]
\[  295.833439 \]  pci\_device\_shutdown+0x3c/0xa0
\[  295.841651 \]  device\_shutdown+0x170/0x340
\[  295.849486 \]  \_\_do\_sys\_reboot+0x1f4/0x2a0
\[  295.857322 \]  \_\_arm64\_sys\_reboot+0x2c/0x40
\[  295.865329 \]  invoke\_syscall+0x78/0x100
\[  295.872817 \]  el0\_svc\_common.constprop.0+0x54/0x184
\[  295.882392 \]  do\_el0\_svc+0x30/0xac
\[  295.889008 \]  el0\_svc+0x48/0x160
\[  295.895278 \]  el0t\_64\_sync\_handler+0xa4/0x130
\[  295.903807 \]  el0t\_64\_sync+0x1a4/0x1a8
\[  295.911120 \] ---\[ end trace 4f1d2381d00d9dce  \]---

## Affected and fixed versions

- Linux: \>= fe578cbb2f053f465e19d2671a523dcd01953888, \< 471f59b3455314f0cafacf3096453727876355a9; \>= fe578cbb2f053f465e19d2671a523dcd01953888, \< 53d737dfd3d7b023fa9fa445ea3f3db0ac9da402 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 53d737dfd3d7b023fa9fa445ea3f3db0ac9da402 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-53507. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53507.md
Affected: Linux >= fe578cbb2f053f465e19d2671a523dcd01953888, < 471f59b3455314f0cafacf3096453727876355a9; >= fe578cbb2f053f465e19d2671a523dcd01953888, < 53d737dfd3d7b023fa9fa445ea3f3db0ac9da402; Linux 6.4
Fixed in: Linux 471f59b3455314f0cafacf3096453727876355a9, Linux 53d737dfd3d7b023fa9fa445ea3f3db0ac9da402

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-53507 being exploited?

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

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

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

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

Linux \>= fe578cbb2f053f465e19d2671a523dcd01953888, \< 471f59b3455314f0cafacf3096453727876355a9; \>= fe578cbb2f053f465e19d2671a523dcd01953888, \< 53d737dfd3d7b023fa9fa445ea3f3db0ac9da402; Linux 6.4.

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

Yes. Fixed in Linux 471f59b3455314f0cafacf3096453727876355a9, Linux 53d737dfd3d7b023fa9fa445ea3f3db0ac9da402. Upgrade Linux to 53d737dfd3d7b023fa9fa445ea3f3db0ac9da402 or later.

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

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/471f59b3455314f0cafacf3096453727876355a9>
- patch: <https://git.kernel.org/stable/c/53d737dfd3d7b023fa9fa445ea3f3db0ac9da402>

## 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-53507>

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