CVE-2024-42093 Details
Description
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.
A vulnerability exists in the Linux kernel's DPAA2 Ethernet driver, specifically in versions prior to the fix, where the allocation of CPUMASK variables on the stack is discouraged. This practice can lead to potential stack overflow issues. The vulnerability is present in kernels with the CONFIG_CPUMASK_OFFSTACK option enabled. Instead of allocating CPUMASK variables directly on the stack, which can cause overflow, the kernel should use the CPUMASK_VAR API to allocate these variables in a configuration-neutral manner, allowing the allocation strategy to be managed by the CPUMASK_OFFSTACK setting.
The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version of the kernel where this issue has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 5.4.279 >= 5.5, < 5.10.221 >= 5.11, < 5.15.162 >= 5.16, < 6.1.97 >= 6.2, < 6.6.37 >= 6.7, < 6.9.8 |
CPE
Remediation
| |
Change History
12 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | siemens-SADP |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CVE |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Nov 3, 2025 | CVE Modified | CVE |
| May 21, 2025 | Modified Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Aug 26, 2024 | Initial Analysis | [email protected] |
| Jul 29, 2024 | New CVE Received | kernel.org |