powerpc/pseries: Fix scv instruction crash with kexec (Linux Linux)

CVE-2024-42230
MEDIUM 4.4

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 7fa95f9adaee7e5cbb195d3359741120829e488b < c550679d604798d9fed8a5b2bb5693448a25407c ; affected 7fa95f9adaee7e5cbb195d3359741120829e488b < d10e3c39001e9194b9a1bfd6979bd3fa19dccdc5 ; affected 7fa95f9adaee7e5cbb195d3359741120829e488b < 8c6506616386ce37e59b2745fc481c6713fae4f3 ; affected 7fa95f9adaee7e5cbb195d3359741120829e488b < 21a741eb75f80397e5f7d3739e24d7d75e619011
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 6.1.98 ≤ 6.1.* ; unaffected 6.6.39 ≤ 6.6.* ; unaffected 6.9.9 ≤ 6.9.* ; unaffected 6.10 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD