CVE-2026-93277
published high CVSS 3.1 · 7.8RDMA/bnxt_re: Validate udata before executing commands
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxbed686d8dcd4fbcaa18cf67468caaf8772acfc7a to < c5643ea4f040acc2f4d1e88f49bd0be51110ff2f · bed686d8dcd4fbcaa18cf67468caaf8772acfc7a to < d38c835925d4a3bfdf0a85ff2829ee90c709c561 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.2.6 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.2.8-1.1 | OPENSUSE-SU-2026:11893-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/bnxt_re: Validate udata before executing commands The destroy callbacks currently zero the udata output after tearing down driver resources. If the userspace access fails, uverbs preserves the uobject and allows the destroy callback to run again, even though the driver resource has already been freed. Call ib_no_udata_io() before teardown so udata failures are detected while the resource is still intact, then return success after teardown completes. As part of this change, move ib_respond_empty_udata() to the start of the create and modify flows. While this is not strictly required for general create flows, as the core layer unwinds uobjects on failure, it is necessary for create AH. In _rdma_create_ah(), the HW object is otherwise leaked.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The attacker-controlled input is the UVERBS_ATTR_UHW_OUT pointer that ib_uverbs_ioctl's UVERBS_METHOD_INVOKE_WRITE copies into attrs->driver_udata; bnxt_re_dereg_mr, bnxt_re_dealloc_pd, bnxt_re_destroy_qp, bnxt_re_destroy_cq and bnxt_re_destroy_srq then clear_user that buffer via ib_respond_empty_udata after teardown. RoCE receive never supplies that udata. AC:L - Mapping a PROT_READ/PROT_NONE page and passing it as UHW_OUT on INVOKE_WRITE IB_USER_VERBS_CMD_DEREG_MR (or DEALLOC_PD/DESTROY_QP/CQ/SRQ) makes ib_respond_empty_udata's clear_user fail after bnxt_re_dereg_mr kfree(mr); uverbs_destroy_uobject then keeps uobj->object and a second destroy or close() retries destroy_hw. No race or layout the attacker cannot arrange. PR:L - uverbs_devnode() creates /dev/infiniband/uverbs* mode 0666 and ib_uverbs_open() only checks rdma_dev_access_netns(), so an unprivileged process can GET_CONTEXT, REG_MR, then INVOKE_WRITE DEREG_MR without CAP_SYS_ADMIN or init-namespace root. UI:N - The attacker opens their own uverbs fd, creates an MR/PD/QP/CQ/SRQ, then issues INVOKE_WRITE destroy with a non-writable UHW_OUT and a follow-up destroy or close(); no other user must mount, open, or click. S:U - The double-free is of the host kernel's bnxt_re_mr (kfree in bnxt_re_dereg_mr) and related driver objects (fence->mr, cq->cql, umem). It is local privilege escalation and does not cross a VM, IOMMU, or guest-to-host boundary. C:H - bnxt_re_dereg_mr kfree(mr) then returns -EFAULT from ib_respond_empty_udata, so uobj->object still points at the freed bnxt_re_mr; the second destroy_hw walks that slab, and reclaiming it yields an arbitrary kernel read. I:H - The same preserved uobject lets the attacker spray the freed bnxt_re_mr (and fence->mr from bnxt_re_destroy_fence_mr on PD destroy, or cq->cql from bnxt_re_destroy_cq) and hijack the second destroy_hw/kfree, which is an arbitrary write and control-flow primitive. A:H - Retrying destroy or closing the uverbs fd after the failed ib_respond_empty_udata double-frees mr/cql/umem and re-enters bnxt_qplib_destroy_qp/cq/srq on already-destroyed firmware objects, which oopses or panics the host.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | bed686d8dcd4fbcaa18cf67468caaf8772acfc7a to < c5643ea4f040acc2f4d1e88f49bd0be51110ff2f (affected · git)bed686d8dcd4fbcaa18cf67468caaf8772acfc7a to < d38c835925d4a3bfdf0a85ff2829ee90c709c561 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.1 (affected)0 to < 7.1 (unaffected · semver)7.2.6 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
RDMA/bnxt_re: Validate udata before executing commands
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e6772a733757801815803325b64db356be6bd5c294c252c419c43f7de7881388
- Ingested
- 19 Oct 2026, 09:34:28 UTC
- Source record
- Official CVE record