Lucene search

K
cveLinuxCVE-2024-40944
HistoryJul 12, 2024 - 1:15 p.m.

CVE-2024-40944

2024-07-1213:15:16
Linux
web.nvd.nist.gov
43
linux kernel
vulnerability
fix
x86/kexec
call depth tracking

AI Score

6.5

Confidence

High

EPSS

0

Percentile

15.9%

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

x86/kexec: Fix bug with call depth tracking

The call to cc_platform_has() triggers a fault and system crash if call depth
tracking is active because the GS segment has been reset by load_segments() and
GS_BASE is now 0 but call depth tracking uses per-CPU variables to operate.

Call cc_platform_has() earlier in the function when GS is still valid.

[ bp: Massage. ]

Affected configurations

Vulners
Node
linuxlinux_kernelRange6.26.6.35
OR
linuxlinux_kernelRange6.7.06.9.6
OR
linuxlinux_kernelRange6.10.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/x86/kernel/machine_kexec_64.c"
    ],
    "versions": [
      {
        "version": "5d8213864ade",
        "lessThan": "d91ddd050826",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "5d8213864ade",
        "lessThan": "2cfb464669b6",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "5d8213864ade",
        "lessThan": "93c1800b3799",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/x86/kernel/machine_kexec_64.c"
    ],
    "versions": [
      {
        "version": "6.2",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.2",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.35",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.6",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.5

Confidence

High

EPSS

0

Percentile

15.9%