Instituto Nacional de ciberseguridad. Sección Incibe
Instituto Nacional de Ciberseguridad. Sección INCIBE-CERT

CVE-2026-53187

Gravedad CVSS v3.1:
ALTA
Tipo:
CWE-787 Escritura fuera de límites
Fecha de publicación:
25/06/2026
Última modificación:
06/07/2026

Descripción

*** Pendiente de traducción *** 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.

Productos y versiones vulnerables

CPE Desde Hasta
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.17 (incluyendo) 6.18.36 (excluyendo)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 (incluyendo) 7.0.13 (excluyendo)
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:*:*:*:*:*:*