CVE-2025-39810
published high CVSS 3.1 · 7.8bnxt_en: Fix memory corruption when FW resources change during ifdown
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxec5d31e3c15d5233b491400133c67f78a320062c to < c0082a8947cf1a543013346d10c1857f0c57db83 · ec5d31e3c15d5233b491400133c67f78a320062c to < dc797a4bbbcac6d19e6e2508e4df685755cd94a5 · ec5d31e3c15d5233b491400133c67f78a320062c to < d00e98977ef519280b075d783653e2c492fffbb6 · ec5d31e3c15d5233b491400133c67f78a320062c to < 9ab6a9950f152e094395d2e3967f889857daa185 · ec5d31e3c15d5233b491400133c67f78a320062c to < 2747328ba2714f1a7454208dbbc1dc0631990b4a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.4 (affected) · 0 to < 5.4 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.45 through 6.12.* (unaffected · semver) · 6.16.5 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.192-1 | DLA-4906-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Debian | trixie | linux | Advisory build | 6.12.48-1 | DSA-6008-1 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-316.196.4.1.el8uek | ELSA-2026-50007 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el9uek | ELSA-2026-50007 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-316.196.4.1.el9uek | ELSA-2026-50007 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el9uek | ELSA-2026-50007 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-105.51.5.el9uek | ELSA-2025-25754 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-316.196.4.1.el9uek | ELSA-2026-50007 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-105.51.5.el9uek | ELSA-2025-25754 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-316.196.4.1.el9uek | ELSA-2026-50007 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-316.196.4.1.el9uek | ELSA-2026-50007 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el9uek | ELSA-2026-50007 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-316.196.4.1.el9uek | ELSA-2026-50007 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-316.196.4.1.el9uek | ELSA-2026-50007 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-105.51.5.el9uek | ELSA-2025-25754 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Fix memory corruption when FW resources change during ifdown bnxt_set_dflt_rings() assumes that it is always called before any TC has been created. So it doesn't take bp->num_tc into account and assumes that it is always 0 or 1. In the FW resource or capability change scenario, the FW will return flags in bnxt_hwrm_if_change() that will cause the driver to reinitialize and call bnxt_cancel_reservations(). This will lead to bnxt_init_dflt_ring_mode() calling bnxt_set_dflt_rings() and bp->num_tc may be greater than 1. This will cause bp->tx_ring[] to be sized too small and cause memory corruption in bnxt_alloc_cp_rings(). Fix it by properly scaling the TX rings by bp->num_tc in the code paths mentioned above. Add 2 helper functions to determine bp->tx_nr_rings and bp->tx_nr_rings_per_tc.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The trigger sequence is local device configuration — mqprio/DCBNL to set `bp->num_tc > 1` via rtnetlink, then a link down/up cycle through `bnxt_open()`. No remote peer traffic or network protocol data reaches the vulnerable computation. AC:L - The attacker arms the condition persistently: once multi-TC is configured, every subsequent ifup that sees a firmware `RESC_CHANGE`/`CAPS_CHANGE` deterministically undersizes `bp->tx_ring[]`, and such resource changes are routine recurring events (SR-IOV VF count changes, RoCE driver load/unload, firmware update, PF reconfiguration) that can simply be waited out and re-triggered by cycling the interface — there is no one-shot race to win. PR:L - Reaching the path needs CAP_NET_ADMIN over the bnxt netdev, which in the common SR-IOV cloud/Kubernetes deployment is held by an otherwise unprivileged container after a VF is delegated into its user-namespace-owned network namespace, where `tc qdisc add ... mqprio` and `ip link set up` are permitted. That is delegated network-admin capability, not real root in the init namespace. UI:N - No victim action is needed — the corruption occurs entirely within the attacker's own interface bring-up sequence once the multi-TC configuration is in place. S:U - The out-of-bounds write corrupts kernel heap objects belonging to the same kernel security authority; no VM, IOMMU, or hypervisor boundary is crossed. C:H - The overflow plants live `bnxt_cp_ring_info` pointers into adjacent heap objects and leaves `netdev_set_tc_queue()` mappings pointing past `real_num_tx_queues`, so subsequent TX-completion and queue-selection code dereferences and reads memory outside the intended objects, which is leverageable for kernel memory disclosure. I:H - `bp->tx_ring[n].tx_cpr = cpr2` writes a kernel heap pointer well beyond the `kcalloc`'d array, at an offset scaled by the attacker-chosen `num_tc` and per-TC ring count — a placement-influenceable arbitrary-ish pointer write into neighbouring slab objects, the classic primitive for control-flow hijack. A:H - Corrupting unrelated heap allocations with stray pointers, plus TX queues indexed past `real_num_tx_queues`, reliably produces oops/panic on a machine performing normal networking, and the sequence can be repeated at will.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ec5d31e3c15d5233b491400133c67f78a320062c to < c0082a8947cf1a543013346d10c1857f0c57db83 (affected · git)ec5d31e3c15d5233b491400133c67f78a320062c to < dc797a4bbbcac6d19e6e2508e4df685755cd94a5 (affected · git)ec5d31e3c15d5233b491400133c67f78a320062c to < d00e98977ef519280b075d783653e2c492fffbb6 (affected · git)ec5d31e3c15d5233b491400133c67f78a320062c to < 9ab6a9950f152e094395d2e3967f889857daa185 (affected · git)ec5d31e3c15d5233b491400133c67f78a320062c to < 2747328ba2714f1a7454208dbbc1dc0631990b4a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.4 (affected)0 to < 5.4 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.45 through 6.12.* (unaffected · semver)6.16.5 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-787 CWE-787 Out-of-bounds Write
References
5- https://git.kernel.org/stable/c/2747328ba2714f1a7454208dbbc1dc0631990b4a
- https://git.kernel.org/stable/c/9ab6a9950f152e094395d2e3967f889857daa185
- https://git.kernel.org/stable/c/c0082a8947cf1a543013346d10c1857f0c57db83
- https://git.kernel.org/stable/c/d00e98977ef519280b075d783653e2c492fffbb6
- https://git.kernel.org/stable/c/dc797a4bbbcac6d19e6e2508e4df685755cd94a5
Provider assertions
2Linux · cna
bnxt_en: Fix memory corruption when FW resources change during ifdown
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 14ef5f152f26d31743d2c53c26813b7736435720aadf2ccf15ae813e663d3894
- Ingested
- 30 Oct 2026, 12:31:36 UTC
- Source record
- Official CVE record