---
id: CVE-2024-35996
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  cpu: Re-enable CPU mitigations by default for !X86 architectures

  Rename x86's to CPU_MITIGATIONS, define it in generic code, and force it
  on for all architectures exce…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  cpu: Re-enable CPU mitigations by default for !X86 architectures

  Rename x86's to CPU_MITIGATIONS, define it in generic code, and force it
  on for all architectures exce…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.15.156, < 5.15.158'
  - 'linux_kernel >= 6.1.87, < 6.1.90'
  - 'linux_kernel >= 6.6.28, < 6.6.30'
  - 'linux_kernel >= 6.8.7, < 6.8.9'
  - linux_kernel = 6.9
  - debian_linux = 10.0
patched:
  - linux_kernel 6.8.9
published: '2024-05-20'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:18:19.117'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-35996'
references:
  - url: 'https://git.kernel.org/stable/c/36b32816fbab267611f073223f1b0b816ec5920f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/38f17d1fbb5bfb56ca1419e2d06376d57a9396f9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8292f4f8dd1b005d0688d726261004f816ef730a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/af6d6a923b40bf6471e44067ac61cc5814b48e7f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/fd8547ebc187037cc69441a15c1441aeaab80f49'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/fe42754b94a42d08cf9501790afc25c4f6a5f631'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/36b32816fbab267611f073223f1b0b816ec5920f'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/38f17d1fbb5bfb56ca1419e2d06376d57a9396f9'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/8292f4f8dd1b005d0688d726261004f816ef730a'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/af6d6a923b40bf6471e44067ac61cc5814b48e7f'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/fd8547ebc187037cc69441a15c1441aeaab80f49'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/fe42754b94a42d08cf9501790afc25c4f6a5f631'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.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-613116.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00244
epssPercentile: 0.15509
ingestedAt: '2026-10-15T03:30:12.696Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-06-17T17:38:11.111508Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

cpu: Re-enable CPU mitigations by default for !X86 architectures

Rename x86's to CPU_MITIGATIONS, define it in generic code, and force it
on for all architectures exception x86.  A recent commit to turn
mitigations off by default if SPECULATION_MITIGATIONS=n kinda sorta
missed that "cpu_mitigations" is completely generic, whereas
SPECULATION_MITIGATIONS is x86-specific.

Rename x86's SPECULATIVE_MITIGATIONS instead of keeping both and have it
select CPU_MITIGATIONS, as having two configs for the same thing is
unnecessary and confusing.  This will also allow x86 to use the knob to
manage mitigations that aren't strictly related to speculative
execution.

Use another Kconfig to communicate to common code that CPU_MITIGATIONS
is already defined instead of having x86's menu depend on the common
CPU_MITIGATIONS.  This allows keeping a single point of contact for all
of x86's mitigations, and it's not clear that other architectures *want*
to allow disabling mitigations at compile-time.

## Affected

- `linux_kernel >= 5.15.156, < 5.15.158`
- `linux_kernel >= 6.1.87, < 6.1.90`
- `linux_kernel >= 6.6.28, < 6.6.30`
- `linux_kernel >= 6.8.7, < 6.8.9`
- `linux_kernel = 6.9`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.8.9`
