{"id":"CVE-2026-139589","summary":"RDMA/bnxt_re: Fix the PD and DPI table size","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/bnxt_re: Fix the PD and DPI table size\n\nThe PD and DPI bitmaps were sized as max \u003e\u003e 3 (bytes),\nbut bitmap ops (set_bit(), clear_bit(), find_first_bit(),\ntest_and_set_bit()) operate on whole unsigned long words,\nso whenever max isn't a multiple of BITS_PER_LONG,\nthe buffer under-allocates and the top word's bitops\nread/write past the end of the kmalloc()'d buffer.\nMost exposed on the DPI table, since dpit-\u003emax comes from the\nfirmware-reported dev_attr-\u003emax_dpi with no alignment guarantee.\n\nFix the size of both allocations with\nBITS_TO_LONGS(max) * sizeof(unsigned long).","modified":"2026-11-30T15:02:29.346415922Z","published":"2026-11-30T13:36:09.143Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139589.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2660aff8fcabfeeadb31b09ab1cafa82edff7da5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ac21522aeecb95dd6552d17fbdbc005557c801a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7fc3d76a85e375ad4b8a973b62f1375e843c2d7e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/83fafba5f73431bf34ef19b23d024854b07c95a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9e8815ce3cd311483ea77b234e37ccae13afec18"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa6c2ef821a6ba7f3fd58cfcc031b2d16f3811c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d186095b3e9e19e348e9001279cf0b82e13e7c7e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d93cb72b3cb39780494e2bf8df1c295e2f334fc6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139589.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139589"}],"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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}