Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2024-35996
HistoryMay 20, 2024 - 10:15 a.m.

CVE-2024-35996

2024-05-2010:15:13
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
27
linux kernel
vulnerability
cpu mitigations
architecture
x86
code
generic
speculative execution
kconfig
nvd

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.3%

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 configurations

Vulners
Node
linuxlinux_kernelRange5.15.1565.15.158
OR
linuxlinux_kernelRange6.1.876.1.90
OR
linuxlinux_kernelRange6.6.286.6.30
OR
linuxlinux_kernelRange6.8.76.8.9

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/Kconfig",
      "arch/x86/Kconfig",
      "kernel/cpu.c"
    ],
    "versions": [
      {
        "version": "30da4180fd76",
        "lessThan": "af6d6a923b40",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "70688450ddda",
        "lessThan": "36b32816fbab",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9c09773917fb",
        "lessThan": "38f17d1fbb5b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2978ee7c973c",
        "lessThan": "8292f4f8dd1b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c4a9babdd5d5",
        "lessThan": "fd8547ebc187",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f337a6a21e2f",
        "lessThan": "fe42754b94a4",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/Kconfig",
      "arch/x86/Kconfig",
      "kernel/cpu.c"
    ],
    "versions": [
      {
        "version": "5.15.156",
        "lessThan": "5.15.158",
        "status": "affected",
        "versionType": "custom"
      },
      {
        "version": "6.1.87",
        "lessThan": "6.1.90",
        "status": "affected",
        "versionType": "custom"
      },
      {
        "version": "6.6.28",
        "lessThan": "6.6.30",
        "status": "affected",
        "versionType": "custom"
      },
      {
        "version": "6.8.7",
        "lessThan": "6.8.9",
        "status": "affected",
        "versionType": "custom"
      }
    ]
  }
]

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.3%