CVE Catalog

CVE-2024-42093

High
Published: Translated: NVD NIST

Summary

A vulnerability in the Linux kernel related to the allocation of cpumask variable on the stack has been resolved. When CONFIG_CPUMASK_OFFSTACK is enabled, such allocation can lead to potential stack overflow.

Risk Assessment

Organizations may be at risk of stack overflow, which could lead to system crashes or unauthorized access to memory.

Recommendation

It is recommended that kernel code always use *cpumask_var API(s) to allocate cpumask variable in a config-neutral way.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: net/dpaa2: 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