CVE-2026-53187
published high CVSS 3.1 · 7.1RDMA/core: Validate cpu_id against nr_cpu_ids in DMAH alloc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd83edab562a496a42720902a1d2effccd05c37c5 to < bd5e818be7964c1689fba2dad9e6bd3a827fee74 · d83edab562a496a42720902a1d2effccd05c37c5 to < 0efbb6b54ff56300867027d8e0800d0e32226a20 · d83edab562a496a42720902a1d2effccd05c37c5 to < 323c98a4ff06aa28114f2bf658fb43eb3b536bbc · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.18.36 through 6.18.* (unaffected · semver) · 7.0.13 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1925 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | noble | linux-aws-7.0 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-aws-7.0-cloud-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-aws-7.0-headers-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-aws-7.0-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-azure-7.0 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-headers-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-headers-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-headers-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-lib-rust-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-evdi-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-ipu6-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-ipu7-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-usbio-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-vision-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-nvidia-7.0 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-nvidia-7.0-headers-7.0.0-1018 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-nvidia-7.0-tools-7.0.0-1018 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-tools-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-tools-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-tools-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | resolute | bpftool | Advisory build | 7.7.0+7.0.0-31.31 | USN-8726-1 |
| Ubuntu | resolute | linux | Advisory build | 7.0.0-31.31 | USN-8726-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-headers-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-azure | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
| Ubuntu | resolute | linux-azure-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
| Ubuntu | resolute | linux-azure-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Scenarios
- en: AV:L - The vulnerable path is reached by a local RDMA uverbs ioctl on /dev/infiniband/uverbsN, specifically RDMA_VERBS_IOCTL selecting UVERBS_METHOD_DMAH_ALLOC. It is not exposed by incoming network packets or remote RDMA traffic. AC:L - An attacker can supply an out-of-range UVERBS_ATTR_ALLOC_DMAH_CPU_ID directly in one ioctl, with no race or victim-controlled timing requirement. The only deployment prerequisite is an affected RDMA device exposing the DMAH uverbs method. PR:L - The uverbs ioctl path has no CAP_* check for DMAH allocation, and RDMA uverbs devices are designed to be usable by non-root users when the device node is accessible. This requires local low-privileged access rather than real administrator privileges. UI:N - No victim action is needed after the attacker has local access to the uverbs device. The attacker triggers the bug directly through the ioctl. S:U - The bug affects kernel RDMA/core processing within the same host kernel security authority. It does not cross a VM, IOMMU, or separate authorization boundary. C:H - The unchecked cpu_id is passed to cpumask_test_cpu(), which expands to test_bit() on current->cpus_ptr without a bounds check, creating an out-of-bounds kernel memory read. The result influences the returned error/path, making a kernel memory bit oracle defensible. I:N - The identified primitive is an out-of-bounds read of a cpumask bitmap and no kernel out-of-bounds write or control-flow corruption was found on the traced path. Passing the value onward only affects TPH steering-tag allocation if the read happens to pass. A:H - Large invalid cpu_id values can trigger CONFIG_DEBUG_PER_CPU_MAPS WARN_ON_ONCE(), and with panic_on_warn this reboots the machine. The same unchecked test_bit() can also fault from an out-of-bounds kernel read, making kernel oops/panic availability impact defensible.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | d83edab562a496a42720902a1d2effccd05c37c5 to < bd5e818be7964c1689fba2dad9e6bd3a827fee74 (affected · git)d83edab562a496a42720902a1d2effccd05c37c5 to < 0efbb6b54ff56300867027d8e0800d0e32226a20 (affected · git)d83edab562a496a42720902a1d2effccd05c37c5 to < 323c98a4ff06aa28114f2bf658fb43eb3b536bbc (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.17 (affected)0 to < 6.17 (unaffected · semver)6.18.36 through 6.18.* (unaffected · semver)7.0.13 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
3Provider assertions
2Linux · cna
RDMA/core: Validate cpu_id against nr_cpu_ids in DMAH alloc
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 52091e791ddaf8a1922d5ade078e4908f7ccf4d89238b90d8e9bf78fe36671fa
- Ingested
- 19 Oct 2026, 20:03:15 UTC
- Source record
- Official CVE record