CVE-2026-53187
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.18 | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| linux-qemu-melange | Chainguard | 6.18.38-r0 |
| linux_kernel | linux | 7.0.13, 6.18.36 |
| Linux | Linux | bd5e818be7964c1689fba2dad9e6bd3a827fee74, 323c98a4ff06aa28114f2bf658fb43eb3b536bbc, 0efbb6b54ff56300867027d8e0800d0e32226a20 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d83edab562a496a42720902a1d2effccd05c37c5, d83edab562a496a42720902a1d2effccd05c37c5, d83edab562a496a42720902a1d2effccd05c37c5 |
| Linux | Linux | 6.17, 0, 6.18.36 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| chainguard | linux-qemu-melange | 0 |
| Linux | Linux | 7.1, *, * |
| amazon:2023 | kernel-livepatch-6.18.36-69.134 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| chainguard | linux-vmware-6.18 | 0 |
| chainguard | linux-qemu-6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| linux | linux_kernel | 6.17, 6.17, 6.17 |
| chainguard | linux-gcp-6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| chainguard | linux-aws-6.18 | 0 |
| chainguard | linux-azure-6.18 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
…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