---
id: CVE-2024-42094
title: |-
  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 sinc…
summary: |-
  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 sinc…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'
cwe:
  - CWE-787
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 4.19.317
  - 'linux_kernel >= 4.20, < 5.4.279'
  - 'linux_kernel >= 5.5, < 5.10.221'
  - 'linux_kernel >= 5.11, < 5.15.162'
  - 'linux_kernel >= 5.16, < 6.1.97'
  - 'linux_kernel >= 6.2, < 6.6.37'
  - 'linux_kernel >= 6.7, < 6.9.8'
patched:
  - linux_kernel 6.9.8
published: '2024-07-29'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:18:43.127'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-42094'
references:
  - url: 'https://git.kernel.org/stable/c/0af718a690acc089aa1bbb95a93df833d864ef53'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2b085521be5292016097b5e7ca81b26be3f7098d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2d090c7f7be3b26fcb80ac04d08a4a8062b1d959'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/724e7965af054079242b8d6f7e50ee226730a756'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/842afb47d84536fc976fece8fb6c54bea711ad1a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9dadab0db7d904413ea1cdaa13f127da05c31e71'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/be4e1304419c99a164b4c0e101c7c2a756b635b9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d85ca8179a54ff8cf1e1f8c3c9e3799831319bae'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/0af718a690acc089aa1bbb95a93df833d864ef53'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/2b085521be5292016097b5e7ca81b26be3f7098d'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/2d090c7f7be3b26fcb80ac04d08a4a8062b1d959'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/724e7965af054079242b8d6f7e50ee226730a756'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/842afb47d84536fc976fece8fb6c54bea711ad1a'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/9dadab0db7d904413ea1cdaa13f127da05c31e71'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/be4e1304419c99a164b4c0e101c7c2a756b635b9'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/d85ca8179a54ff8cf1e1f8c3c9e3799831319bae'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-355557.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-613116.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00235
epssPercentile: 0.14338
ingestedAt: '2026-10-15T03:30:12.728Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-09-10T16:18:27.973708Z'
---

## Overview

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

- `linux_kernel < 4.19.317`
- `linux_kernel >= 4.20, < 5.4.279`
- `linux_kernel >= 5.5, < 5.10.221`
- `linux_kernel >= 5.11, < 5.15.162`
- `linux_kernel >= 5.16, < 6.1.97`
- `linux_kernel >= 6.2, < 6.6.37`
- `linux_kernel >= 6.7, < 6.9.8`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.9.8`
