What’s Vulnerable › Vulnerabilities
CVE-2024-40944: x86/kexec: Fix bug with call depth tracking
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-12 · updated 2026-06-17
Description
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 products
- Linux kernel: from 6.2 before 6.6.35; from 6.7 before 6.9.6; 6.10-rc1, 6.10-rc2 — fixed in 6.6.35, 6.9.6
How to fix
Upgrade to a fixed version: Linux kernel 6.6.35, 6.9.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2cfb464669b645a9b98478b74f2bcea9860dcff1
- https://git.kernel.org/stable/c/93c1800b3799f17375989b0daf76497dd3e80922
- https://git.kernel.org/stable/c/d91ddd05082691e69b30744825d18ae799293258
- https://git.kernel.org/stable/c/2cfb464669b645a9b98478b74f2bcea9860dcff1
- https://git.kernel.org/stable/c/93c1800b3799f17375989b0daf76497dd3e80922
- https://git.kernel.org/stable/c/d91ddd05082691e69b30744825d18ae799293258
Get alerted when CVE-2024-40944 or the next vulnerability affects your stack