# CVE-2025-21961: eth: bnxt: fix truesize for mb-xdp-pass case

> 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.69% (percentile 48, 2026-11-26)
- **Published:** 2025-04-01T15:46:58.795Z
- **Modified:** 2026-10-30T13:17:54.750Z

## Who should check

- Anyone running Linux \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 01492e94a823c50f4ab5084e3ac210ba981133be; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 924ef5959b7cfbee8f923a77b0ad19b5f0a4d526; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 19107e71be330dbccb9f8f9f4cf0a9abeadad802; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< b4679807c6083ade4d47f03f80da891afcb6ef62; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 9f7b2aa5034e24d3c49db73d5f760c0435fe31c2
- Anyone running Linux 5.19

## Description

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

eth: bnxt: fix truesize for mb-xdp-pass case

When mb-xdp is set and return is XDP\_PASS, packet is converted from
xdp\_buff to sk\_buff with xdp\_update\_skb\_shared\_info() in
bnxt\_xdp\_build\_skb().
bnxt\_xdp\_build\_skb() passes incorrect truesize argument to
xdp\_update\_skb\_shared\_info().
The truesize is calculated as BNXT\_RX\_PAGE\_SIZE \* sinfo-\>nr\_frags but
the skb\_shared\_info was wiped by napi\_build\_skb() before.
So it stores sinfo-\>nr\_frags before bnxt\_xdp\_build\_skb() and use it
instead of getting skb\_shared\_info from xdp\_get\_shared\_info\_from\_buff().

Splat looks like:
 ------------\[ cut here \]------------
 WARNING: CPU: 2 PID: 0 at net/core/skbuff.c:6072 skb\_try\_coalesce+0x504/0x590
 Modules linked in: xt\_nat xt\_tcpudp veth af\_packet xt\_conntrack nft\_chain\_nat xt\_MASQUERADE nf\_conntrack\_netlink xfrm\_user xt\_addrtype nft\_coms
 CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.14.0-rc2+ \#3
 RIP: 0010:skb\_try\_coalesce+0x504/0x590
 Code: 4b fd ff ff 49 8b 34 24 40 80 e6 40 0f 84 3d fd ff ff 49 8b 74 24 48 40 f6 c6 01 0f 84 2e fd ff ff 48 8d 4e ff e9 25 fd ff ff \<0f\> 0b e99
 RSP: 0018:ffffb62c4120caa8 EFLAGS: 00010287
 RAX: 0000000000000003 RBX: ffffb62c4120cb14 RCX: 0000000000000ec0
 RDX: 0000000000001000 RSI: ffffa06e5d7dc000 RDI: 0000000000000003
 RBP: ffffa06e5d7ddec0 R08: ffffa06e6120a800 R09: ffffa06e7a119900
 R10: 0000000000002310 R11: ffffa06e5d7dcec0 R12: ffffe4360575f740
 R13: ffffe43600000000 R14: 0000000000000002 R15: 0000000000000002
 FS:  0000000000000000(0000) GS:ffffa0755f700000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 00007f147b76b0f8 CR3: 00000001615d4000 CR4: 00000000007506f0
 PKRU: 55555554
 Call Trace:
  \<IRQ\>
  ? \_\_warn+0x84/0x130
  ? skb\_try\_coalesce+0x504/0x590
  ? report\_bug+0x18a/0x1a0
  ? handle\_bug+0x53/0x90
  ? exc\_invalid\_op+0x14/0x70
  ? asm\_exc\_invalid\_op+0x16/0x20
  ? skb\_try\_coalesce+0x504/0x590
  inet\_frag\_reasm\_finish+0x11f/0x2e0
  ip\_defrag+0x37a/0x900
  ip\_local\_deliver+0x51/0x120
  ip\_sublist\_rcv\_finish+0x64/0x70
  ip\_sublist\_rcv+0x179/0x210
  ip\_list\_rcv+0xf9/0x130

How to reproduce:
\<Node A\>
ip link set $interface1 xdp obj xdp\_pass.o
ip link set $interface1 mtu 9000 up
ip a a 10.0.0.1/24 dev $interface1
\<Node B\>
ip link set $interfac2 mtu 9000 up
ip a a 10.0.0.2/24 dev $interface2
ping 10.0.0.1 -s 65000

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, \< 01492e94a823c50f4ab5084e3ac210ba981133be; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 924ef5959b7cfbee8f923a77b0ad19b5f0a4d526; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 19107e71be330dbccb9f8f9f4cf0a9abeadad802; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< b4679807c6083ade4d47f03f80da891afcb6ef62; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 9f7b2aa5034e24d3c49db73d5f760c0435fe31c2 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2025-21961.md
Affected: Linux >= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, < 01492e94a823c50f4ab5084e3ac210ba981133be; >= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, < 924ef5959b7cfbee8f923a77b0ad19b5f0a4d526; >= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, < 19107e71be330dbccb9f8f9f4cf0a9abeadad802; >= 1dc4c557bfedfcdf7fc0c46…
Fixed in: Linux 01492e94a823c50f4ab5084e3ac210ba981133be, Linux 924ef5959b7cfbee8f923a77b0ad19b5f0a4d526, Linux 19107e71be330dbccb9f8f9f4cf0a9abeadad802, Linux 9f7b2aa5034e24d3c49db73d5f760c0435fe31c2

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

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

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

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

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

Linux \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 01492e94a823c50f4ab5084e3ac210ba981133be; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 924ef5959b7cfbee8f923a77b0ad19b5f0a4d526; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 19107e71be330dbccb9f8f9f4cf0a9abeadad802; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< b4679807c6083ade4d47f03f80da891afcb6ef62; \>= 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7, \< 9f7b2aa5034e24d3c49db73d5f760c0435fe31c2; Linux 5.19.

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

Yes. Fixed in Linux 01492e94a823c50f4ab5084e3ac210ba981133be, Linux 924ef5959b7cfbee8f923a77b0ad19b5f0a4d526, Linux 19107e71be330dbccb9f8f9f4cf0a9abeadad802, Linux 9f7b2aa5034e24d3c49db73d5f760c0435fe31c2. Upgrade Linux to 9f7b2aa5034e24d3c49db73d5f760c0435fe31c2 or later.

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

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/19107e71be330dbccb9f8f9f4cf0a9abeadad802>
- patch: <https://git.kernel.org/stable/c/b4679807c6083ade4d47f03f80da891afcb6ef62>
- patch: <https://git.kernel.org/stable/c/9f7b2aa5034e24d3c49db73d5f760c0435fe31c2>
- other: <https://git.kernel.org/stable/c/01492e94a823c50f4ab5084e3ac210ba981133be>
- other: <https://git.kernel.org/stable/c/924ef5959b7cfbee8f923a77b0ad19b5f0a4d526>

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

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