{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-93260",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-93260"
  ],
  "published": "2026-09-24T15:54:02Z",
  "summary": "powerpc/xive: propagate IPI init errors to prevent use-after-free",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/xive: propagate IPI init errors to prevent use-after-free\n\nWhen xive_init_ipis() fails (e.g. irq_domain_alloc_irqs() fails),\nthe error path frees the global xive_ipis array.  However,\nxive_smp_probe() previously ignored this failure and proceeded to\ncall xive_setup_cpu_ipi(), which dereferences the already-freed\nxive_ipis pointer -- a use-after-free.\n\nNow that xive_smp_probe() returns int (previous patch), propagate\nthe error from xive_init_ipis() and xive_setup_cpu_ipi() through\nxive_smp_probe().  Check the return value in both pnv_smp_probe()\nand pSeries_smp_probe() so that IPI setup is aborted cleanly on\nfailure, avoiding the use-after-free.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": null,
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-93260"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c554a8d376d5aea1b237ed6bef6f9fbfc550e67f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/411a3c016e7a95f5fa105a0587e07d0647a77727"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-25T05:22:58Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.4,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - The UAF is in xive_setup_cpu_ipi() after xive_init_ipis() kfree's xive_ipis, reached only from kernel_init_freeable()->smp_prepare_cpus()->pnv_smp_probe()/pSeries_smp_probe()->xive_smp_probe(); no protocol message or received packet supplies the trigger.\nAC:H - The free-then-use fires only when irq_domain_alloc_irqs() fails in xive_init_ipis()'s for_each_node loop (irq_desc ENOMEM/ENOSPC), after which kfree(xive_ipis) runs; that allocator failure during early SMP probe cannot be induced on demand.\nPR:N - xive_smp_probe() runs as swapper/0 from smp_prepare_cpus() in kernel_init_freeable() before userspace, with no capable() or credential check on pnv_smp_probe() or pSeries_smp_probe().\nUI:N - SMP IPI probe is invoked unconditionally by smp_prepare_cpus() during ordinary boot once xive_core_init() has set __xive_enabled; no victim mount, file open, or other interactive step is required.\nS:U - The dangling xive_ipis dereference corrupts heap in the same Linux instance that runs XIVE (PowerNV host or pSeries guest); it is not a KVM/Xen guest-to-host escape or an IOMMU/DMA boundary bypass.\nC:H - After kfree(xive_ipis) without NULLing, xive_ipi_cpu_to_irq() and xive_request_ipi() read xid->irq and xid->name from the freed xive_ipi_desc array; that heap use-after-free can disclose whatever reclaimed the slab.\nI:H - xive_request_ipi() then atomic_inc_return(&xid->started) on the freed descriptor and request_irq(xid->irq, xive_muxed_ipi_action) using the UAF-read virq, a write-after-free of the xive_ipi_desc slab that can corrupt a reused object and install a handler on the wrong irq.\nA:H - Dereferencing the kfree'd xive_ipis pointer in xive_setup_cpu_ipi() during xive_smp_probe() oopses or panics the kernel while bringing up SMP, so the machine fails to boot."
    }
  }
}
