Lucene search

K
cvelistLinuxCVELIST:CVE-2024-40944
HistoryJul 12, 2024 - 12:25 p.m.

CVE-2024-40944 x86/kexec: Fix bug with call depth tracking

2024-07-1212:25:18
Linux
www.cve.org
8
linux kernel
x86
kexec
call depth tracking
vulnerability fix

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. ]

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"
      }
    ]
  }
]

EPSS

0

Percentile

15.9%