7.8high
mm: vmalloc: check if a hash-index is in cpu_possible_mask
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: mm: vmalloc: check if a hash-index is in cpu_possible_mask The problem is that there are systems where cpu_possible_mask has gaps between set CPUs, for example SPARC. In this scenario addr_to_vb_xa() hash function can return an index which accesses to not-possible and not setup CPU area using per_cpu() macro. This results in an oops on SPARC. A per-cpu vmap_block_queue is also used as hash table, incorrectly assuming the cpu_possible_mask has no gaps. Fix it by adjusting an index to a next possible CPU.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 062eacf57ad91b5c272f89dc964fd6dd9715ea7d before 28acd531c9a365dac01b32e6bc54aed8c1429bcb, from 062eacf57ad91b5c272f89dc964fd6dd9715ea7d before 47f9b6e49b422392fb0e348a65eb925103ba1882, from 062eacf57ad91b5c272f89dc964fd6dd9715ea7d before a34acf30b19bc4ee3ba2f1082756ea2604c19138, 6.4 Not affected: before 6.4, from 6.6.41 up to 6.6.*, from 6.9.10 up to 6.9.*, from 6.10 up to * | CVE List |
| linux linux_kernel | from 6.4 before 6.6.41, from 6.7 before 6.9.10, 6.10 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: mm: vmalloc: check if a hash-index is in cpu_possible_mask The problem is that there are systems where cpu_possible_mask has gaps between set CPUs, for example SPARC. In this scenario addr_to_vb_xa() hash function can return an index which accesses to not-possible and not setup CPU area using per_cpu() macro. This results in an oops on SPARC. A per-cpu vmap_block_queue is also used as hash table, incorrectly assuming the cpu_possible_mask has no gaps. Fix it by adjusting an index to a next possible CPU.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mm: vmalloc: comprueba si hay un índice hash en cpu_possible_mask El problema es que hay sistemas donde cpu_possible_mask tiene espacios entre las CPU configuradas, por ejemplo SPARC. En este escenario, la función hash addr_to_vb_xa() puede devolver un índice que accede a un área de CPU no posible y no configurada usando la macro per_cpu(). Esto da como resultado un ¡Uy en SPARC! También se utiliza una vmap_block_queue por CPU como tabla hash, asumiendo incorrectamente que cpu_possible_mask no tiene espacios. Solucionarlo ajustando un índice a la siguiente CPU posible.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-41032 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-41032 changed 2026-08-04 | Public domain |