# CVE-2025-38186: bnxt\_en: Fix double invocation of bnxt\_ulp\_stop()/bnxt\_ulp\_start()

> 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.26% (percentile 11, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2025-07-04T13:37:12.484Z
- **Modified:** 2026-11-05T21:18:12.383Z

## Who should check

- Anyone running Linux \>= 3c163f35bd50314d4e70ed9e83e1d8d83c473325, \< 6f2cd309492924b8afd2c62aebff815c1119d124; \>= 3c163f35bd50314d4e70ed9e83e1d8d83c473325, \< cca4ffd4a5b768752b91f6f75d77928e47886913; \>= 3c163f35bd50314d4e70ed9e83e1d8d83c473325, \< 1e9ac33fa271be0d2480fd732f9642d81542500b
- Anyone running Linux 6.10

## Description

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

bnxt\_en: Fix double invocation of bnxt\_ulp\_stop()/bnxt\_ulp\_start()

Before the commit under the Fixes tag below, bnxt\_ulp\_stop() and
bnxt\_ulp\_start() were always invoked in pairs.  After that commit,
the new bnxt\_ulp\_restart() can be invoked after bnxt\_ulp\_stop()
has been called.  This may result in the RoCE driver's aux driver
.suspend() method being invoked twice.  The 2nd bnxt\_re\_suspend()
call will crash when it dereferences a NULL pointer:

(NULL ib\_device): Handle device suspend call
BUG: kernel NULL pointer dereference, address: 0000000000000b78
PGD 0 P4D 0
Oops: Oops: 0000 \[\#1\] SMP PTI
CPU: 20 UID: 0 PID: 181 Comm: kworker/u96:5 Tainted: G S                  6.15.0-rc1 \#4 PREEMPT(voluntary)
Tainted: \[S\]=CPU\_OUT\_OF\_SPEC
Hardware name: Dell Inc. PowerEdge R730/072T6D, BIOS 2.4.3 01/17/2017
Workqueue: bnxt\_pf\_wq bnxt\_sp\_task \[bnxt\_en\]
RIP: 0010:bnxt\_re\_suspend+0x45/0x1f0 \[bnxt\_re\]
Code: 8b 05 a7 3c 5b f5 48 89 44 24 18 31 c0 49 8b 5c 24 08 4d 8b 2c 24 e8 ea 06 0a f4 48 c7 c6 04 60 52 c0 48 89 df e8 1b ce f9 ff \<48\> 8b 83 78 0b 00 00 48 8b 80 38 03 00 00 a8 40 0f 85 b5 00 00 00
RSP: 0018:ffffa2e84084fd88 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffffb4b6b934 RDI: 00000000ffffffff
RBP: ffffa1760954c9c0 R08: 0000000000000000 R09: c0000000ffffdfff
R10: 0000000000000001 R11: ffffa2e84084fb50 R12: ffffa176031ef070
R13: ffffa17609775000 R14: ffffa17603adc180 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffa17daa397000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000b78 CR3: 00000004aaa30003 CR4: 00000000003706f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
\<TASK\>
bnxt\_ulp\_stop+0x69/0x90 \[bnxt\_en\]
bnxt\_sp\_task+0x678/0x920 \[bnxt\_en\]
? \_\_schedule+0x514/0xf50
process\_scheduled\_works+0x9d/0x400
worker\_thread+0x11c/0x260
? \_\_pfx\_worker\_thread+0x10/0x10
kthread+0xfe/0x1e0
? \_\_pfx\_kthread+0x10/0x10
ret\_from\_fork+0x2b/0x40
? \_\_pfx\_kthread+0x10/0x10
ret\_from\_fork\_asm+0x1a/0x30

Check the BNXT\_EN\_FLAG\_ULP\_STOPPED flag and do not proceed if the flag
is already set.  This will preserve the original symmetrical
bnxt\_ulp\_stop() and bnxt\_ulp\_start().

Also, inside bnxt\_ulp\_start(), clear the BNXT\_EN\_FLAG\_ULP\_STOPPED
flag after taking the mutex to avoid any race condition.  And for
symmetry, only proceed in bnxt\_ulp\_start() if the
BNXT\_EN\_FLAG\_ULP\_STOPPED is set.

## Affected and fixed versions

- Linux: \>= 3c163f35bd50314d4e70ed9e83e1d8d83c473325, \< 6f2cd309492924b8afd2c62aebff815c1119d124; \>= 3c163f35bd50314d4e70ed9e83e1d8d83c473325, \< cca4ffd4a5b768752b91f6f75d77928e47886913; \>= 3c163f35bd50314d4e70ed9e83e1d8d83c473325, \< 1e9ac33fa271be0d2480fd732f9642d81542500b (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2025-38186.md
Affected: Linux >= 3c163f35bd50314d4e70ed9e83e1d8d83c473325, < 6f2cd309492924b8afd2c62aebff815c1119d124; >= 3c163f35bd50314d4e70ed9e83e1d8d83c473325, < cca4ffd4a5b768752b91f6f75d77928e47886913; >= 3c163f35bd50314d4e70ed9e83e1d8d83c473325, < 1e9ac33fa271be0d2480fd732f9642d81542500b; Linux 6.10
Fixed in: Linux 6f2cd309492924b8afd2c62aebff815c1119d124, Linux 1e9ac33fa271be0d2480fd732f9642d81542500b

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

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

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

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

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

Linux \>= 3c163f35bd50314d4e70ed9e83e1d8d83c473325, \< 6f2cd309492924b8afd2c62aebff815c1119d124; \>= 3c163f35bd50314d4e70ed9e83e1d8d83c473325, \< cca4ffd4a5b768752b91f6f75d77928e47886913; \>= 3c163f35bd50314d4e70ed9e83e1d8d83c473325, \< 1e9ac33fa271be0d2480fd732f9642d81542500b; Linux 6.10.

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

Yes. Fixed in Linux 6f2cd309492924b8afd2c62aebff815c1119d124, Linux 1e9ac33fa271be0d2480fd732f9642d81542500b. Upgrade Linux to 1e9ac33fa271be0d2480fd732f9642d81542500b or later.

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

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/6f2cd309492924b8afd2c62aebff815c1119d124>
- patch: <https://git.kernel.org/stable/c/cca4ffd4a5b768752b91f6f75d77928e47886913>
- patch: <https://git.kernel.org/stable/c/1e9ac33fa271be0d2480fd732f9642d81542500b>

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

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