All reports
Medium

kernel: net/iucv: Avoid explicit cpumask var allocation on stack

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-42094

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-20

Description

In the Linux kernel, the following vulnerability has been resolved: net/iucv: Avoid explicit cpumask var allocation on stack For CONFIG_CPUMASK_OFFSTACK=y kernel, explicit allocation of cpumask variable on stack is not recommended since it can cause potential stack overflow. Instead, kernel code should always use *cpumask_var API(s) to allocate cpumask var in config-neutral way, leaving allocation strategy to CONFIG_CPUMASK_OFFSTACK. Use *cpumask_var API(s) to address it.

A flaw was found in the Linux kernel's net/iucv component. This vulnerability arises when a specific kernel configuration (CONFIG_CPUMASK_OFFSTACK=y) is enabled, allowing for explicit allocation of cpumask variables directly on the system's memory stack. An attacker could exploit this to trigger a stack overflow, potentially leading to a Denial of Service (DoS) condition, which would make the system unavailable.