Bug 2301547 (CVE-2024-42230) - CVE-2024-42230 kernel: powerpc/pseries: Fix scv instruction crash with kexec
Summary: CVE-2024-42230 kernel: powerpc/pseries: Fix scv instruction crash with kexec
Keywords:
Status: NEW
Alias: CVE-2024-42230
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2303715
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-30 09:10 UTC by OSIDB Bzimport
Modified: 2024-08-14 05:37 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-30 09:10:38 UTC
In the Linux kernel, the following vulnerability has been resolved:

powerpc/pseries: Fix scv instruction crash with kexec

kexec on pseries disables AIL (reloc_on_exc), required for scv
instruction support, before other CPUs have been shut down. This means
they can execute scv instructions after AIL is disabled, which causes an
interrupt at an unexpected entry location that crashes the kernel.

Change the kexec sequence to disable AIL after other CPUs have been
brought down.

As a refresher, the real-mode scv interrupt vector is 0x17000, and the
fixed-location head code probably couldn't easily deal with implementing
such high addresses so it was just decided not to support that interrupt
at all.


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