x86/kexec: Fix bug with call depth tracking
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.356.9.66.10In 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. ]
From the CVE record · Linux
In the Linux kernel's x86 kexec code, a call to cc_platform_has() can fault and crash the system if call depth tracking is active after the GS segment has been reset. The input does not describe an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with x86 kexec and call depth tracking should check their versions; affected versions are not specified.