CVE-2024-42230

powerpc/pseries: Fix scv instruction crash with kexec

State
Published
Severity
Not scored
Published
Jul 30, 2024
Updated
May 11, 2026
Reserved
Jul 30, 2024

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7fa95f9adaee7e5cbb195d3359741120829e488b to before c550679d604798d9fed8a5b2bb5693448a25407cAffected
  • 7fa95f9adaee7e5cbb195d3359741120829e488b to before d10e3c39001e9194b9a1bfd6979bd3fa19dccdc5Affected
  • 7fa95f9adaee7e5cbb195d3359741120829e488b to before 8c6506616386ce37e59b2745fc481c6713fae4f3Affected
  • 7fa95f9adaee7e5cbb195d3359741120829e488b to before 21a741eb75f80397e5f7d3739e24d7d75e619011Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 6.1.98 through 6.1.*Not affected
  • 6.6.39 through 6.6.*Not affected
  • 6.9.9 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.