CVE-2024-40944

published 12 Jul 2024 · updated 11 May 2026

x86/kexec: Fix bug with call depth tracking

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2cfb464669b645a9b98478b74f2bcea9860dcff1, Kernel 93c1800b3799f17375989b0daf76497dd3e80922 and Kernel d91ddd05082691e69b30744825d18ae799293258.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.2, >=5d8213864ade86b48fc492584ea86d65a62f892e <2cfb464669b645a9b98478b74f2bcea9860dcff1, >=5d8213864ade86b48fc492584ea86d65a62f892e <93c1800b3799f17375989b0daf76497dd3e80922, >=5d8213864ade86b48fc492584ea86d65a62f892e <d91ddd05082691e69b30744825d18ae7992932582cfb464669b645a9b98478b74f2bcea9860dcff1, 93c1800b3799f17375989b0daf76497dd3e80922, d91ddd05082691e69b30744825d18ae799293258

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-40944 severity on Zeptric[![CVE-2024-40944](https://zeptric.io/badge/cve/CVE-2024-40944.svg)](https://zeptric.io/cve/CVE-2024-40944)