{"id":"CVE-2024-40944","summary":"x86/kexec: Fix bug with call depth tracking","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/kexec: Fix bug with call depth tracking\n\nThe call to cc_platform_has() triggers a fault and system crash if call depth\ntracking is active because the GS segment has been reset by load_segments() and\nGS_BASE is now 0 but call depth tracking uses per-CPU variables to operate.\n\nCall cc_platform_has() earlier in the function when GS is still valid.\n\n  [ bp: Massage. ]","modified":"2026-03-20T12:37:25.189116Z","published":"2024-07-12T12:25:18.490Z","related":["SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40944.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2cfb464669b645a9b98478b74f2bcea9860dcff1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/93c1800b3799f17375989b0daf76497dd3e80922"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d91ddd05082691e69b30744825d18ae799293258"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40944.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40944"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5d8213864ade86b48fc492584ea86d65a62f892e"},{"fixed":"d91ddd05082691e69b30744825d18ae799293258"},{"fixed":"2cfb464669b645a9b98478b74f2bcea9860dcff1"},{"fixed":"93c1800b3799f17375989b0daf76497dd3e80922"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40944.json"}}],"schema_version":"1.7.5"}