net/dpaa2: Avoid explicit cpumask var allocation on stack
Summary
| CVE | CVE-2024-42093 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-07-29 18:15:11 UTC |
| Updated | 2026-05-12 12:17:04 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.3 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
Problem Types: CWE-787
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 93ddf0b211a0a0367d01c9587169c16ed77b4b98 b2262b3be27cee334a2fa175ae3afb53f38fb0b1 git | Not specified |
| CNA | Linux | Linux | affected 93ddf0b211a0a0367d01c9587169c16ed77b4b98 763896ab62a672d728f5eb10ac90d98c607a8509 git | Not specified |
| CNA | Linux | Linux | affected 93ddf0b211a0a0367d01c9587169c16ed77b4b98 a55afc0f5f20ba30970aaf7271929dc00eee5e7d git | Not specified |
| CNA | Linux | Linux | affected 93ddf0b211a0a0367d01c9587169c16ed77b4b98 48147337d7efdea6ad6e49f5b8eb894b95868ef0 git | Not specified |
| CNA | Linux | Linux | affected 93ddf0b211a0a0367d01c9587169c16ed77b4b98 69f49527aea12c23b78fb3d0a421950bf44fb4e2 git | Not specified |
| CNA | Linux | Linux | affected 93ddf0b211a0a0367d01c9587169c16ed77b4b98 5e4f25091e6d06e99a23f724c839a58a8776a527 git | Not specified |
| CNA | Linux | Linux | affected 93ddf0b211a0a0367d01c9587169c16ed77b4b98 d33fe1714a44ff540629b149d8fab4ac6967585c git | Not specified |
| CNA | Linux | Linux | affected 4.16 | Not specified |
| CNA | Linux | Linux | unaffected 4.16 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.279 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.221 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.162 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.97 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.37 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.9.8 6.9.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.10 * original_commit_for_fix | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | affected V3.1 custom | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | unaffected * custom | Not specified |
| ADP | Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family | unaffected * custom | Not specified |
| ADP | Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family | unaffected * custom | Not specified |
| ADP | Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 Family | affected V3.1 custom | Not specified |
| ADP | Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 Family | unaffected * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/5e4f25091e6d06e99a23f724c839a58a8776a527 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/a55afc0f5f20ba30970aaf7271929dc00eee5e7d | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/b2262b3be27cee334a2fa175ae3afb53f38fb0b1 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/48147337d7efdea6ad6e49f5b8eb894b95868ef0 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-613116.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| cert-portal.siemens.com/productcert/html/ssa-355557.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/763896ab62a672d728f5eb10ac90d98c607a8509 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/69f49527aea12c23b78fb3d0a421950bf44fb4e2 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d33fe1714a44ff540629b149d8fab4ac6967585c | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/01/msg00001.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.