# CVE-2024-41032: mm: vmalloc: check if a hash-index is in cpu_possible_mask

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2024-07-29T14:31:47.600Z
- Modified: 2026-08-05T11:34:50.674Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 6.4 before 6.6.41; from 6.7 before 6.9.10; 6.10

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/28acd531c9a365dac01b32e6bc54aed8c1429bcb> (patch)
- <https://git.kernel.org/stable/c/47f9b6e49b422392fb0e348a65eb925103ba1882> (patch)
- <https://git.kernel.org/stable/c/a34acf30b19bc4ee3ba2f1082756ea2604c19138> (patch)

## Sources

- CVE List: [CVE-2024-41032](https://www.cve.org/CVERecord?id=CVE-2024-41032), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-41032](https://nvd.nist.gov/vuln/detail/CVE-2024-41032), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-41032 · Whole record: https://cve.day/CVE-2024-41032.json · Rebuilt by cve.day 2026-11-25T22:58:43.294Z
