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.

Severity (CVSS)

Base score7.4
SeverityHigh
VersionCVSS 3.1
VectorCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Provided byCNA

Affected products

VendorProductVersions
LinuxLinux243e25112d06b348f087a6f7aba4bbc288285bdd to <c554a8d376d5aea1b237ed6bef6f9fbfc550e67f; 243e25112d06b348f087a6f7aba4bbc288285bdd to <411a3c016e7a95f5fa105a0587e07d0647a77727
LinuxLinux4.12; 0 to <4.12; 7.2.6 to <=7.2.*; 7.3-rc1 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 25 Sep 2026 07:05 UTC.