CVE-2024-42094

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
29/07/2024
Last modified:
03/11/2025

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.19.317 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.20 (including) 5.4.279 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.221 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.162 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.97 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.37 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.9.8 (excluding)