# CVE-2026-139589: RDMA/bnxt_re: Fix the PD and DPI table size

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-11-30T13:36:09.143Z
- Modified: 2026-12-01T06:17:46.270Z
- Assigned by: Linux

## Description

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

RDMA/bnxt_re: Fix the PD and DPI table size

The PD and DPI bitmaps were sized as max >> 3 (bytes),
but bitmap ops (set_bit(), clear_bit(), find_first_bit(),
test_and_set_bit()) operate on whole unsigned long words,
so whenever max isn't a multiple of BITS_PER_LONG,
the buffer under-allocates and the top word's bitops
read/write past the end of the kmalloc()'d buffer.
Most exposed on the DPI table, since dpit->max comes from the
firmware-reported dev_attr->max_dpi with no alignment guarantee.

Fix the size of both allocations with
BITS_TO_LONGS(max) * sizeof(unsigned long).

(As written by CVE List.)

## Affected

- Linux Linux: from 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 before 7fc3d76a85e375ad4b8a973b62f1375e843c2d7e; from 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 before 9e8815ce3cd311483ea77b234e37ccae13afec18; from 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 before 5ac21522aeecb95dd6552d17fbdbc005557c801a; from 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 before d93cb72b3cb39780494e2bf8df1c295e2f334fc6; from 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 before 83fafba5f73431bf34ef19b23d024854b07c95a1; from 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 before 2660aff8fcabfeeadb31b09ab1cafa82edff7da5; from 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 before d186095b3e9e19e348e9001279cf0b82e13e7c7e; from 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 before aa6c2ef821a6ba7f3fd58cfcc031b2d16f3811c6; 4.11 (not affected: before 4.11; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/7fc3d76a85e375ad4b8a973b62f1375e843c2d7e>
- <https://git.kernel.org/stable/c/9e8815ce3cd311483ea77b234e37ccae13afec18>
- <https://git.kernel.org/stable/c/5ac21522aeecb95dd6552d17fbdbc005557c801a>
- <https://git.kernel.org/stable/c/d93cb72b3cb39780494e2bf8df1c295e2f334fc6>
- <https://git.kernel.org/stable/c/83fafba5f73431bf34ef19b23d024854b07c95a1>
- <https://git.kernel.org/stable/c/2660aff8fcabfeeadb31b09ab1cafa82edff7da5>
- <https://git.kernel.org/stable/c/d186095b3e9e19e348e9001279cf0b82e13e7c7e>
- <https://git.kernel.org/stable/c/aa6c2ef821a6ba7f3fd58cfcc031b2d16f3811c6>

## Sources

- CVE List: [CVE-2026-139589](https://www.cve.org/CVERecord?id=CVE-2026-139589), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139589](https://nvd.nist.gov/vuln/detail/CVE-2026-139589), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139589 · Whole record: https://cve.day/CVE-2026-139589.json · Rebuilt by cve.day 2026-12-01T06:32:24.506Z
