CVE-2024-42230
JSON

4.4medium

powerpc/pseries: Fix scv instruction crash with kexec

Severity
4.4medium CVSS:3.1 by NVD
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 7fa95f9adaee7e5cbb195d3359741120829e488b before c550679d604798d9fed8a5b2bb5693448a25407c, from 7fa95f9adaee7e5cbb195d3359741120829e488b before d10e3c39001e9194b9a1bfd6979bd3fa19dccdc5, from 7fa95f9adaee7e5cbb195d3359741120829e488b before 8c6506616386ce37e59b2745fc481c6713fae4f3, from 7fa95f9adaee7e5cbb195d3359741120829e488b before 21a741eb75f80397e5f7d3739e24d7d75e619011, 5.9
Not affected: before 5.9, from 6.1.98 up to 6.1.*, from 6.6.39 up to 6.6.*, from 6.9.9 up to 6.9.*, from 6.10 up to *
CVE List
linux linux_kernelfrom 5.9 before 6.1.98, from 6.2 up to 6.6.39, from 6.7 before 6.9.9, 6.10NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: powerpc/pseries: corrige el fallo de la instrucción scv con kexec kexec en pseries desactiva AIL (reloc_on_exc), necesario para el soporte de instrucciones scv, antes de que se apaguen otras CPU. Esto significa que pueden ejecutar instrucciones scv después de que AIL esté desactivado, lo que provoca una interrupción en una ubicación de entrada inesperada que bloquea el kernel. Cambie la secuencia kexec para deshabilitar AIL después de que se hayan desactivado otras CPU. Como repaso, el vector de interrupción scv en modo real es 0x17000, y el código principal de ubicación fija probablemente no podría manejar fácilmente la implementación de direcciones tan altas, por lo que simplemente se decidió no admitir esa interrupción en absoluto.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-42230 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-42230 changed 2026-06-17Public domain