CVE-2026-139589

Source
https://cve.org/CVERecord?id=CVE-2026-139589
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139589.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139589
Downstream
Published
2026-11-30T13:36:09Z
Modified
2026-11-30T15:02:29Z
Summary
RDMA/bnxt_re: Fix the PD and DPI table size
Details

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).

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139589.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1ac5a404797523cedaf424a3aaa3cf8f9548dff8
Fixed
7fc3d76a85e375ad4b8a973b62f1375e843c2d7e
Fixed
9e8815ce3cd311483ea77b234e37ccae13afec18
Fixed
5ac21522aeecb95dd6552d17fbdbc005557c801a
Fixed
d93cb72b3cb39780494e2bf8df1c295e2f334fc6
Fixed
83fafba5f73431bf34ef19b23d024854b07c95a1
Fixed
2660aff8fcabfeeadb31b09ab1cafa82edff7da5
Fixed
d186095b3e9e19e348e9001279cf0b82e13e7c7e
Fixed
aa6c2ef821a6ba7f3fd58cfcc031b2d16f3811c6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139589.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.11.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139589.json"