# CVE-2025-21960: eth: bnxt: do not update checksum in bnxt\_xdp\_build\_skb()

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.74% (percentile 51, 2026-11-26)
- **Published:** 2025-04-01T15:46:58.291Z
- **Modified:** 2026-08-05T11:55:39.009Z

## Who should check

- Anyone running Linux \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< e8e3e03d69f2420eaa578199a65d281c58867105; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< ee086c8e775f9690282e3d26471dbcfd5dad5a6a; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 5b57ed14a1b85e7ab0074d9668a0baa6c94826c7; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 44578bc6460b8fca530fc7bd5897c115d9bd27e2; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< c03e7d05aa0e2f7e9a9ce5ad8a12471a53f941dc
- Anyone running Linux 5.19

## Description

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

eth: bnxt: do not update checksum in bnxt\_xdp\_build\_skb()

The bnxt\_rx\_pkt() updates ip\_summed value at the end if checksum offload
is enabled.
When the XDP-MB program is attached and it returns XDP\_PASS, the
bnxt\_xdp\_build\_skb() is called to update skb\_shared\_info.
The main purpose of bnxt\_xdp\_build\_skb() is to update skb\_shared\_info,
but it updates ip\_summed value too if checksum offload is enabled.
This is actually duplicate work.

When the bnxt\_rx\_pkt() updates ip\_summed value, it checks if ip\_summed
is CHECKSUM\_NONE or not.
It means that ip\_summed should be CHECKSUM\_NONE at this moment.
But ip\_summed may already be updated to CHECKSUM\_UNNECESSARY in the
XDP-MB-PASS path.
So the by skb\_checksum\_none\_assert() WARNS about it.

This is duplicate work and updating ip\_summed in the
bnxt\_xdp\_build\_skb() is not needed.

Splat looks like:
WARNING: CPU: 3 PID: 5782 at ./include/linux/skbuff.h:5155 bnxt\_rx\_pkt+0x479b/0x7610 \[bnxt\_en\]
Modules linked in: bnxt\_re bnxt\_en rdma\_ucm rdma\_cm iw\_cm ib\_cm ib\_uverbs veth xt\_nat xt\_tcpudp xt\_conntrack nft\_chain\_nat xt\_MASQUERADE nf\_\]
CPU: 3 UID: 0 PID: 5782 Comm: socat Tainted: G        W          6.14.0-rc4+ \#27
Tainted: \[W\]=WARN
Hardware name: ASUS System Product Name/PRIME Z690-P D4, BIOS 0603 11/01/2021
RIP: 0010:bnxt\_rx\_pkt+0x479b/0x7610 \[bnxt\_en\]
Code: 54 24 0c 4c 89 f1 4c 89 ff c1 ea 1f ff d3 0f 1f 00 49 89 c6 48 85 c0 0f 84 4c e5 ff ff 48 89 c7 e8 ca 3d a0 c8 e9 8f f4 ff ff \<0f\> 0b f
RSP: 0018:ffff88881ba09928 EFLAGS: 00010202
RAX: 0000000000000000 RBX: 00000000c7590303 RCX: 0000000000000000
RDX: 1ffff1104e7d1610 RSI: 0000000000000001 RDI: ffff8881c91300b8
RBP: ffff88881ba09b28 R08: ffff888273e8b0d0 R09: ffff888273e8b070
R10: ffff888273e8b010 R11: ffff888278b0f000 R12: ffff888273e8b080
R13: ffff8881c9130e00 R14: ffff8881505d3800 R15: ffff888273e8b000
FS:  00007f5a2e7be080(0000) GS:ffff88881ba00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff2e708ff8 CR3: 000000013e3b0000 CR4: 00000000007506f0
PKRU: 55555554
Call Trace:
 \<IRQ\>
 ? \_\_warn+0xcd/0x2f0
 ? bnxt\_rx\_pkt+0x479b/0x7610
 ? report\_bug+0x326/0x3c0
 ? handle\_bug+0x53/0xa0
 ? exc\_invalid\_op+0x14/0x50
 ? asm\_exc\_invalid\_op+0x16/0x20
 ? bnxt\_rx\_pkt+0x479b/0x7610
 ? bnxt\_rx\_pkt+0x3e41/0x7610
 ? \_\_pfx\_bnxt\_rx\_pkt+0x10/0x10
 ? napi\_complete\_done+0x2cf/0x7d0
 \_\_bnxt\_poll\_work+0x4e8/0x1220
 ? \_\_pfx\_\_\_bnxt\_poll\_work+0x10/0x10
 ? \_\_pfx\_mark\_lock.part.0+0x10/0x10
 bnxt\_poll\_p5+0x36a/0xfa0
 ? \_\_pfx\_bnxt\_poll\_p5+0x10/0x10
 \_\_napi\_poll.constprop.0+0xa0/0x440
 net\_rx\_action+0x899/0xd00
...

Following ping.py patch adds xdp-mb-pass case. so ping.py is going
to be able to reproduce this issue.

## Affected and fixed versions

- Linux: \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< e8e3e03d69f2420eaa578199a65d281c58867105; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< ee086c8e775f9690282e3d26471dbcfd5dad5a6a; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 5b57ed14a1b85e7ab0074d9668a0baa6c94826c7; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 44578bc6460b8fca530fc7bd5897c115d9bd27e2; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< c03e7d05aa0e2f7e9a9ce5ad8a12471a53f941dc (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-21960.md
Affected: Linux >= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, < e8e3e03d69f2420eaa578199a65d281c58867105; >= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, < ee086c8e775f9690282e3d26471dbcfd5dad5a6a; >= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, < 5b57ed14a1b85e7ab0074d9668a0baa6c94826c7; >= 1dc4c557bfedfcdf7fc0c46…
Fixed in: Linux 5b57ed14a1b85e7ab0074d9668a0baa6c94826c7, Linux 44578bc6460b8fca530fc7bd5897c115d9bd27e2

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

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< e8e3e03d69f2420eaa578199a65d281c58867105; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< ee086c8e775f9690282e3d26471dbcfd5dad5a6a; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 5b57ed14a1b85e7ab0074d9668a0baa6c94826c7; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 44578bc6460b8fca530fc7bd5897c115d9bd27e2; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< c03e7d05aa0e2f7e9a9ce5ad8a12471a53f941dc; Linux 5.19.

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

Yes. Fixed in Linux 5b57ed14a1b85e7ab0074d9668a0baa6c94826c7, Linux 44578bc6460b8fca530fc7bd5897c115d9bd27e2. No fix listed yet: follow the vendor advisory.

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

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/e8e3e03d69f2420eaa578199a65d281c58867105>
- patch: <https://git.kernel.org/stable/c/ee086c8e775f9690282e3d26471dbcfd5dad5a6a>
- patch: <https://git.kernel.org/stable/c/5b57ed14a1b85e7ab0074d9668a0baa6c94826c7>
- patch: <https://git.kernel.org/stable/c/44578bc6460b8fca530fc7bd5897c115d9bd27e2>
- patch: <https://git.kernel.org/stable/c/c03e7d05aa0e2f7e9a9ce5ad8a12471a53f941dc>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.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-21960>

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