{"id":"CVE-2026-72497","state":"PUBLISHED","title":"RDMA/bnxt_re: Add a max slot check for SQ","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/bnxt_re: Add a max slot check for SQ\n\nThe variable WQE mode must be validated against\nthe maximum slots supported by HW. The max supported\nvalue is 64K. Adding a max and min check and fail if user\nsupplied value is more than the max supported and zero.","publishedAt":"2026-08-15T05:57:30.386Z","updatedAt":"2026-10-21T12:45:05.370Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d8ea645d6984c84a87032063a0941f15a323831f","status":"affected","lessThan":"d4d1c78b56b6abc0dcb6015faaed2cf4d0f2797b","versionType":"git"},{"version":"d8ea645d6984c84a87032063a0941f15a323831f","status":"affected","lessThan":"2106c337905d7445d75818e36920b63f9211c584","versionType":"git"},{"version":"d8ea645d6984c84a87032063a0941f15a323831f","status":"affected","lessThan":"a59d815cbe667929b693b5fa6716a074e6a31c5b","versionType":"git"},{"version":"d8ea645d6984c84a87032063a0941f15a323831f","status":"affected","lessThan":"dc95931b7e1326dacae547874bf38c092e5960d8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/bnxt_re/ib_verbs.c","drivers/infiniband/hw/bnxt_re/qplib_sp.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/bnxt_re/ib_verbs.c","drivers/infiniband/hw/bnxt_re/qplib_sp.h"]}],"references":["https://git.kernel.org/stable/c/d4d1c78b56b6abc0dcb6015faaed2cf4d0f2797b","https://git.kernel.org/stable/c/2106c337905d7445d75818e36920b63f9211c584","https://git.kernel.org/stable/c/a59d815cbe667929b693b5fa6716a074e6a31c5b","https://git.kernel.org/stable/c/dc95931b7e1326dacae547874bf38c092e5960d8"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72497.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72497","state":"PUBLISHED","datePublished":"2026-08-15T05:57:30.386Z","dateUpdated":"2026-10-21T12:45:05.370Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.937Z"},"containers":{"cna":{"title":"RDMA/bnxt_re: Add a max slot check for SQ","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/bnxt_re: Add a max slot check for SQ\n\nThe variable WQE mode must be validated against\nthe maximum slots supported by HW. The max supported\nvalue is 64K. Adding a max and min check and fail if user\nsupplied value is more than the max supported and zero."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d8ea645d6984c84a87032063a0941f15a323831f","status":"affected","lessThan":"d4d1c78b56b6abc0dcb6015faaed2cf4d0f2797b","versionType":"git"},{"version":"d8ea645d6984c84a87032063a0941f15a323831f","status":"affected","lessThan":"2106c337905d7445d75818e36920b63f9211c584","versionType":"git"},{"version":"d8ea645d6984c84a87032063a0941f15a323831f","status":"affected","lessThan":"a59d815cbe667929b693b5fa6716a074e6a31c5b","versionType":"git"},{"version":"d8ea645d6984c84a87032063a0941f15a323831f","status":"affected","lessThan":"dc95931b7e1326dacae547874bf38c092e5960d8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/bnxt_re/ib_verbs.c","drivers/infiniband/hw/bnxt_re/qplib_sp.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/bnxt_re/ib_verbs.c","drivers/infiniband/hw/bnxt_re/qplib_sp.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/d4d1c78b56b6abc0dcb6015faaed2cf4d0f2797b"},{"url":"https://git.kernel.org/stable/c/2106c337905d7445d75818e36920b63f9211c584"},{"url":"https://git.kernel.org/stable/c/a59d815cbe667929b693b5fa6716a074e6a31c5b"},{"url":"https://git.kernel.org/stable/c/dc95931b7e1326dacae547874bf38c092e5960d8"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The flaw is reached only via local RDMA uverbs ioctl/write on /dev/infiniband/uverbs* (IB_USER_VERBS_CMD_CREATE_QP → bnxt_re_create_qp → bnxt_re_init_qp_attr); remote RoCE peers cannot supply the bnxt_re_qp_req.sq_slots field.\nAC:L - On bnxt_re hardware with variable WQE enabled, an attacker deterministically sets sq_slots to 0 or any value above 65536 in create_qp driver udata; no race, timing window, or uncontrollable memory layout is required beyond opening uverbs and issuing the ioctl.\nPR:L - Exploitation requires only local access to the world-accessible (mode 0666) uverbs character device to alloc a VAR_WQE ucontext and create a QP; no CAP_SYS_ADMIN, init-namespace root, or other elevated capability is needed on typical HPC/cloud RDMA hosts.\nUI:N - The attacker triggers the bug entirely through their own alloc_context/create_qp sequence with crafted sq_slots; no cooperative action by another user, administrator, or victim is required.\nS:C - On Kubernetes/HPC hosts that expose bnxt_re to unprivileged RDMA workloads or containers, corrupting host-kernel memory or NIC DMA state from a tenant create_qp escapes the workload security boundary to the hypervisor/host authority.\nC:H - Unvalidated sq_slots drives integer overflow in SQ/PSN byte sizing and can register undersized ib_umem while programming firmware with a far larger sq_size, enabling out-of-bounds DMA reads and kernel memory disclosure beyond the mapped queue buffer.\nI:H - Oversized sq_slots values program hardware queue depth beyond the registered user buffer and corrupt queue/PSN metadata sizing, yielding out-of-bounds writes and exploitable memory corruption rather than a benign error return.\nA:H - Invalid zero or >64K slot counts can kernel-oops during QP setup (e.g., inconsistent HWQ/PSN allocation) and misprogrammed queue depths can panic or hang the host when the adapter accesses nonexistent queue memory."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:45:05.370Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.18.57"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-72497","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T18:51:09.318750Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T18:55:27.288Z"}}]}}}