# CVE-2025-38439: bnxt\_en: Set DMA unmap len correctly for XDP\_REDIRECT

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.87% (percentile 57, 2026-11-30)
- **Published:** 2025-07-25T15:27:18.640Z
- **Modified:** 2026-10-15T22:18:41.030Z

## Who should check

- Anyone running Linux \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< e260f4d49370c85a4701d43c6d16b8c39f8b605f; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 16ae306602163fcb7ae83f2701b542e43c100cee; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 8d672a1a6bfc81fef9151925c9c0481f4acf4bec; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< f9eaf6d036075dc820520e1194692c0619b7297b; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 5909679a82cd74cf0343d9e3ddf4b6931aa7e613; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< f154e41e1d9d15ab21300ba7bbf0ebb5cb3b9c2a; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 50dad9909715094e7d9ca25e9e0412b875987519; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 3cdf199d4755d477972ee87110b2aebc88b3cfad
- Anyone running Linux 5.3

## Description

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

bnxt\_en: Set DMA unmap len correctly for XDP\_REDIRECT

When transmitting an XDP\_REDIRECT packet, call dma\_unmap\_len\_set()
with the proper length instead of 0.  This bug triggers this warning
on a system with IOMMU enabled:

WARNING: CPU: 36 PID: 0 at drivers/iommu/dma-iommu.c:842 \_\_iommu\_dma\_unmap+0x159/0x170
RIP: 0010:\_\_iommu\_dma\_unmap+0x159/0x170
Code: a8 00 00 00 00 48 c7 45 b0 00 00 00 00 48 c7 45 c8 00 00 00 00 48 c7 45 a0 ff ff ff ff 4c 89 45
b8 4c 89 45 c0 e9 77 ff ff ff \<0f\> 0b e9 60 ff ff ff e8 8b bf 6a 00 66 66 2e 0f 1f 84 00 00 00 00
RSP: 0018:ff22d31181150c88 EFLAGS: 00010206
RAX: 0000000000002000 RBX: 00000000e13a0000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ff22d31181150cf0 R08: ff22d31181150ca8 R09: 0000000000000000
R10: 0000000000000000 R11: ff22d311d36c9d80 R12: 0000000000001000
R13: ff13544d10645010 R14: ff22d31181150c90 R15: ff13544d0b2bac00
FS: 0000000000000000(0000) GS:ff13550908a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005be909dacff8 CR3: 0008000173408003 CR4: 0000000000f71ef0
PKRU: 55555554
Call Trace:
\<IRQ\>
? show\_regs+0x6d/0x80
? \_\_warn+0x89/0x160
? \_\_iommu\_dma\_unmap+0x159/0x170
? report\_bug+0x17e/0x1b0
? handle\_bug+0x46/0x90
? exc\_invalid\_op+0x18/0x80
? asm\_exc\_invalid\_op+0x1b/0x20
? \_\_iommu\_dma\_unmap+0x159/0x170
? \_\_iommu\_dma\_unmap+0xb3/0x170
iommu\_dma\_unmap\_page+0x4f/0x100
dma\_unmap\_page\_attrs+0x52/0x220
? srso\_alias\_return\_thunk+0x5/0xfbef5
? xdp\_return\_frame+0x2e/0xd0
bnxt\_tx\_int\_xdp+0xdf/0x440 \[bnxt\_en\]
\_\_bnxt\_poll\_work\_done+0x81/0x1e0 \[bnxt\_en\]
bnxt\_poll+0xd3/0x1e0 \[bnxt\_en\]

## Affected and fixed versions

- Linux: \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< e260f4d49370c85a4701d43c6d16b8c39f8b605f; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 16ae306602163fcb7ae83f2701b542e43c100cee; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 8d672a1a6bfc81fef9151925c9c0481f4acf4bec; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< f9eaf6d036075dc820520e1194692c0619b7297b; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 5909679a82cd74cf0343d9e3ddf4b6931aa7e613; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< f154e41e1d9d15ab21300ba7bbf0ebb5cb3b9c2a; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 50dad9909715094e7d9ca25e9e0412b875987519; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 3cdf199d4755d477972ee87110b2aebc88b3cfad (cvelist)
- Linux: 5.3 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2025-38439.md
Affected: Linux >= f18c2b77b2e4eec2313d519ba125bd6a069513cf, < e260f4d49370c85a4701d43c6d16b8c39f8b605f; >= f18c2b77b2e4eec2313d519ba125bd6a069513cf, < 16ae306602163fcb7ae83f2701b542e43c100cee; >= f18c2b77b2e4eec2313d519ba125bd6a069513cf, < 8d672a1a6bfc81fef9151925c9c0481f4acf4bec; >= f18c2b77b2e4eec2313d519…
Fixed in: Linux 16ae306602163fcb7ae83f2701b542e43c100cee, Linux 8d672a1a6bfc81fef9151925c9c0481f4acf4bec, Linux 5909679a82cd74cf0343d9e3ddf4b6931aa7e613, Linux 50dad9909715094e7d9ca25e9e0412b875987519, Linux 3cdf199d4755d477972ee87110b2aebc88b3cfad

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

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

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

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< e260f4d49370c85a4701d43c6d16b8c39f8b605f; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 16ae306602163fcb7ae83f2701b542e43c100cee; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 8d672a1a6bfc81fef9151925c9c0481f4acf4bec; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< f9eaf6d036075dc820520e1194692c0619b7297b; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 5909679a82cd74cf0343d9e3ddf4b6931aa7e613; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< f154e41e1d9d15ab21300ba7bbf0ebb5cb3b9c2a; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 50dad9909715094e7d9ca25e9e0412b875987519; \>= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \< 3cdf199d4755d477972ee87110b2aebc88b3cfad; Linux 5.3.

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

Yes. Fixed in Linux 16ae306602163fcb7ae83f2701b542e43c100cee, Linux 8d672a1a6bfc81fef9151925c9c0481f4acf4bec, Linux 5909679a82cd74cf0343d9e3ddf4b6931aa7e613, Linux 50dad9909715094e7d9ca25e9e0412b875987519, Linux 3cdf199d4755d477972ee87110b2aebc88b3cfad. Upgrade Linux to 3cdf199d4755d477972ee87110b2aebc88b3cfad or later.

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

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/e260f4d49370c85a4701d43c6d16b8c39f8b605f>
- patch: <https://git.kernel.org/stable/c/16ae306602163fcb7ae83f2701b542e43c100cee>
- patch: <https://git.kernel.org/stable/c/8d672a1a6bfc81fef9151925c9c0481f4acf4bec>
- patch: <https://git.kernel.org/stable/c/f9eaf6d036075dc820520e1194692c0619b7297b>
- patch: <https://git.kernel.org/stable/c/5909679a82cd74cf0343d9e3ddf4b6931aa7e613>
- patch: <https://git.kernel.org/stable/c/f154e41e1d9d15ab21300ba7bbf0ebb5cb3b9c2a>
- patch: <https://git.kernel.org/stable/c/50dad9909715094e7d9ca25e9e0412b875987519>
- patch: <https://git.kernel.org/stable/c/3cdf199d4755d477972ee87110b2aebc88b3cfad>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

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

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