PT-2026-163630
CVE-2026-139589
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
CVSS 3.1
7.0
HighMetricsAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
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).
Found an issue in the description? Have something to add? Feel free to write us 👾