CVE-2026-53187
Severity CVSS v4.0:
Pending analysis
Type:
CWE-787
Out-of-bounds Write
Publication date:
25/06/2026
Last modified:
06/07/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
RDMA/core: Validate cpu_id against nr_cpu_ids in DMAH alloc<br />
<br />
The cpu_id attribute supplied by user space through<br />
UVERBS_ATTR_ALLOC_DMAH_CPU_ID is passed directly to cpumask_test_cpu()<br />
without first verifying that the value is within the valid CPU range.<br />
<br />
Passing such untrusted data to cpumask_test_cpu() may lead to an<br />
out-of-bounds read of the underlying cpumask bitmap: the helper expands<br />
to a test_bit() that indexes the bitmap by cpu_id / BITS_PER_LONG with<br />
no bound check.<br />
<br />
In addition, on kernels built with CONFIG_DEBUG_PER_CPU_MAPS it trips<br />
the WARN_ON_ONCE() in cpumask_check(); combined with panic_on_warn this<br />
turns a bad user input into a machine reboot.<br />
<br />
Reject any cpu_id that is not smaller than nr_cpu_ids with -EINVAL<br />
before it is used.<br />
<br />
Reported by Smatch.
Impact
Base Score 3.x
7.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.17 (including) | 6.18.36 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (including) | 7.0.13 (excluding) |
| cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



