CVE-2024-41032

mm: vmalloc: check if a hash-index is in cpu_possible_mask

MEDIUM
5.5
CVSS Score
Published: July 29, 2024 at 02:31 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.4 ≤ v < 6.106.4 ≤ v < 6.6.416.4 ≤ v < 6.9.106.7 ≤ v < 6.9.106.10 rc16.10 rc26.10 rc36.10 rc46.10 rc56.10 rc66.10 rc762eacf57ad91b5c272f89dc964fd6dd9715ea7d
Vendor states this is fixed in 28acd531c9a365dac01b32e6bc54aed8c1429bcb (fixed)
Vendor states this is fixed in 47f9b6e49b422392fb0e348a65eb925103ba1882 (fixed)
Vendor states this is fixed in a34acf30b19bc4ee3ba2f1082756ea2604c19138 (fixed)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.4 (unaffected)
Vendor states this is fixed in 6.6.41 (unaffected)
Vendor states this is fixed in 6.9.10 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/28acd531c9a365dac01b32e6bc54aed8c1429bcb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/47f9b6e49b422392fb0e348a65eb925103ba1882
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a34acf30b19bc4ee3ba2f1082756ea2604c19138

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card