# CVE-2025-39832: net/mlx5: Fix lockdep assertion on sync reset unload event

> 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, CNA) `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.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2025-09-16T13:08:49.513Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, \< ddac9d0fe2493dd550cbfc75eeaf31e9b6dac959; \>= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, \< 0c87dba9ccd3801d3b503f0b4fd41be343af4f06; \>= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, \< 06d897148e79638651800d851a69547b56b4be2e; \>= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, \< 902a8bc23a24882200f57cadc270e15a2cfaf2bb
- Anyone running Linux 6.5

## Description

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

net/mlx5: Fix lockdep assertion on sync reset unload event

Fix lockdep assertion triggered during sync reset unload event. When the
sync reset flow is initiated using the devlink reload fw\_activate
option, the PF already holds the devlink lock while handling unload
event. In this case, delegate sync reset unload event handling back to
the devlink callback process to avoid double-locking and resolve the
lockdep warning.

Kernel log:
WARNING: CPU: 9 PID: 1578 at devl\_assert\_locked+0x31/0x40
\[...\]
Call Trace:
\<TASK\>
 mlx5\_unload\_one\_devl\_locked+0x2c/0xc0 \[mlx5\_core\]
 mlx5\_sync\_reset\_unload\_event+0xaf/0x2f0 \[mlx5\_core\]
 process\_one\_work+0x222/0x640
 worker\_thread+0x199/0x350
 kthread+0x10b/0x230
 ? \_\_pfx\_worker\_thread+0x10/0x10
 ? \_\_pfx\_kthread+0x10/0x10
 ret\_from\_fork+0x8e/0x100
 ? \_\_pfx\_kthread+0x10/0x10
 ret\_from\_fork\_asm+0x1a/0x30
\</TASK\>

## Affected and fixed versions

- Linux: \>= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, \< ddac9d0fe2493dd550cbfc75eeaf31e9b6dac959; \>= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, \< 0c87dba9ccd3801d3b503f0b4fd41be343af4f06; \>= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, \< 06d897148e79638651800d851a69547b56b4be2e; \>= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, \< 902a8bc23a24882200f57cadc270e15a2cfaf2bb (cvelist)
- Linux: 6.5 (cvelist)

## Mitigation

- Upgrade Linux to 902a8bc23a24882200f57cadc270e15a2cfaf2bb or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-39832.md
Affected: Linux >= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, < ddac9d0fe2493dd550cbfc75eeaf31e9b6dac959; >= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, < 0c87dba9ccd3801d3b503f0b4fd41be343af4f06; >= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, < 06d897148e79638651800d851a69547b56b4be2e; >= 7a9770f1bfeaeddf5afabd3…
Fixed in: Linux 0c87dba9ccd3801d3b503f0b4fd41be343af4f06, Linux 06d897148e79638651800d851a69547b56b4be2e, Linux 902a8bc23a24882200f57cadc270e15a2cfaf2bb

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-2025-39832 being exploited?

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

### How serious is CVE-2025-39832?

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

### Which versions are affected by CVE-2025-39832?

Linux \>= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, \< ddac9d0fe2493dd550cbfc75eeaf31e9b6dac959; \>= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, \< 0c87dba9ccd3801d3b503f0b4fd41be343af4f06; \>= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, \< 06d897148e79638651800d851a69547b56b4be2e; \>= 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d, \< 902a8bc23a24882200f57cadc270e15a2cfaf2bb; Linux 6.5.

### Is there a fix for CVE-2025-39832?

Yes. Fixed in Linux 0c87dba9ccd3801d3b503f0b4fd41be343af4f06, Linux 06d897148e79638651800d851a69547b56b4be2e, Linux 902a8bc23a24882200f57cadc270e15a2cfaf2bb. Upgrade Linux to 902a8bc23a24882200f57cadc270e15a2cfaf2bb or later.

### How do I check if I'm affected by CVE-2025-39832?

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/ddac9d0fe2493dd550cbfc75eeaf31e9b6dac959>
- patch: <https://git.kernel.org/stable/c/0c87dba9ccd3801d3b503f0b4fd41be343af4f06>
- patch: <https://git.kernel.org/stable/c/06d897148e79638651800d851a69547b56b4be2e>
- patch: <https://git.kernel.org/stable/c/902a8bc23a24882200f57cadc270e15a2cfaf2bb>

## 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-2025-39832>

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