CVE-2024-42094

net/iucv: Avoid explicit cpumask var allocation on stack

HIGH
7.1
CVSS Score
Published: July 29, 2024 at 05:39 PM UTC
Updated: October 15, 2026 at 01:18 AM UTC
7 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFPRUGGEDCOM RST2428P Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.19.3174.20 ≤ v < 5.4.2795.11 ≤ v < 5.15.1625.16 ≤ v < 6.1.975.5 ≤ v < 5.10.2216.2 ≤ v < 6.6.376.7 ≤ v < 6.9.82.6.212356f4cb191100a5e92d537f13e5efdbc697e9cb
Vendor states this is fixed in 0af718a690acc089aa1bbb95a93df833d864ef53 (fixed)
Vendor states this is fixed in 2b085521be5292016097b5e7ca81b26be3f7098d (fixed)
Vendor states this is fixed in 2d090c7f7be3b26fcb80ac04d08a4a8062b1d959 (fixed)
Vendor states this is fixed in 724e7965af054079242b8d6f7e50ee226730a756 (fixed)
Vendor states this is fixed in 842afb47d84536fc976fece8fb6c54bea711ad1a (fixed)
Vendor states this is fixed in 9dadab0db7d904413ea1cdaa13f127da05c31e71 (fixed)
Vendor states this is fixed in be4e1304419c99a164b4c0e101c7c2a756b635b9 (fixed)
Vendor states this is fixed in d85ca8179a54ff8cf1e1f8c3c9e3799831319bae (fixed)
Vendor states this is fixed in 2.6.21 (unaffected)
Vendor states this is fixed in 4.19.317 (unaffected)
Vendor states this is fixed in 5.10.221 (unaffected)
Vendor states this is fixed in 5.15.162 (unaffected)
Vendor states this is fixed in 5.4.279 (unaffected)
Vendor states this is fixed in 6.1.97 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.37 (unaffected)
Vendor states this is fixed in 6.9.8 (unaffected)
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement

References (12)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0af718a690acc089aa1bbb95a93df833d864ef53
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2b085521be5292016097b5e7ca81b26be3f7098d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2d090c7f7be3b26fcb80ac04d08a4a8062b1d959
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/724e7965af054079242b8d6f7e50ee226730a756
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/842afb47d84536fc976fece8fb6c54bea711ad1a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9dadab0db7d904413ea1cdaa13f127da05c31e71
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/be4e1304419c99a164b4c0e101c7c2a756b635b9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d85ca8179a54ff8cf1e1f8c3c9e3799831319bae

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card