PCI: altera: Fix resource leaks on probe failure (Linux Linux)

CVE-2026-64462
Not available

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: PCI: altera: Fix resource leaks on probe failure The chained IRQ handler is set during probe, but is only removed during the driver remove(). If pci_host_probe() fails, the handler and INTx IRQ domain remain set even though the devm-managed host bridge storage containing struct altera_pcie will be released, leaving the handler with a stale data pointer. Interrupts are also enabled before pci_host_probe() is called. If probe fails after that point, the controller interrupt source should be disabled before the chained handler and INTx domain are removed. So set the chained handler only after the INTx domain has been created. Disable controller interrupts during IRQ teardown, and tear the IRQ setup down if pci_host_probe() fails. [mani: commit log]

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected c63aed7334c21de8d626ff028ccad98cf5847a0e < af7cf5d56d7d57c4fbfdb7b5b693790f331b07b7 ; affected c63aed7334c21de8d626ff028ccad98cf5847a0e < 9cf0cc481e1645ec65e61486ae41c486c59781cb ; affected c63aed7334c21de8d626ff028ccad98cf5847a0e < 99fc088d6cc6890ae35fa2f29c50ebe027844c20 ; affected c63aed7334c21de8d626ff028ccad98cf5847a0e < a25bfa2a6665a1d77324d4a609e7513b87680227 ; affected c63aed7334c21de8d626ff028ccad98cf5847a0e < 0db9aa9ec51be0a0ffdcdfd9af2b7bf3aeb7911a ; affected c63aed7334c21de8d626ff028ccad98cf5847a0e < 09c43b7b7d29c6fadb27f32cdf7f3bb6598befa9
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.*

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