CVE-2026-74584
RDMA/bnxt_re: zero shared page before exposing to userspace
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/bnxt_re: zero shared page before exposing to userspace bnxt_re_alloc_ucontext() allocates uctx->shpg via __get_free_page(GFP_KERNEL). The buddy allocator does not zero pages without __GFP_ZERO, so the page contains stale kernel data from whatever object most recently freed it. The page is then mapped into userspace via vm_insert_page() under BNXT_RE_MMAP_SH_PAGE in bnxt_re_mmap(). The driver only ever writes 4 bytes (a u32 AVID) at offset BNXT_RE_AVID_OFFT (0x10) inside bnxt_re_create_ah(); the remaining 4092 bytes of the page are exposed to userspace unsanitised, leaking kernel memory contents. Any user with access to /dev/infiniband/uverbsX on a host with a bnxt_re device (typically rdma group membership) can read this data via a single mmap() at pgoff 0 after IB_USER_VERBS_CMD_GET_CONTEXT. Other shared pages in the same file already use get_zeroed_page() correctly: drivers/infiniband/hw/bnxt_re/ib_verbs.c srq->uctx_srq_page = (void *)get_zeroed_page(GFP_KERNEL); cq->uctx_cq_page = (void *)get_zeroed_page(GFP_KERNEL); uctx->shpg is the only outlier. Bring it in line with the existing convention by switching to get_zeroed_page().
INFO
Published Date :
Aug. 22, 2026, 3:16 p.m.
Last Modified :
Aug. 25, 2026, 6:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Use get_zeroed_page() instead of __get_free_page() for allocating shared pages.
- Ensure all shared pages are properly zeroed before mapping to userspace.
- Review memory allocation practices for sensitive data exposure.
- Update the Linux kernel to the latest secure version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74584.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74584 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74584
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74584 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74584 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 25, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 22, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1ac5a404797523cedaf424a3aaa3cf8f9548dff8', 'lessThan': '53c97e9882f4e747b4ac31b211317c2eba541af9', 'versionType': 'git'}, {'status': 'affected', 'version': '1ac5a404797523cedaf424a3aaa3cf8f9548dff8', 'lessThan': '9896bdfd21d918e9f26a52bc6109cc77970ee0b1', 'versionType': 'git'}, {'status': 'affected', 'version': '1ac5a404797523cedaf424a3aaa3cf8f9548dff8', 'lessThan': '9128c2411b83a64c0a69d2ff059c741bde25a9cc', 'versionType': 'git'}, {'status': 'affected', 'version': '1ac5a404797523cedaf424a3aaa3cf8f9548dff8', 'lessThan': 'c19b360fa10c521c0b681875cdaa51545d45a491', 'versionType': 'git'}, {'status': 'affected', 'version': '1ac5a404797523cedaf424a3aaa3cf8f9548dff8', 'lessThan': 'a3ed2daab02b2a706e882ad31b5c3c4f33cb5bb1', 'versionType': 'git'}, {'status': 'affected', 'version': '1ac5a404797523cedaf424a3aaa3cf8f9548dff8', 'lessThan': 'e2b143df29003d2704b51f62e9297006953dbacb', 'versionType': 'git'}, {'status': 'affected', 'version': '1ac5a404797523cedaf424a3aaa3cf8f9548dff8', 'lessThan': 'c75f8ce4baa29ae57fe615c6a2c5101f59b8b89a', 'versionType': 'git'}, {'status': 'affected', 'version': '1ac5a404797523cedaf424a3aaa3cf8f9548dff8', 'lessThan': 'f6b079629becfa977f9c51fe53ad2e6dcc55ef44', 'versionType': 'git'}], 'programFiles': ['drivers/infiniband/hw/bnxt_re/ib_verbs.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.11'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.11', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.260', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.211', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.177', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.144', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.95', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.37', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.14', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/infiniband/hw/bnxt_re/ib_verbs.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: RDMA/bnxt_re: zero shared page before exposing to userspace bnxt_re_alloc_ucontext() allocates uctx->shpg via __get_free_page(GFP_KERNEL). The buddy allocator does not zero pages without __GFP_ZERO, so the page contains stale kernel data from whatever object most recently freed it. The page is then mapped into userspace via vm_insert_page() under BNXT_RE_MMAP_SH_PAGE in bnxt_re_mmap(). The driver only ever writes 4 bytes (a u32 AVID) at offset BNXT_RE_AVID_OFFT (0x10) inside bnxt_re_create_ah(); the remaining 4092 bytes of the page are exposed to userspace unsanitised, leaking kernel memory contents. Any user with access to /dev/infiniband/uverbsX on a host with a bnxt_re device (typically rdma group membership) can read this data via a single mmap() at pgoff 0 after IB_USER_VERBS_CMD_GET_CONTEXT. Other shared pages in the same file already use get_zeroed_page() correctly: drivers/infiniband/hw/bnxt_re/ib_verbs.c srq->uctx_srq_page = (void *)get_zeroed_page(GFP_KERNEL); cq->uctx_cq_page = (void *)get_zeroed_page(GFP_KERNEL); uctx->shpg is the only outlier. Bring it in line with the existing convention by switching to get_zeroed_page(). Added Reference https://git.kernel.org/stable/c/53c97e9882f4e747b4ac31b211317c2eba541af9 Added Reference https://git.kernel.org/stable/c/9128c2411b83a64c0a69d2ff059c741bde25a9cc Added Reference https://git.kernel.org/stable/c/9896bdfd21d918e9f26a52bc6109cc77970ee0b1 Added Reference https://git.kernel.org/stable/c/a3ed2daab02b2a706e882ad31b5c3c4f33cb5bb1 Added Reference https://git.kernel.org/stable/c/c19b360fa10c521c0b681875cdaa51545d45a491 Added Reference https://git.kernel.org/stable/c/c75f8ce4baa29ae57fe615c6a2c5101f59b8b89a Added Reference https://git.kernel.org/stable/c/e2b143df29003d2704b51f62e9297006953dbacb Added Reference https://git.kernel.org/stable/c/f6b079629becfa977f9c51fe53ad2e6dcc55ef44