7.8
HIGH
CVE-2024-42094
Linux kernel IUCV CPU Mask Stack Overflow Vulnerability
Description

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.

INFO

Published Date :

July 29, 2024, 6:15 p.m.

Last Modified :

Aug. 27, 2024, 2:07 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-42094 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-42094 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-42094 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Aug. 27, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://git.kernel.org/stable/c/0af718a690acc089aa1bbb95a93df833d864ef53 No Types Assigned https://git.kernel.org/stable/c/0af718a690acc089aa1bbb95a93df833d864ef53 Patch
    Changed Reference Type https://git.kernel.org/stable/c/2b085521be5292016097b5e7ca81b26be3f7098d No Types Assigned https://git.kernel.org/stable/c/2b085521be5292016097b5e7ca81b26be3f7098d Patch
    Changed Reference Type https://git.kernel.org/stable/c/2d090c7f7be3b26fcb80ac04d08a4a8062b1d959 No Types Assigned https://git.kernel.org/stable/c/2d090c7f7be3b26fcb80ac04d08a4a8062b1d959 Patch
    Changed Reference Type https://git.kernel.org/stable/c/724e7965af054079242b8d6f7e50ee226730a756 No Types Assigned https://git.kernel.org/stable/c/724e7965af054079242b8d6f7e50ee226730a756 Patch
    Changed Reference Type https://git.kernel.org/stable/c/842afb47d84536fc976fece8fb6c54bea711ad1a No Types Assigned https://git.kernel.org/stable/c/842afb47d84536fc976fece8fb6c54bea711ad1a Patch
    Changed Reference Type https://git.kernel.org/stable/c/9dadab0db7d904413ea1cdaa13f127da05c31e71 No Types Assigned https://git.kernel.org/stable/c/9dadab0db7d904413ea1cdaa13f127da05c31e71 Patch
    Changed Reference Type https://git.kernel.org/stable/c/be4e1304419c99a164b4c0e101c7c2a756b635b9 No Types Assigned https://git.kernel.org/stable/c/be4e1304419c99a164b4c0e101c7c2a756b635b9 Patch
    Changed Reference Type https://git.kernel.org/stable/c/d85ca8179a54ff8cf1e1f8c3c9e3799831319bae No Types Assigned https://git.kernel.org/stable/c/d85ca8179a54ff8cf1e1f8c3c9e3799831319bae Patch
    Added CWE NIST CWE-787
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 4.19.317 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.279 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.221 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.162 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.97 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.37 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.9.8
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 29, 2024

    Action Type Old Value New Value
    Added Description 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.
    Added Reference kernel.org https://git.kernel.org/stable/c/2b085521be5292016097b5e7ca81b26be3f7098d [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/842afb47d84536fc976fece8fb6c54bea711ad1a [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/9dadab0db7d904413ea1cdaa13f127da05c31e71 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/0af718a690acc089aa1bbb95a93df833d864ef53 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/d85ca8179a54ff8cf1e1f8c3c9e3799831319bae [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/724e7965af054079242b8d6f7e50ee226730a756 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/2d090c7f7be3b26fcb80ac04d08a4a8062b1d959 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/be4e1304419c99a164b4c0e101c7c2a756b635b9 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-42094 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-42094 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability