CVE Catalog

CVE-2024-42094

High
Published: Translated: NVD NIST

Summary

A vulnerability has been identified in the Linux kernel related to the allocation of the cpumask variable on the stack, which may lead to stack overflow. It has been resolved by recommending the use of the *cpumask_var API for neutral configuration allocation of the cpumask variable.

Risk Assessment

Potential stack overflow could lead to system crashes or allow an attacker to execute malicious code. Organizations should be aware of the risks associated with improper variable allocation in the kernel.

Recommendation

It is recommended to update the kernel to a version that includes the fix and to use the *cpumask_var API for allocating cpumask variables.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS