{"id":"CVE-2024-40944","aliases":["CVE-2024-40944"],"related":[],"kind":"vulnerability","state":"published","title":"x86/kexec: Fix bug with call depth tracking","summary":"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. ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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. ]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: x86/kexec: Corrección de error con el seguimiento de profundidad de llamadas. La llamada a cc_platform_has() desencadena una falla y un bloqueo del sistema si el seguimiento de profundidad de llamadas está activo porque el segmento GS ha sido restablecido por load_segments( ) y GS_BASE ahora es 0, pero el seguimiento de profundidad de llamadas utiliza variables por CPU para funcionar. Llame a cc_platform_has() anteriormente en la función cuando GS aún sea válido. [pb: Masaje. ]","source":"nvd"}],"published":"2024-07-12T12:25:18.490Z","modified":"2026-06-17T07:46:55.537Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5d8213864ade86b48fc492584ea86d65a62f892e","fixed":"d91ddd05082691e69b30744825d18ae799293258","status":"affected"},{"type":"git","introduced":"5d8213864ade86b48fc492584ea86d65a62f892e","fixed":"2cfb464669b645a9b98478b74f2bcea9860dcff1","status":"affected"},{"type":"git","introduced":"5d8213864ade86b48fc492584ea86d65a62f892e","fixed":"93c1800b3799f17375989b0daf76497dd3e80922","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.2","status":"unaffected"},{"type":"semver","introduced":"6.6.35","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.6","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.2","fixed":"6.6.35"},{"status":"affected","introduced":"6.7","fixed":"6.9.6"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d91ddd05082691e69b30744825d18ae799293258","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2cfb464669b645a9b98478b74f2bcea9860dcff1","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/93c1800b3799f17375989b0daf76497dd3e80922","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:04:17.603Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-40944","url":"https://www.cve.org/CVERecord?id=CVE-2024-40944","licence":"CVE Terms of Use","modified":"2026-05-11T20:22:51.786Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-40944","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40944","licence":"Public domain","modified":"2026-06-17T07:46:55.537Z"}],"updatedAt":"2026-11-25T22:58:42.851Z","epss":{"score":0.00239,"percentile":0.16026,"date":"2026-12-01T12:00:22.000Z"}}