CVE-2026-74584

RDMA/bnxt_re: zero shared page before exposing to userspace

State
Published
Severity
7.1 High
Published
Aug 22, 2026
Updated
Oct 16, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

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().

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 to before 53c97e9882f4e747b4ac31b211317c2eba541af9Affected
  • 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 to before 9896bdfd21d918e9f26a52bc6109cc77970ee0b1Affected
  • 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 to before 9128c2411b83a64c0a69d2ff059c741bde25a9ccAffected
  • 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 to before c19b360fa10c521c0b681875cdaa51545d45a491Affected
  • 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 to before a3ed2daab02b2a706e882ad31b5c3c4f33cb5bb1Affected
  • 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 to before e2b143df29003d2704b51f62e9297006953dbacbAffected
  • 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 to before c75f8ce4baa29ae57fe615c6a2c5101f59b8b89aAffected
  • 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 to before f6b079629becfa977f9c51fe53ad2e6dcc55ef44Affected
LinuxLinux
  • 4.11Affected
  • before 4.11Not affected
  • 5.10.260 through 5.10.*Not affected
  • 5.15.211 through 5.15.*Not affected
  • 6.1.177 through 6.1.*Not affected
  • 6.6.144 through 6.6.*Not affected
  • 6.12.95 through 6.12.*Not affected
  • 6.18.37 through 6.18.*Not affected
  • 7.0.14 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.