Bug 2297528 (CVE-2024-40944) - CVE-2024-40944 kernel: x86/kexec: Fix bug with call depth tracking
Summary: CVE-2024-40944 kernel: x86/kexec: Fix bug with call depth tracking
Keywords:
Status: NEW
Alias: CVE-2024-40944
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-12 13:37 UTC by OSIDB Bzimport
Modified: 2024-07-29 21:08 UTC (History)
4 users (show)

Fixed In Version: kernel 6.6.35, kernel 6.9.6, kernel 6.10-rc3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-12 13:37:35 UTC
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. ]


Note You need to log in before you can comment on or make changes to this bug.