{"schema_version":"1.9.0","id":"CVE-2024-41032","published":"2024-07-29T14:31:47.600Z","modified":"2026-08-12T03:51:39.901395321Z","related":["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"],"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.","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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.4.0"},{"fixed":"6.6.41"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.9.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41032.json"}}],"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"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41032.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}