{"id":"CVE-2026-139589","aliases":["CVE-2026-139589"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/bnxt_re: Fix the PD and DPI table size","summary":"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 >> 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->max comes from the\nfirmware-reported dev_attr->max_dpi with no alignment guarantee.\n\nFix the size of both allocations with\nBITS_TO_LONGS(max) * sizeof(unsigned long).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 >> 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->max comes from the\nfirmware-reported dev_attr->max_dpi with no alignment guarantee.\n\nFix the size of both allocations with\nBITS_TO_LONGS(max) * sizeof(unsigned long).","source":"cvelist"}],"published":"2026-11-30T13:36:09.143Z","modified":"2026-12-01T06:17:46.270Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1ac5a404797523cedaf424a3aaa3cf8f9548dff8","fixed":"7fc3d76a85e375ad4b8a973b62f1375e843c2d7e","status":"affected"},{"type":"git","introduced":"1ac5a404797523cedaf424a3aaa3cf8f9548dff8","fixed":"9e8815ce3cd311483ea77b234e37ccae13afec18","status":"affected"},{"type":"git","introduced":"1ac5a404797523cedaf424a3aaa3cf8f9548dff8","fixed":"5ac21522aeecb95dd6552d17fbdbc005557c801a","status":"affected"},{"type":"git","introduced":"1ac5a404797523cedaf424a3aaa3cf8f9548dff8","fixed":"d93cb72b3cb39780494e2bf8df1c295e2f334fc6","status":"affected"},{"type":"git","introduced":"1ac5a404797523cedaf424a3aaa3cf8f9548dff8","fixed":"83fafba5f73431bf34ef19b23d024854b07c95a1","status":"affected"},{"type":"git","introduced":"1ac5a404797523cedaf424a3aaa3cf8f9548dff8","fixed":"2660aff8fcabfeeadb31b09ab1cafa82edff7da5","status":"affected"},{"type":"git","introduced":"1ac5a404797523cedaf424a3aaa3cf8f9548dff8","fixed":"d186095b3e9e19e348e9001279cf0b82e13e7c7e","status":"affected"},{"type":"git","introduced":"1ac5a404797523cedaf424a3aaa3cf8f9548dff8","fixed":"aa6c2ef821a6ba7f3fd58cfcc031b2d16f3811c6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.11","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7fc3d76a85e375ad4b8a973b62f1375e843c2d7e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9e8815ce3cd311483ea77b234e37ccae13afec18","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5ac21522aeecb95dd6552d17fbdbc005557c801a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d93cb72b3cb39780494e2bf8df1c295e2f334fc6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/83fafba5f73431bf34ef19b23d024854b07c95a1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2660aff8fcabfeeadb31b09ab1cafa82edff7da5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d186095b3e9e19e348e9001279cf0b82e13e7c7e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa6c2ef821a6ba7f3fd58cfcc031b2d16f3811c6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139589","url":"https://www.cve.org/CVERecord?id=CVE-2026-139589","licence":"CVE Terms of Use","modified":"2026-12-01T05:42:52.921Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139589","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139589","licence":"Public domain","modified":"2026-12-01T06:17:46.270Z"}],"updatedAt":"2026-12-01T06:32:24.506Z","epss":{"score":0.00156,"percentile":0.05051,"date":"2026-12-01T12:00:22.000Z"}}