powerpc/xive: propagate IPI init errors to prevent use-after-free (Linux Linux)

CVE-2026-93260
HIGH 7.4

At a glance

Source
NVD
EPSS
EPSS 0.15 % · percentile 4 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: powerpc/xive: propagate IPI init errors to prevent use-after-free When xive_init_ipis() fails (e.g. irq_domain_alloc_irqs() fails), the error path frees the global xive_ipis array. However, xive_smp_probe() previously ignored this failure and proceeded to call xive_setup_cpu_ipi(), which dereferences the already-freed xive_ipis pointer -- a use-after-free. Now that xive_smp_probe() returns int (previous patch), propagate the error from xive_init_ipis() and xive_setup_cpu_ipi() through xive_smp_probe(). Check the return value in both pnv_smp_probe() and pSeries_smp_probe() so that IPI setup is aborted cleanly on failure, avoiding the use-after-free.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.4CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.4CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 243e25112d06b348f087a6f7aba4bbc288285bdd < 89e1caa5b0aafe23e9938d9a311e9d41baee583e
affected : ≥ 243e25112d06b348f087a6f7aba4bbc288285bdd < e36b1c2eafcaaddefa70d55e6fda74cf6cda38af
affected : ≥ 243e25112d06b348f087a6f7aba4bbc288285bdd < 2ea6238343691309e68308131c7e80c3ae05afea
affected : ≥ 243e25112d06b348f087a6f7aba4bbc288285bdd < 5c9ab0c9cede9f149733d330e2d7d45341b71359
affected : ≥ 243e25112d06b348f087a6f7aba4bbc288285bdd < c554a8d376d5aea1b237ed6bef6f9fbfc550e67f
affected : ≥ 243e25112d06b348f087a6f7aba4bbc288285bdd < 411a3c016e7a95f5fa105a0587e07d0647a77727
Other versions : unaffected
Linux · Linux
affected : 4.12
unaffected : ≥ 0 < 4.12
unaffected : ≥ 6.1.191 ≤ 6.1.*
unaffected : ≥ 6.6.160 ≤ 6.6.*
unaffected : ≥ 6.12.114 ≤ 6.12.*
unaffected : ≥ 6.18.57 ≤ 6.18.*
unaffected : ≥ 7.2.6 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

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