VDB

CVE-2026-53187

CVE-2026-53187 PUBLISHED CVSS 7.1 HIGH

RDMA/core: Validate cpu_id against nr_cpu_ids in DMAH alloc

Reported by linux · Published June 25, 2026

In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Validate cpu_id against nr_cpu_ids in DMAH alloc The cpu_id attribute supplied by user space through UVERBS_ATTR_ALLOC_DMAH_CPU_ID is passed directly to cpumask_test_cpu() without first verifying that the value is within the valid CPU range. Passing such untrusted data to cpumask_test_cpu() may lead to an out-of-bounds read of the underlying cpumask bitmap: the helper expands to a test_bit() that indexes the bitmap by cpu_id / BITS_PER_LONG with no bound check. In addition, on kernels built with CONFIG_DEBUG_PER_CPU_MAPS it trips the WARN_ON_ONCE() in cpumask_check(); combined with panic_on_warn this turns a bad user input into a machine reboot. Reject any cpu_id that is not smaller than nr_cpu_ids with -EINVAL before it is used. Reported by Smatch.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perf6.18Amazon Linux1:6.18.36-69.134.amzn2023
kernel6.18Amazon Linux1:6.18.36-69.134.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.36-69.134.amzn2023
perf6.18Amazon Linux1:6.18.36-69.134.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.36-69.134.amzn2023
linux-qemu-melangeChainguard6.18.38-r0
linux_kernellinux7.0.13, 6.18.36
LinuxLinuxbd5e818be7964c1689fba2dad9e6bd3a827fee74, 323c98a4ff06aa28114f2bf658fb43eb3b536bbc, 0efbb6b54ff56300867027d8e0800d0e32226a20

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxd83edab562a496a42720902a1d2effccd05c37c5, d83edab562a496a42720902a1d2effccd05c37c5, d83edab562a496a42720902a1d2effccd05c37c5
LinuxLinux6.17, 0, 6.18.36
amazon:2023python3-perf6.180
amazon:2023kernel6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra-common0
chainguardlinux-qemu-melange0
LinuxLinux7.1, *, *
amazon:2023kernel-livepatch-6.18.36-69.1340
amazon:2023kernel6.18-tools-devel0
chainguardlinux-vmware-6.180
chainguardlinux-qemu-6.180
amazon:2023microvm-kernel6.180
linuxlinux_kernel6.17, 6.17, 6.17
chainguardlinux-gcp-6.180
amazon:2023kernel6.18-headers0
chainguardlinux-aws-6.180
chainguardlinux-azure-6.180
amazon:2023kernel6.18-devel0

…and 2 more

Timeline

  • Jun 24, 2026 CVE Published
  • Jun 26, 2026 EPSS Score (9 in total, the first dated here)
  • Jun 26, 2026 Coalition ESS Score
  • Jun 29, 2026 Security Advisory (64 in total, the first dated here)
  • Aug 11, 2026 Distribution Patch (63 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-53187
vulnetix vdb fixes CVE-2026-53187

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53187/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›