{"id":"CVE-2024-41032","summary":"mm: vmalloc: check if a hash-index is in cpu_possible_mask","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm: vmalloc: check if a hash-index is in cpu_possible_mask\n\nThe problem is that there are systems where cpu_possible_mask has gaps\nbetween set CPUs, for example SPARC.  In this scenario addr_to_vb_xa()\nhash function can return an index which accesses to not-possible and not\nsetup CPU area using per_cpu() macro.  This results in an oops on SPARC.\n\nA per-cpu vmap_block_queue is also used as hash table, incorrectly\nassuming the cpu_possible_mask has no gaps.  Fix it by adjusting an index\nto a next possible CPU.","modified":"2026-04-02T11:52:26.904584Z","published":"2024-07-29T14:31:47.600Z","related":["MGASA-2024-0277","MGASA-2024-0278","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41032.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/28acd531c9a365dac01b32e6bc54aed8c1429bcb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/47f9b6e49b422392fb0e348a65eb925103ba1882"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a34acf30b19bc4ee3ba2f1082756ea2604c19138"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41032.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41032"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"062eacf57ad91b5c272f89dc964fd6dd9715ea7d"},{"fixed":"28acd531c9a365dac01b32e6bc54aed8c1429bcb"},{"fixed":"47f9b6e49b422392fb0e348a65eb925103ba1882"},{"fixed":"a34acf30b19bc4ee3ba2f1082756ea2604c19138"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41032.json"}}],"schema_version":"1.7.5"}