{"id":"CVE-2026-74584","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/bnxt_re: zero shared page before exposing to userspace\n\nbnxt_re_alloc_ucontext() allocates uctx->shpg via\n__get_free_page(GFP_KERNEL)","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/bnxt_re: zero shared page before exposing to userspace\n\nbnxt_re_alloc_ucontext() allocates uctx->shpg via\n__get_free_page(GFP_KERNEL). The buddy allocator does not…","severity":"high","cvss":7.1,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","vendor":"Linux","product":"Linux","affected":["Linux >= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 < 53c97e9882f4e747b4ac31b211317c2eba541af9","Linux >= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 < 9896bdfd21d918e9f26a52bc6109cc77970ee0b1","Linux >= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 < 9128c2411b83a64c0a69d2ff059c741bde25a9cc","Linux >= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 < c19b360fa10c521c0b681875cdaa51545d45a491","Linux >= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 < a3ed2daab02b2a706e882ad31b5c3c4f33cb5bb1","Linux >= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 < e2b143df29003d2704b51f62e9297006953dbacb","Linux >= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 < c75f8ce4baa29ae57fe615c6a2c5101f59b8b89a","Linux >= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 < f6b079629becfa977f9c51fe53ad2e6dcc55ef44","Linux 4.11"],"published":"2026-08-22","updated":"2026-10-16","sourceUpdated":"2026-10-16T20:17:40.707","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-74584","references":[{"url":"https://git.kernel.org/stable/c/53c97e9882f4e747b4ac31b211317c2eba541af9","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9128c2411b83a64c0a69d2ff059c741bde25a9cc","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9896bdfd21d918e9f26a52bc6109cc77970ee0b1","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a3ed2daab02b2a706e882ad31b5c3c4f33cb5bb1","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c19b360fa10c521c0b681875cdaa51545d45a491","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c75f8ce4baa29ae57fe615c6a2c5101f59b8b89a","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e2b143df29003d2704b51f62e9297006953dbacb","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f6b079629becfa977f9c51fe53ad2e6dcc55ef44","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"tags":["nvd","cve.org"],"epss":0.00182,"epssPercentile":0.07757,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-16T19:01:20.354025Z"},"ingestedAt":"2026-08-23T04:42:15.657Z","slug":"CVE-2026-74584","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/bnxt_re: zero shared page before exposing to userspace\n\nbnxt_re_alloc_ucontext() allocates uctx->shpg via\n__get_free_page(GFP_KERNEL). The buddy allocator does not zero pages\nwithout __GFP_ZERO, so the page contains stale kernel data from\nwhatever object most recently freed it.\n\nThe page is then mapped into userspace via vm_insert_page() under\nBNXT_RE_MMAP_SH_PAGE in bnxt_re_mmap(). The driver only ever writes\n4 bytes (a u32 AVID) at offset BNXT_RE_AVID_OFFT (0x10) inside\nbnxt_re_create_ah(); the remaining 4092 bytes of the page are exposed\nto userspace unsanitised, leaking kernel memory contents.\n\nAny user with access to /dev/infiniband/uverbsX on a host with a\nbnxt_re device (typically rdma group membership) can read this data\nvia a single mmap() at pgoff 0 after IB_USER_VERBS_CMD_GET_CONTEXT.\n\nOther shared pages in the same file already use get_zeroed_page()\ncorrectly:\n\n  drivers/infiniband/hw/bnxt_re/ib_verbs.c\n      srq->uctx_srq_page = (void *)get_zeroed_page(GFP_KERNEL);\n      cq->uctx_cq_page  = (void *)get_zeroed_page(GFP_KERNEL);\n\nuctx->shpg is the only outlier. Bring it in line with the existing\nconvention by switching to get_zeroed_page().\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":39.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":220142,"id":"CVE-2026-74584","ts":1791984786417,"field":"cvss","old":null,"new":"7.1"},{"seq":220141,"id":"CVE-2026-74584","ts":1791984786417,"field":"severity","old":"none","new":"high"}]}